Etherscan
Interact with the Etherscan API to explore blockchain data and services.
@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.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
- support pro api
Related Servers
Autumn MCP Server
An unofficial MCP server for the Autumn pricing API to manage customers, entitlements, invoices, and billing portal links.
Shiprocket
Manage Shiprocket logistics, including checking rates, creating and tracking orders, and managing shipments.
Dokku
An MCP server for managing applications on Dokku, the open-source PaaS.
Remote MCP Server on Cloudflare
A remote MCP server deployable on Cloudflare Workers with OAuth login support, using Cloudflare KV for data storage.
Elastic Email MCP
The Elastic Email MCP Server enables AI agents like GitHub Copilot, ChatGPT, Claude, and other compatible assistants to seamlessly integrate with your Elastic Email account.
Datadog MCP Server
Provides comprehensive Datadog monitoring capabilities through any MCP client.
Transistor
Manage podcasts, episodes, and view analytics on Transistor.fm.
MCP Replicate FLUX
Generates images using Replicate's FLUX model and stores them in Cloudflare R2.
Render
Manage your Render.com services, deployments, and infrastructure.
MCP Deployment AWS
A guide and example code for deploying MCP servers cost-effectively on AWS and integrating them with AI agent frameworks.