Etherscan: Build with AI for the onchain API
One key, chainid per chain. MCP for live data. Docs MCP needs no key. CLI: brew install etherscan/etherscan-cli/etherscan.
devrels.xyz/a/282Etherscan is the block explorer. The Etherscan API is the same data behind etherscan.io, on 60-plus EVM chains, under one key. Build with AI is the agent layer on that API: MCP, a CLI, and installable skills. Docs: docs.etherscan.io/build-with-ai/introduction. Index: /llms.txt. Full dump: /llms-full.txt. Append .md to any page URL for raw Markdown.
Create a key at etherscan.io/myapikey. Free plan: 3 calls per second, 100,000 per day, most chains. Chain availability and PRO endpoints follow the API plan. GitHub org etherscan.
Two MCPs
The live-data server is https://mcp.etherscan.io/mcp. Streamable HTTP. Send the API key as Authorization: Bearer. Pass chainid for the chain (Ethereum is 1, Arbitrum is 42161). Docs say this is the only official Etherscan MCP. Marketplace clones are unaffiliated. Do not paste a key into those.
Docs MCP is https://docs.etherscan.io/mcp. No key. It searches the documentation so an agent can find the right module and action before it guesses. Pair them: docs MCP to pick the endpoint, live MCP to call it.
| Piece | Job |
|---|---|
| Etherscan MCP | Live onchain data for agents |
| Docs MCP | Search the API docs, no key |
| CLI | etherscan in terminal, scripts, CI |
| Orchestrator skill | Routes a task to site, API, CLI, or MCP |
| Flow / review / debugger | Installable skills for money flow, contracts, txs |
CLI
Install from the etherscan-cli repo. Homebrew tap etherscan/etherscan-cli/etherscan, or go install github.com/etherscan/etherscan-cli/cmd/etherscan@latest. Then etherscan login and etherscan whoami. JSON is the default output.
brew install etherscan/etherscan-cli/etherscan
etherscan login
etherscan account balance 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
etherscan --chain arbitrum account balance 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045
etherscan tuiREST still exists
Agents sit on v2. Same key, switch chainid. First-call example from the docs:
curl --request GET \
--url 'https://api.etherscan.io/v2/api?chainid=1&module=account&action=balance&address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&tag=latest&apikey=YOUR_KEY'Skills install from github.com/etherscan/skills. Orchestrator: npx skills add https://github.com/etherscan/skills --skill etherscan -g -a '*' -y. Flow, contract review, and transaction debugger are sibling folders in that repo.
Keep reading
Give an agent live web context with POST https://api.exa.ai/search, or point MCP at mcp.exa.ai/mcp.
Bring the product you already build. Cofounder runs the rest of the company as tasks you can approve.
Give an agent its own mailbox and delegated spend so verify → pay → receipt stays in one identity.
Get new articles in your inbox
Technical deep-dives on Solana tooling, infrastructure, and ecosystem. No noise.
