
Etherscan MCP Server
by huahuayu
Access blockchain data across 50+ chains via Etherscan V2 API with built-in RPC fallback.
What it does
This server connects LLMs to the Etherscan V2 API, allowing them to retrieve real-time blockchain data including account balances, contract source code, transaction details, and gas prices. It features a unique RPC fallback mechanism for chains like BSC and Base, ensuring basic functionality even on free API plans.
Tools
getAccountBalance: Retrieve ETH or token balances for any address.getContractSourceCode: Fetch verified contract source code.getGasOracle: Get current network gas prices.getTransactionByHash: Retrieve detailed transaction data.executeContractMethod: Perform read-only calls to smart contracts.getLatestBlockNumber: Get the most recent block height.
Installation
Add the following to your claude_desktop_config.json:
{
"mcpServers": {
"etherscan-mcp-server": {
"command": "etherscan-mcp-server",
"env": {
"ETHERSCAN_API_KEY": "your_api_key_here"
}
}
}
}
Supported hosts
- claude
- cursor
Quick install
make build && make installInformation
- Pricing
- free
- Published
- 4/23/2026
- stars






