Skip to main content
Glama

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

特征

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

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.

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

  1. 演示
    1. 特征
      1. 安装
        1. 跑步

          Related MCP Servers

          • A
            security
            A
            license
            A
            quality
            A Model Context Protocol server that provides read-only access to Bybit's cryptocurrency exchange API, allowing users to query real-time cryptocurrency data using natural language.
            Last updated -
            9
            5
            12
            TypeScript
            MIT License
          • A
            security
            F
            license
            A
            quality
            A Model Context Protocol server that provides access to CoinMarketCap's cryptocurrency data, enabling AI applications to retrieve cryptocurrency listings, quotes, and detailed information.
            Last updated -
            3
            33
            Python
            • Linux
            • Apple
          • A
            security
            A
            license
            A
            quality
            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.
            Last updated -
            37
            TypeScript
            MIT License
          • A
            security
            A
            license
            A
            quality
            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.
            Last updated -
            16
            17
            Python
            MIT License

          View all related MCP servers

          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/pavel-bc/mcp-blockchain-query'

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