A dynamic MCP server for interacting with Etherscan's API and services.
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.
Another way is to use the official MCP Inspector to inspect your server with a Web UI:
npx npx fastmcp inspect src/index.tsFollow 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": "********"
}
}
}
}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
- support pro api