Cover image
Try Now
2025-03-22

🤖通过Blockchain.com API查询BTC数据的MCP服务器

3 years

Works with Finder

1

Github Watches

1

Github Forks

0

Github Stars

MCP Blockchain Query Server

Logo

[!WARNING] Majority of the code in this repository was generated using Grok 3 Beta

Model Context Protocol server providing tools for querying BTC data via Blockchain Data and Query APIs.

Demo

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

Features

  • Supports both stdio and SSE transports
  • Available tools:
    • Get block by hash
    • Get transaction by hash
    • Get address by hash
    • Get block count
    • Get difficulty
    • Get address balance
    • Get hash rate
    • Get average transaction size
    • Get total bitcoins
    • Get probability of finding a block
    • Get 24-hour market price
    • Get block interval
    • Get block reward
    • Get next retarget
    • Get latest hash
    • Get unconfirmed count
    • Get 24-hour transaction count

Installation

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

Running

Run in stdio mode (default):

$ python main.py

Run in SSE mode:

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

CLI Arguments:

  • --port: Port number for SSE transport (default: 8000)
  • --transport: Transport type (stdio or sse, default: stdio)

相关推荐

  • NiKole Maxwell
  • I craft unique cereal names, stories, and ridiculously cute Cereal Baby images.

  • Bora Yalcin
  • Evaluator for marketplace product descriptions, checks for relevancy and keyword stuffing.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Callycode Limited
  • A geek-themed horoscope generator blending Bitcoin prices, tech jargon, and astrological whimsy.

  • Alexandru Strujac
  • Efficient thumbnail creator for YouTube videos

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • Khalid kalib
  • Write professional emails

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Beniyam Berhanu
  • Therapist adept at identifying core issues and offering practical advice with images.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • apappascs
  • 发现市场上最全面,最新的MCP服务器集合。该存储库充当集中式枢纽,提供了广泛的开源和专有MCP服务器目录,并提供功能,文档链接和贡献者。

  • ShrimpingIt
  • MCP系列GPIO Expander的基于Micropython I2C的操作,源自ADAFRUIT_MCP230XX

  • OffchainLabs
  • 进行以太坊的实施

  • huahuayu
  • 统一的API网关,用于将多个Etherscan样区块链Explorer API与对AI助手的模型上下文协议(MCP)支持。

  • deemkeen
  • 用电源组合控制您的MBOT2:MQTT+MCP+LLM

    Reviews

    4 (1)
    Avatar
    user_iOvcfnav
    2025-04-17

    I've been using mcp-blockchain-query for a while now and it has significantly improved my efficiency in querying blockchain data. The tool, developed by pavel-bc, is incredibly reliable and easy to integrate into various projects. Highly recommend checking it out on GitHub: https://github.com/pavel-bc/mcp-blockchain-query. A must-have for blockchain developers!