JUHE API Marketplace
xiaok avatar
MCP Server

Etherscan MCP

An MCP server that provides access to Etherscan blockchain data APIs, allowing users to query Ethereum blockchain information through natural language.

10
GitHub Stars
8/22/2025
Last Updated
MCP Server Configuration
1{
2 "name": "etherscan_mcp",
3 "command": "npx",
4 "args": [
5 "tsx",
6 "/PATH/TO/YOUR_PROJECT/src/index.ts"
7 ],
8 "env": {
9 "ETHERSCAN_API_KEY": "********"
10 }
11}
JSON11 lines

README Documentation

@xiaok/etherscan-mcp

smithery badge

A dynamic MCP server for interacting with Etherscan's API and services.

Etherscan MCP server

Running Your Server

Test with mcp-cli

The fastest way to test and debug your server is with fastmcp dev:

npx fastmcp dev src/index.ts

This will run your server with mcp-cli for testing and debugging your MCP server in the terminal.

Inspect with MCP Inspector

Another way is to use the official MCP Inspector to inspect your server with a Web UI:

npx npx fastmcp inspect src/index.ts

FAQ

How to use with Claude Desktop?

Follow the guide https://modelcontextprotocol.io/quickstart/user and add the following configuration:

{
  "mcpServers": {
    "etherscan_mcp": {
      "command": "npx",
      "args": ["tsx", "/PATH/TO/YOUR_PROJECT/src/index.ts"],
      "env": {
        "ETHERSCAN_API_KEY": "********"
      }
    }
  }
}

API Doc

https://docs.etherscan.io/etherscan-v2

support chain list: https://docs.etherscan.io/etherscan-v2/getting-started/supported-chains

Please note that not all endpoints are supported by all chains. Please find support list here: https://forms.blockscan.com/public/grid/3E9QiN00NLhCQVibiP3Z-Bpqhmd7zGXsgapEKJupxiI

TODO

  1. support pro api

Quick Install

Quick Actions

Key Features

Model Context Protocol
Secure Communication
Real-time Updates
Open Source