跳过安装。2 分钟内即可运行。
在 cloud.anythingmcp.com 开始免费试用,一键添加 BlockCypher,然后将你的 AI 客户端(Claude、ChatGPT、Copilot 或 Cursor)指向生成的 MCP 端点。无需 Docker,无需 git clone,无需任何工程经验。
AnythingMCP 已收录在 Claude 的连接器目录中:一键添加到 Claude (在新标签页中打开),然后登录并选择 Claude 可以使用哪些 MCP 服务器。
摘要
BlockCypher 提供的 Bitcoin、Litecoin、Dogecoin、Dash 和 Ethereum 公开区块链数据:链状态和手续费估算、区块、地址余额、地址交易历史、单笔交易以及内存池。只读,免费套餐无需令牌即可使用。
试试这样问
BlockCypher 的示例提示
点击任意提示即可复制,然后粘贴到 Claude、ChatGPT、Cursor、Gemini、Copilot 或 OpenClaw 中,在该连接器上运行。
Claude 是 AI,可能会出错。请核对回答。
💡 无需安装? 直接使用 cloud.anythingmcp.com。 登录、点击 Connectors → BlockCypher、直接安装 (无需密钥)、生成 MCP API key,即可完成。无 Docker、无
git clone、无本地服务器。
BlockCypher + Claude
BlockCypher 提供的 Bitcoin、Litecoin、Dogecoin、Dash 和 Ethereum 公开区块链数据:链状态和手续费估算、区块、地址余额、地址交易历史、单笔交易以及内存池。只读,免费套餐无需令牌即可使用。
前提条件
完整的设置说明已内置在连接器中 (在 store 中选择连接器时可见)。所需环境变量:
(无必需变量;BLOCKCYPHER_TOKEN 为可选)
步骤 1 — 设置连接器
公开数据,令牌可选:设置不到一分钟。连接器从 BlockCypher API v1(https://api.blockcypher.com/v1)读取 Bitcoin、Litecoin、Dogecoin、Dash 和 Ethereum 的公开区块链数据。在免费套餐中,BlockCypher 无需令牌即可响应这些只读调用。
- 在连接器商店中选择 BlockCypher 并安装。使用免费的无密钥套餐时,
BLOCKCYPHER_TOKEN留空即可。 - 可选:在 https://accounts.blockcypher.com 注册,并把控制台中的令牌复制到
BLOCKCYPHER_TOKEN。它作为查询参数token发送。blockcypher_get_transaction_confidence需要它,付费套餐还能提高限额。 - 用
blockcypher_get_chain和网络btc/main来检查:它会显示 Bitcoin 当前的区块高度、最新区块和手续费估算。
网络:每个工具都以 coin/chain 的形式接收 network:btc/main、ltc/main、doge/main、dash/main、eth/main,或测试链 btc/test3、bcy/test 和 beth/test。Ethereum 地址不带 0x。
可读取的内容:链的状态(高度、最新区块、未确认交易数和每 kB 的手续费估算);按哈希或高度查询的区块及其交易哈希;地址余额(已确认、未确认和最终余额);地址的历史,可以是轻量的交易引用、未花费输出(UTXO)或完整交易;包含确认数、手续费、输入和输出的单笔交易;未确认交易被确认的可信度;以及内存池,即尚未进入区块的最新交易。
金额和时间:金额始终以最小单位表示。Bitcoin、Litecoin、Dogecoin 和 Dash 每枚币为 100,000,000 个单位(100,000,000 satoshi = 1 BTC),Ethereum 每个 ether 为 10^18 wei;AI 在报出金额前会先换算。时间为 UTC 的 ISO 8601 格式。确认数等于链高度减去区块高度再加 1。
分页:地址历史按从新到旧返回。只要 hasMore 为 true,AI 就会把收到的最低区块高度作为 before 再次调用;使用 after 时只获取某个已知高度之后的新内容。
只读:所有工具都只读取数据,因此不需要确认任何操作,安装时也没有关闭任何工具。不会发送、签名或创建任何内容。
限制:免费套餐无论是否使用令牌,均允许每秒 3 次请求、每小时 100 次请求,可信度查询每小时 10 次。每小时的额度在 UTC 整点重置,blockcypher_get_chain 会显示剩余的调用次数。AI 优先使用余额调用而不是完整的地址调用,并保持较小的分页大小。
常见错误:429 表示每小时或每秒的限额已用完:请等到下一个整点(UTC),或使用付费令牌。404 表示该网络上没有这个地址、哈希或区块,常见原因是地址属于另一种币。可信度调用返回 401 表示令牌缺失或错误。
该连接器不会发送或签名交易,不管理钱包,不注册 Webhook,不读取资产(OAP),也不涵盖 Ethereum 代币(ERC-20)余额。
步骤 2 — 安装 adapter
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
步骤 3 — 在 Claude 中添加连接器
你的服务器 URL: 在 AnythingMCP 中打开 MCP Servers → 此连接器所在的服务器,复制它的 URL(
https://cloud.anythingmcp.com/mcp/…)。本指南中出现YOUR_SERVER_ID的地方都用它替换。
推荐路径:在 claude.ai web 上工作,无需触碰任何配置文件。
- 在 Claude 中打开 Customize → Connectors。
- 点击 +,然后点击 Add custom connector。
- 输入名称(例如
BlockCypher)和远程 MCP 服务器 URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID,然后点击 Add。 - 点击 Connect,登录 AnythingMCP(OAuth)并允许访问。
下面所有工具都会出现在你的聊天中,开始输入提示。
可用工具
| Tool | What it does |
|---|---|
blockcypher_get_chain | Get the current state of a blockchain: height, hash and time of the latest block, previous block, unconfirmed transaction count, peer count… |
blockcypher_get_block | Get one block by its hash or its height: time, total amount transacted, fees, transaction count and the transaction hashes in block order… |
blockcypher_get_address_balance | Get the balance of an address, fastest call: balance, unconfirmed_balance and final_balance, total_received, total_sent and the number of… |
blockcypher_get_address | Get an address with its balance and transaction references (txrefs: tx_hash, block_height, value, spent, confirmations, tx_input_n /… |
blockcypher_get_address_full | Get an address with its complete transactions (inputs, outputs, fees, confirmations, block height and time), newest first |
blockcypher_get_transaction | Get one transaction by its hash: block height and hash, confirmations, received and confirmed time, total, fees, size, double_spend flag… |
blockcypher_get_transaction_confidence | Get the confidence that an unconfirmed transaction will be confirmed (confidence 0 to 1, receive_count, age_millis) |
blockcypher_list_unconfirmed_transactions | List the latest transactions relayed to the network that are not yet in a block (mempool), newest first: hash, total, fees, inputs and… |
示例提示
- “Bitcoin 当前的区块高度是多少?BlockCypher 现在建议的每 kB 手续费是多少?”
- “这是一个 Bitcoin 地址:它已确认和未确认的余额分别是多少 BTC?”
- “列出这个 Litecoin 地址最近 10 笔交易,包含日期、金额和确认数。”
- “这笔交易有多少个确认?支付了多少手续费?”
- “给我看这个 Dogecoin 地址的未花费输出(UTXO)以及它们的 DOGE 总额。”
FAQ
Claude Code 和 Claude Desktop 一样工作吗? 是的,两者都指向 https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID。
下一步
这份指南对你有帮助吗?