etherscan-mcp
Model Context Protocol (MCP) Server for Etherscan
Documentation
@xiaok/etherscan-mcp
A dynamic MCP server for interacting with Etherscan's API and services.
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.tsThis 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.tsFAQ
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
Frequently asked questions
What is etherscan-mcp?
etherscan-mcp is Model Context Protocol (MCP) Server for Etherscan
How do I install etherscan-mcp?
Open the GitHub repository and follow its README. Most MCP servers are added to your client's MCP config, then called by your agent.
Is etherscan-mcp open source?
Yes — it is hosted on GitHub at https://github.com/xiaok/etherscan-mcp and has 16 stars.
Related MCP tools
🍒 Cherry Studio is a desktop client that supports for multiple LLM providers. Built for the Model Context Protocol to enhance AI capabilities.
Enhanced ChatGPT Clone: Features Agents, MCP, DeepSeek, Anthropic, AWS, OpenAI, Responses API, Azure, Groq, o1, GPT-5, Mistral, OpenRouter, Vertex AI, Gemini...
FastGPT is a knowledge-based platform built on the LLMs, offers a comprehensive suite of out-of-the-box capabilities such as data processing, RAG retrieval, ...
Composio equips your AI agents & LLMs with 100+ high-quality integrations via function calling for the Model Context Protocol. Enhance AI assistants with powerf
📦 Repomix is a powerful tool that packs your entire repository into a single, AI-friendly file. Perfect for when you need to feed your codebase to Large Lan...
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Ag...
Run your own MCP server? See who uses it and what to fix.
Measure it with TrackMCP