Skip to main content
Glama
MCP Blockchain Query Server

MCP Blockchain Query Server

by pavel-bc

MCP Blockchain Query Server

Logo

WARNING

Majority of the code in this repository was generated usingGrok 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

Related MCP server: Satstream MCP Server

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)

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    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
      C
      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
      47
      -
    • 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