1. Conduid
  2. Developer Tools
  3. Etherscan MCP
MCP server · Developer Tools

Etherscan MCP

MCP server: Etherscan MCP

Unclaimed MIT last commit a year ago devtools
45Fair

Scored 5 months ago · breakdown

About Etherscan MCP

Etherscan MCP is an MCP server published by Aurracloud in the Developer Tools category: mCP server: Etherscan MCP.

The repository has 2 stars and 0 forks, with the last commit a year ago. Six months or more without a commit doesn't mean the server is broken, but check the open issues before depending on it in production.

Install

From source
git clone https://github.com/Aurracloud/etherscan-mcp

This server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.

Ask AI

✦

Ask AI about Etherscan MCP

Powered by Claude · Grounded in docs

I know everything about Etherscan MCP. Ask me about installation, configuration, usage, or troubleshooting.

Security checks

Static checks derived from the repository 1 hours ago. Heuristics on the source, not an audit.

  • ✓README presentThe repository ships documentation.
  • ✓License declaredUsable under a stated license.
  • !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
  • ✓Dependencies pinnedA lockfile pins dependency versions.
  • ✓No dynamic code executionSource scan found no eval, dynamic Function, or shell execution.
  • !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.

README

Etherscan MCP Server

A Model Context Protocol (MCP) server that provides tools for querying Ethereum blockchain data through the Etherscan API. This server enables AI assistants like Claude to interact with Ethereum blockchain data including account balances, transactions, smart contracts, and token information.

Features

  • Account Operations: Get ETH balances, transaction lists, and ERC20/ERC721 token transfers
  • Contract Information: Retrieve contract ABIs, source code, and execution status
  • Block Data: Access block rewards, transaction counts, and timestamps
  • Token Analytics: Query token supplies, balances, and holder information
  • Event Logs: Search and filter blockchain event logs
  • Multi-chain Support: Works with Ethereum mainnet and testnets

Installation

npm install @aura/etherscan-mcp

Usage

CLI Server (Recommended)

Run the MCP server directly with npx:

npx @aura/etherscan-mcp

This starts a stdio-based MCP server that can be used with Claude Desktop or other MCP clients.

Claude Desktop Configuration

Add to your Claude Desktop configuration:

{
  "mcpServers": {
    "etherscan": {
      "command": "npx",
      "args": ["-y", "@aurracloud/etherscan-mcp"],
      "env": {
        "ETHERSCAN_API_KEY": "ETHERSCAN_API_KEY_GOES_HERE"
      }
    }
  }
}

Programmatic Usage

import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
import { registerEtherscanMcpTools } from "@aura/etherscan-mcp";

const server = new McpServer({
  name: "etherscan-server",
  version: "1.0.0"
}, {
  capabilities: {
    tools: {},
  },
});

// Register Etherscan tools
registerEtherscanMcpTools(server);

// Create transport and connect
const transport = new StdioServerTransport();
await server.connect(transport);

Environment Variables

Set your Etherscan API key:

export ETHERSCAN_API_KEY=your_api_key_here

Available Tools

Account Tools

  • ETHERSCAN_getEthBalance - Get ETH balance for an address
  • ETHERSCAN_getEthBalanceMulti - Get ETH balances for multiple addresses
  • ETHERSCAN_getListOfTxs - Get transaction list for an address
  • ETHERSCAN_getErc20TransfersByAddress - Get ERC20 token transfers

Contract Tools

  • ETHERSCAN_getContractABI - Get contract ABI
  • ETHERSCAN_getContractSourceCode - Get contract source code
  • ETHERSCAN_getContractExecutionStatus - Get transaction execution status

Block Tools

  • ETHERSCAN_getBlockAndUncleRewardByBlockNo - Get block rewards

Token Tools

  • ETHERSCAN_getErc20TokenSupply - Get ERC20 token total supply
  • ETHERSCAN_getErc20TokenBalance - Get ERC20 token balance for address
  • ETHERSCAN_getTokenHolderList - Get list of token holders

Log Tools

  • ETHERSCAN_getEventLogsByAddress - Get event logs for an address

Chain Support

The server supports multiple Ethereum networks:

  • Ethereum Mainnet (chainId: 1)
  • Goerli Testnet (chainId: 5)
  • Sepolia Testnet (chainId: 11155111)

API Key

You'll need an Etherscan API key to use this server. Get one for free at etherscan.io/apis.

License

MIT

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

Support

For issues and questions, please use the GitHub Issues page.

README fetched from the repository 1 hours ago. The original is authoritative.

Questions

About Etherscan MCP

How do I install Etherscan MCP?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is Etherscan MCP safe to use with an AI agent?

Its trust score is 45 out of 100 (fair). It passes 4 of the 6 static security checks run so far; the failures are listed above. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Etherscan MCP still maintained?

The last commit was a year ago. That's long enough that you should check whether the maintainer is responding to issues before depending on it.