Skip to main content
Glama

MCP区块链查询服务器

标识

WARNING

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

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

演示

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

Related MCP server: Coin 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)

-
security - not tested
F
license - not found
-
quality - not tested

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

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