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
Paytm MCP Server
A server for managing Paytm payment links and transactions.
MCP Google Map Server
Integrates Google Maps API for location-based queries and data processing.
Garmin MCP Server
Connects to Garmin Connect to expose your fitness and health data to MCP-compatible clients.
Vulnebify
Vulnebify is a cyber defense software that monitors and notifies on vulnerabilities in real time, protecting companies and countries from emerging threats.
Spotify
Control Spotify playback using natural language commands.
PayPal MCP Server
Integrate with PayPal's APIs for payment processing, subscription management, and business operations.
CloudWatch Logs
Access AWS CloudWatch logs to list log groups and read log entries.
SiteBay
Manage your SiteBay WordPress hosting platform. Handle sites, execute server commands, and manage staging environments via natural language.
Railway MCP Server
Manage Railway infrastructure through natural language using the Railway API.
MCP Deployment AWS
A guide and example code for deploying MCP servers cost-effectively on AWS and integrating them with AI agent frameworks.