drio
Open app

MCP Etherscan Server

Source

An MCP (Model Context Protocol) server that provides Ethereum blockchain data tools via Etherscan's API. Features include checking ETH balances, viewing transaction history, tracking ERC20 transfers, fetching contract ABIs, monitoring gas prices, and resolving ENS names.

Catalog onlyCatalog onlySTDIO

Overview

MCP Etherscan Server is a Model Context Protocol (MCP) server that provides tools for accessing Ethereum blockchain data via Etherscan's API, enabling users to interact with various blockchain functionalities.

To use the MCP Etherscan Server, clone the repository, install the dependencies, set up your Etherscan API key in a .env file, and start the server. You can then interact with the server using compatible MCP clients like Claude Desktop.

  • Balance Checking: Retrieve ETH balance for any Ethereum address. - Transaction History: Access recent transactions with detailed information. - Token Transfers: Track ERC20 token transfers with relevant details. - Contract ABI: Fetch smart contract ABIs for development purposes. - Gas Prices: Monitor current gas prices (Safe Low, Standard, Fast). - ENS Resolution: Resolve Ethereum addresses to ENS names.
  1. Checking the ETH balance of any Ethereum address.
  2. Viewing transaction history for auditing or tracking purposes.
  3. Monitoring gas prices for transaction optimization.
  4. Fetching contract ABIs for developers working with smart contracts.
  5. Resolving ENS names for user-friendly Ethereum address representation.

Add to your AI client

Use these steps to connect MCP Etherscan Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mcp-etherscan-server-crazyrabbitltc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-etherscan-server-crazyrabbitltc"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mcp-etherscan-server-crazyrabbitltc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-etherscan-server-crazyrabbitltc"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mcp-etherscan-server-crazyrabbitltc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-etherscan-server-crazyrabbitltc"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mcp-etherscan-server-crazyrabbitltc": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-etherscan-server-crazyrabbitltc"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-etherscan-server-crazyrabbitltc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-etherscan-server-crazyrabbitltc"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mcp-etherscan-server-crazyrabbitltc": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mcp-etherscan-server-crazyrabbitltc"
      ]
    }
  }
}

FAQ

Can I use this server without an Etherscan API key?

No, an Etherscan API key is required to access the blockchain data.

Is the MCP Etherscan Server free to use?

Yes, the server is free to use, but you need to comply with Etherscan's API usage policies.

What programming language is used for this server?

The server is built using Node.js.7:["$","div",null,{"className":"container mx-auto flex flex-col gap-4","children":["$L26","$L27",["$","$L28",null,{"currentProject":{"id":901,"uuid":"9b27f4a0-47e1-477f-a754-c9b5aa290733","name":"mcp-etherscan-server","title":"MCP Etherscan Server","description":"An MCP (Model Context Protocol) server that provides Ethereum blockchain data tools via Etherscan's API. Features include checking ETH balances, viewing transaction history, tracking ERC20 transfers, fetching contract ABIs, monitoring gas prices, and resolving ENS names.","avatar_url":"https://avatars.githubusercontent.com/u/1938013?v=4","created_at":"2025-01-28T02:17:28.678Z","updated_at":"2025-02-23T07:20:30.788Z","status":"created","author_name":"crazyrabbitLTC","author_avatar_url":"https://avatars.githubusercontent.com/u/1938013?v=4","tags":"mcp-etherscan,ethereum,blockchain-tools","category":"research-and-data","is_featured":false,"sort":1,"url":"https://github.com/crazyrabbitLTC/mcp-etherscan-server","target":"_self","content":"$29","summary":"$2a","img_url":null,"type":null,"metadata":null,"user_uuid":null,"tools":null,"sse_url":null,"sse_provider":null,"sse_params":null,"is_official":false,"server_command":null,"server_params":null,"server_config":null,"allow_call":false,"is_innovation":false,"is_dxt":false,"dxt_manifest":null,"dxt_file_url":null,"is_audit":false},"randomProjects":[],"currentServerKey":"$undefined"}]]}]