Etherscan MCP Server

Model Context Protocol (MCP) Server for Etherscan

Local serverstdio

What is the Etherscan MCP MCP server?

Model Context Protocol (MCP) Server for Etherscan. The etherscan mcp mcp server wraps that behind the Model Context Protocol, so an assistant can use it rather than through you.

What it actually does

A dynamic MCP server for interacting with Etherscan's API and services.

Adding it to your client

fastmcp on npm is all you need. Most clients run it directly, so configuration is a few lines and a restart.

Configuration

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.

When to reach for it

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. It is maintained by xiaok; worth a glance at recent repository activity before you build anything load-bearing on it.

We check each listing at SyncDev against the project's documentation before it goes live — if something here drifts out of date, it is a bug worth reporting.

Caveats

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the etherscan mcp mcp server does with a few real requests.

How to install the Etherscan MCP MCP server

{
  "mcpServers": {
    "etherscan": {
      "command": "npx",
      "args": ["-y", "fastmcp"],
      "env": {
        "ETHERSCAN_API_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
ETHERSCAN_API_KEYCredential the server authenticates with.Yes

Frequently asked questions

It connects Etherscan MCP to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Etherscan MCP directly.