TB

tatumio/blockchain-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

15 stars 15 forks 质量 80 趋势 25MIT

A Model Context Protocol (MCP) server that exposes the Tatum Blockchain Data API and RPC Gateway so LLM clients can query blockchain data across . Get an API key on the Tatum MCP page or dashboard.

概览

A Model Context Protocol (MCP) server that exposes the Tatum Blockchain Data API and RPC Gateway so LLM clients can query blockchain data across . Get an API key on the Tatum MCP page or dashboard. - : Bitcoin, Ethereum, Solana, Polygon, Arbitrum, Base, Avalanche, and many more. - 🔗 : Blocks, transactions, balances, network info, and more. - 🌐 : Direct access to blockchain RPC endpoints. Published binaries: blockchain-mcp and blockchain-mcp-server (same entrypoint). 1. Create a free API key at dashboard.tatum.io. 2. Add the server to your MCP client (Cursor, Claude Desktop, VS Code, etc.): Do not commit API keys. Use environment variables in client config only. Once connected, you can ask your assistant to use MCP tools, for example: - “What is the BTC/USD exchange rate?

README

以下为原文 README 节选,完整内容请查看原文。

Blockchain MCP powered by Tatum

A Model Context Protocol (MCP) server that exposes the Tatum Blockchain Data API and RPC Gateway so LLM clients can query blockchain data across 130+ networks. Get an API key on the Tatum MCP page or dashboard.

Features

Requires Node.js 18+ and a TATUM_API_KEY.

Installation

npm install -g @tatumio/blockchain-mcp

Or use without a global install:

npx @tatumio/blockchain-mcp

Published binaries: blockchain-mcp and blockchain-mcp-server (same entrypoint).

MCP client setup

  1. Create a free API key at dashboard.tatum.io.
  2. Add the server to your MCP client (Cursor, Claude Desktop, VS Code, etc.):
{
  "mcpServers": {
    "tatumio": {
      "command": "npx",
      "args": ["@tatumio/blockchain-mcp"],
      "env": {
        "TATUM_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

Do not commit API keys. Use environment variables in client config only.

Example prompts

Once connected, you can ask your assistant to use MCP tools, for example:

  • “What is the BTC/USD exchange rate?” → get_exchange_rate with symbol: BTC, basePair: USD
  • “Show Vitalik’s native ETH balance history” → get_wallet_portfolio / get_transaction_history on ethereum-mainnet
  • “What is the latest Ethereum block number?” → gateway_execute_rpc with eth_blockNumber

Chain identifiers use Tatum gateway names (e.g. ethereum-mainnet, bitcoin-mainnet). Call gateway_get_supported_chains for the live list.

Available tools (13)

Blockchain Data (10)

| Tool | Description |

在 GitHub 查看完整 README

安装

npx @tatumio/blockchain-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "tatumio": { "command": "npx", "args": ["@tatumio/blockchain-mcp"], "env": { "TATUM_API_KEY": "YOUR_API_KEY" } } } }