Skip to main content
Glama

@xiaok/etherscan-mcp

Etherscan의 API 및 서비스와 상호 작용하기 위한 동적 MCP 서버입니다.

서버 실행

mcp-cli 로 테스트

서버를 테스트하고 디버깅하는 가장 빠른 방법은 fastmcp dev 사용하는 것입니다.

지엑스피1

이렇게 하면 터미널에서 MCP 서버를 테스트하고 디버깅하기 위해 mcp-cli 로 서버가 실행됩니다.

MCP Inspector 으로 검사하세요

또 다른 방법은 공식 MCP Inspector 사용하여 웹 UI로 서버를 검사하는 것입니다.

npx fastmcp inspect server.ts

Related MCP server: MCP Etherscan Server

자주 묻는 질문

Claude Desktop과 함께 사용하는 방법?

https://modelcontextprotocol.io/quickstart/user 가이드를 따르고 다음 구성을 추가하세요.

{
  "mcpServers": {
    "my-mcp-server": {
      "command": "npx",
      "args": ["tsx", "/PATH/TO/YOUR_PROJECT/src/index.ts"],
      "env": {
        "ETHERSCAN_API_KEY": "********"
      }
    }
  }
}

API 문서

https://docs.etherscan.io/etherscan-v2

지원 체인 목록: https://docs.etherscan.io/etherscan-v2/getting-started/supported-chains 모든 체인에서 모든 엔드포인트를 지원하는 것은 아닙니다. 지원 목록은 다음에서 확인하세요: https://forms.blockscan.com/public/grid/3E9QiN00NLhCQVibiP3Z-Bpqhmd7zGXsgapEKJupxiI

할 일

  1. 완전히 테스트하다

Available Tools

6 tools
get_chain_idB

Get the chain ID for a given chain name

Inputs: chain_name (required).

get_filtered_rpc_listC

Get a filtered list of RPC endpoints for a given chain ID

Inputs: chain_id (required), isOpenSource, tracking.

get_token_balanceC

Get the balance of a specific token for a specific address

Inputs: chain_id (required), token_address (required), address (required).

get_token_holdersC

Get the token holders for a given token address

Inputs: chain_id (required), token_address (required).

get_token_holders_countC

Get the number of token holders for a given token address

Inputs: chain_id (required), token_address (required).

get_total_supplyB

Get the total supply of a token given its address

Inputs: chain_id (required), token_address (required).

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    B3.3/5.0

    Scored across 6 tools

    Disambiguation4/5

    Most tools have distinct purposes targeting different token-related queries, but get_token_holders and get_token_holders_count could be confused as they both retrieve holder information. The descriptions clarify the difference (list vs count), but the overlap in naming might cause misselection.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case (e.g., get_chain_id, get_token_balance). The naming is highly predictable and readable throughout the set, with no deviations in style or convention.

    Tool Count4/5

    With 6 tools, the count is reasonable for an Etherscan-focused server, covering chain info, RPC endpoints, and token data. It feels slightly thin for a full blockchain explorer, but it's well-scoped for the provided token and chain utilities.

    Completeness3/5

    The tools cover token balances, holders, and supply, plus chain and RPC info, but there are notable gaps for a broader Etherscan domain. Missing operations include transaction lookups, contract interactions, and gas/price queries, which are common in blockchain tools, limiting coverage to a narrow subset.

    Related MCP Connectors

    Related MCP Servers