MCP Blockchain Query Server

remote-capable server

The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.

Integrations

  • Provides tools for querying Bitcoin blockchain data including blocks, transactions, addresses, network statistics and market information.

  • Allows querying Bitcoin blockchain data via Blockchain.com's Data and Query APIs, providing functionality to retrieve block information, transaction details, address data, and various Bitcoin network statistics.

MCP区块链查询服务器

[!WARNING] 此存储库中的大部分代码是使用Grok 3 Beta生成的

模型上下文协议服务器提供通过区块链数据查询API 查询 BTC 数据的工具。

演示

https://github.com/user-attachments/assets/b270979b-b22f-467c-bcb4-54bd48504073

特征

  • 支持 stdio 和 SSE 传输
  • 可用工具
    • 通过哈希获取区块
    • 通过哈希获取交易
    • 通过哈希获取地址
    • 获取块数
    • 获得难度
    • 获取地址余额
    • 获取哈希率
    • 获取平均交易规模
    • 获取比特币总数
    • 获取找到区块的概率
    • 获取24小时市场价格
    • 获取区块间隔
    • 获得区块奖励
    • 获取下一个重新定位
    • 获取最新哈希值
    • 获取未确认计数
    • 获取 24 小时交易数量

安装

python -m venv venv source venv/bin/activate pip install -r requirements.txt

跑步

以 stdio 模式运行(默认):

$ python main.py

以 SSE 模式运行:

$ python main.py --transport sse --port 8000

CLI 参数:

  • --port :SSE 传输的端口号(默认值:8000)
  • --transport :传输类型(stdio 或 sse,默认值:stdio)
-
security - not tested
F
license - not found
-
quality - not tested

模型上下文协议服务器提供通过区块链数据和查询 API 查询比特币区块链数据的工具,支持各种 BTC 信息检索功能。

  1. Demo
    1. Features
      1. Installation
        1. Running
          ID: 71ow3uvx5n