@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 server.js
npx fastmcp dev server.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 fastmcp inspect server.ts
FAQ
How to use with Claude Desktop?
Follow the guide https://modelcontextprotocol.io/quickstart/user and add the following configuration:
{
"mcpServers": {
"my-mcp-server": {
"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
- fully test
Etherscan API Integration Server
Project Details
- xiaok/etherscan-mcp
- etherscan-mcp
- MIT License
- Last Updated: 5/1/2025
Recomended MCP Servers
MCP (Model Context Protocol) Server for the PI API
Raindrop MCP Server
An MCP server for Azure DevOps
MCP Server for my ledger
An MCP server for Hydrolix
A Model Context Protocol (MCP) server that provides secure, read-only access to Snowflake databases. Allows LLMs to safely...
This is a personal project to see if Claude 3.5 Sonnet can write a moderately complex MCP Server...
21 Lessons, Get Started Building with Generative AI 🔗 https://microsoft.github.io/generative-ai-for-beginners/
A MCP server for Amazon VPC Lattice