Skip to main content
Glama
matthewrball

btc-public-data

by matthewrball

btc-public-data

本地 MCP 服务器及 CLI 封装公共 Bitcoin API。无密钥。无私有数据。

八个工具,CLI 与 MCP tools/list / tools/call 使用相同接口:

  • get_fees — mempool.space 推荐的 sat/vB

  • get_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.ts
bun test

可选的 Lightning 支持

该工具基于 MIT 许可且免费。一个可选的 5,000-sat Lightning 附加组件在 SUPPORT.md 中。

许可证

MIT © 2026 Matthew Ball

-
license - not tested
Not graded
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

  • Read-only Animica chain data, free AI inference, verifiable quantum randomness, and mining stats.

  • mempool.space MCP — Bitcoin block explorer + mempool/fee stats

  • Live and historical cryptocurrency prices via CoinGecko free API.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/matthewrball/btc-public-data'

If you have feedback or need assistance with the MCP directory API, please join our Discord server