btc-public-data
btc-public-data
本地 MCP 服务器及 CLI 封装公共 Bitcoin API。无密钥。无私有数据。
八个工具,CLI 与 MCP tools/list / tools/call 使用相同接口:
get_fees— mempool.space 推荐的 sat/vBget_mempool— 积压交易数、vsize、总手续费get_hashrate— 网络算力与难度get_network— 来自 mempool.space 和 Blockstream 的链顶高度、难度、价格get_tx— Blockstream 公共交易摘要get_address— Blockstream 只读地址统计get_lightning— Lightning 节点、通道、容量、典型手续费snapshot— 单次调用仪表盘
第二数据源是 Blockstream Esplora,因此链顶 / 交易 / 地址可以独立校验。HTTP GET 请求使用 15 秒 TTL 缓存,并对 429 / 5xx 进行重试。
运行
bun src/cli.ts list
bun src/cli.ts snapshot
bun src/cli.ts get_fees
bun src/server.tsbun testRelated MCP server: mcp-blockstream-info
可选的 Lightning 支持
该工具基于 MIT 许可且免费。一个可选的 5,000-sat Lightning 附加组件在 SUPPORT.md 中。
许可证
MIT © 2026 Matthew Ball
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only Bitcoin blockchain, mempool, mining, market, and on-chain analytics; no API key.
Bitcoin intelligence API. Pay per call via L402 Lightning (10-200 sats). No accounts needed.
Read-only market and on-chain data for Bitcoin, Ethereum and more; on-chain from our own nodes.
Public Peer activity, receipts, seller rates and liquidity on Base. Read-only; no key or wallet.
Related MCP Servers
- AlicenseBqualityCmaintenanceProvides real-time Bitcoin blockchain data by querying the mempool.space API, offering tools to get address statistics, transaction history, UTXOs, transaction details, and block information.79 npm4MIT
- AlicenseNot gradedqualityCmaintenanceEnables querying Bitcoin blockchain data including blocks, transactions, addresses, mempool, and fee estimates via the Blockstream.info Esplora API.449 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides real Bitcoin full node data via 17 tools, with pay-per-call in USDC on Base mainnet. Free tools include blockchain info, fees, and mempool; paid tools enable transaction tracking, address analysis, and more.MIT
- AlicenseBqualityDmaintenanceEnables Bitcoin blockchain data retrieval and analysis through free APIs, including transaction, address, market data, and network metrics.123MIT