Skip to main content
Glama
pavel-bc

MCP Blockchain Query Server

by pavel-bc

MCP区块链查询服务器

标识

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

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

演示

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

Related MCP server: Satstream MCP Server

特征

  • 支持 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)

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that enables querying Bitcoin blockchain data, including address information, transaction details, mempool statistics, and ordinals/runes data through the Satstream API.
    37
    MIT
  • F
    license
    A
    quality
    B
    maintenance
    A server that exposes blockchain data (balances, tokens, NFTs, contract metadata) via the Model Context Protocol, enabling AI agents and tools to access and analyze blockchain information contextually.
    18
    46
    -
  • A
    license
    B
    quality
    D
    maintenance
    A Model Context Protocol server that enables interaction with Bitcoin Stamps data via the Stampchain API, providing tools for querying stamp information, collections, and blockchain data without requiring authentication.
    13
    MIT