chainsdata-mcp

xeyax/chainsdata-mcp

3.2

If you are the rightful owner of chainsdata-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to dayong@mcphub.com.

ChainsData MCP Server is a Model Context Protocol server that provides token data from locally stored token lists for decentralized application development with Claude Code.

Tools
1
Resources
0
Prompts
0

ChainsData MCP Server

A Model Context Protocol (MCP) server that provides token data from locally stored token lists for dapp development with Claude Code.

Features

  • Token Lookup: Find token information by symbol across different chains
  • Multiple Chains: Support for Ethereum (chainId: 1) and Arbitrum (chainId: 42161)
  • Flexible Transport: Supports both stdio and HTTP transport modes
  • Case-Insensitive: Token symbol matching is case-insensitive
Install in Cursor

Go to: Settings -> Cursor Settings -> MCP -> Add new global MCP server

Pasting the following configuration into your Cursor ~/.cursor/mcp.json file is the recommended approach. You may also install in a specific project by creating .cursor/mcp.json in your project folder. See Cursor MCP docs for more info.

Since Cursor 1.0, you can click the install button below for instant one-click installation.

Cursor Remote Server Connection

Install MCP Server

{
  "mcpServers": {
    "chainsdata-mcp": {
      "url": "https://chainsdata-mcp.vercel.app/mcp"
    }
  }
}
Install in Claude Code

Run this command. See Claude Code MCP docs for more info.

Claude Code Remote Server Connection
claude mcp add --transport http chainsdata-mcp https://chainsdata-mcp.vercel.app/mcp

Installation

npm install
npm run build

Usage

Stdio Mode (Default)

npm start

HTTP Mode

npm start -- --http

Server will run on port 3000 (or the PORT environment variable).

Development

npm run dev

Adding to Claude Code

To use this MCP server with Claude Code, add it to your MCP configuration:

  1. Open Claude Code settings
  2. Navigate to MCP Servers
  3. Add a new server with the following configuration:
{
  "chainsdata": {
    "command": "node",
    "args": ["/path/to/your/chainsdata-mcp/dist/index.js"],
    "cwd": "/path/to/your/chainsdata-mcp"
  }
}

Replace /path/to/your/chainsdata-mcp with the actual path to this project directory.

Alternatively, you can add it directly to your claude_code_mcp_config.json file:

{
  "mcpServers": {
    "chainsdata": {
      "command": "node",
      "args": ["/path/to/your/chainsdata-mcp/dist/index.js"],
      "cwd": "/path/to/your/chainsdata-mcp"
    }
  }
}

After configuration, restart Claude Code to load the MCP server.

MCP Tool: getTokensBySymbols

Get token information by providing an array of token symbols.

Parameters:

  • symbols (required): Array of token symbols to search for
  • chain (optional): Chain name - "Ethereum" or "Arbitrum" (default: "Ethereum")
  • list (optional): Token list name (default: "Coingecko")

Example:

{
  "symbols": ["USDC", "USDT", "DAI"],
  "chain": "Ethereum",
  "list": "Coingecko"
}

Response:

{
  "tokens": [
    {
      "chainId": 1,
      "address": "0xa0b86a33e6417c5334a8b4cf0bc0fa5ea4deb866",
      "name": "USD Coin",
      "symbol": "USDC",
      "decimals": 6,
      "logoURI": "https://..."
    }
  ],
  "notFound": "DAI"
}

Token Lists

Token data is stored in the token-lists/ directory:

  • Coingecko.1.json - Ethereum tokens
  • Coingecko.42161.json - Arbitrum tokens

Project Structure

chainsdata-mcp/
├── token-lists/
│   ├── Coingecko.1.json
│   └── Coingecko.42161.json
├── src/
│   └── index.ts
├── dist/
├── package.json
├── tsconfig.json
└── README.md

License

ISC