An etherscan mcp made for developer
Etherscan MCP server exists for a simple reason — assistants are far more useful when they can act on Etherscan directly instead of describing what you should do. An etherscan mcp made for developer.
A powerful Model Context Protocol (MCP) server that brings Etherscan's blockchain data directly to your AI tools like Claude Code and Cursor! 🚀
This MCP server is specifically designed for dApp and smart contract developers! 👨💻 It supercharges your AI assistant with essential blockchain development tools by providing direct access to Etherscan's data:
Once Etherscan is connected, these are the calls the assistant has available:
Cursor — ~/.cursor/mcp.jsonWindsurf — ~/.codeium/windsurf/mcp_config.jsonCline — ~/.cline/mcp_config.jsonClaude — ~/.claude/mcp_config.jsonPrerequisites — The Prerequisites tool exposed by this serverDevelopment — The Development tool exposed by this serverProduction — The Production tool exposed by this serverSetup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
You will need one environment variable: ETHERSCAN_API_KEY. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. Etherscan's toolset — Cursor, Windsurf, Cline and 4 more — is a fair guide to whether it matches your workflow. It is maintained by zhougaoyilang; worth a glance at recent repository activity before you build anything load-bearing on it.
This entry was verified against Etherscan's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.
| Tool | What it does |
|---|---|
| Cursor | ~/.cursor/mcp.json |
| Windsurf | ~/.codeium/windsurf/mcp_config.json |
| Cline | ~/.cline/mcp_config.json |
| Claude | ~/.claude/mcp_config.json |
| Prerequisites | The Prerequisites tool exposed by this server. |
| Development | The Development tool exposed by this server. |
| Production | The Production tool exposed by this server. |
{
"mcpServers": {
"etherscan-mcp": {
"command": "npx",
"args": ["-y", "etherscan-mcp-for-dev@latest"],
"env": {
"ETHERSCAN_API_KEY": "your_api_key_here"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| ETHERSCAN_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Timezone sanity for AI — current time anywhere and correct conversions, without the model doing date math.