MCP server for Etherscan โ Ethereum blockchain explorer API for AI assistants
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent โ or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag โ we're steadily working through the catalog.
๐ก Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
An MCP server for Etherscan โ connect any MCP-compatible client to the Ethereum blockchain explorer.
An MCP (Model Context Protocol) server that gives AI assistants and agents access to Etherscan's Ethereum blockchain explorer API โ ETH balances, ERC-20 token balances, transaction history, contract ABIs, and gas prices โ through natural language.
Use it with Claude Desktop, Cursor, Windsurf, Cline, Continue, or any MCP-compatible client to inspect wallets, audit contracts, and analyze on-chain activity.
ETHERSCAN_API_KEY for 5 calls/sec and full results| Tool | Description |
|---|---|
get_eth_balance | Get native ETH balance for an address |
get_token_balances | Get all ERC-20 token balances for an address |
get_transaction | Get full details for a transaction by hash |
get_transactions_by_address | Get normal (external) transactions for an address |
get_erc20_transfers | Get ERC-20 token transfer events for an address |
get_internal_transactions | Get internal (contract-called) transactions for an address |
get_contract_abi | Get the ABI for a verified smart contract |
get_gas_price | Get current gas price oracle (slow/standard/fast in Gwei) |
Add this to your MCP client config (e.g. claude_desktop_config.json):
That's it. npx downloads and runs it automatically. For higher rate limits, get a free API key at etherscan.io/apis and add it:
Ask your AI assistant things like:
0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045?"0x..."0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48"get_eth_balanceget_gas_priceget_transactions_by_addressget_contract_abi"Check the ETH and token balances of this address" โ get a snapshot of any wallet's holdings in seconds. Works with any Ethereum address, including smart contract wallets and multisigs.
"Show me the last 20 transactions for this address" โ trace on-chain activity, identify counterparties, and understand fund flows. Use get_internal_transactions for contract calls and get_erc20_transfers for token movements.
"Get the ABI for the Uniswap Router contract" โ fetch verified contract ABIs to understand what functions are available. Essential for debugging failed transactions or understanding how a protocol works.
"What are current gas prices?" โ get slow/standard/fast gas estimates with projected transaction costs. Time your transactions to save on fees.
"Show me all token balances for my wallet" โ aggregate holdings across ERC-20 tokens. Combine with get_prices from the CoinGecko MCP server for full portfolio valuation.
"List all internal transactions for this contract" โ trace internal calls to understand contract behavior. Useful for identifying unusual patterns or verifying that a contract does what it claims.
Without an API key, Etherscan limits you to 1 call per 5 seconds. Get a free key at etherscan.io/apis and set the ETHERSCAN_API_KEY environment variable for 5 calls/sec.
The server auto-retries on 429, but rapid queries can still hit limits. With a free API key, you get 5 calls/sec. Space requests ~200ms apart for best results.
Only verified contracts have ABIs on Etherscan. If a contract isn't verified, the API returns an error. Check the contract's verification status on etherscan.io first.
Make sure Node.js 18+ is installed: node --version. If using npx, ensure npm is up to date: npm install -g npm@latest.
Verify the config path is correct. Claude Desktop uses ~/Library/Application Support/Claude/claude_desktop_config.json on macOS and %APPDATA%\Claude\claude_desktop_config.json on Windows. Restart the client after config changes.
Etherscan expects checksummed addresses (mixed case). The server handles this automatically, but if you see errors, try the checksummed version from etherscan.io.
The server automatically rate-limits requests to ~4 calls/second to stay within Etherscan's free tier (5 calls/sec). Without an API key, Etherscan limits you to 1 call/5 seconds.
To use a higher limit, sign up for a free Etherscan API key and set the ETHERSCAN_API_KEY environment variable:
MIT
No reviews yet โ be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/etherscan-mcp-server)<a href="https://allmcps.com/mcp/etherscan-mcp-server"><img src="https://allmcps.com/api/badge/etherscan-mcp-server?style=directory" alt="Etherscan MCP Server on AllMCPs" /></a>