pavel-bc
MCP Serverpavel-bcpublicArchived

mcp blockchain query

🤖 MCP server for querying BTC data via Blockchain.com APIs

Repository Info

1
Stars
2
Forks
1
Watchers
1
Issues
Python
Language
-
License

About This Server

🤖 MCP server for querying BTC data via Blockchain.com APIs

Model Context Protocol (MCP) - This server can be integrated with AI applications to provide additional context and capabilities, enabling enhanced AI interactions and functionality.

Documentation

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)

Quick Start

1

Clone the repository

git clone https://github.com/pavel-bc/mcp-blockchain-query
2

Install dependencies

cd mcp-blockchain-query
npm install
3

Follow the documentation

Check the repository's README.md file for specific installation and usage instructions.

Repository Details

Ownerpavel-bc
Repomcp-blockchain-query
LanguagePython
License-
Last fetched8/10/2025

Recommended MCP Servers

💬

Discord MCP

Enable AI assistants to seamlessly interact with Discord servers, channels, and messages.

integrationsdiscordchat
🔗

Knit MCP

Connect AI agents to 200+ SaaS applications and automate workflows.

integrationsautomationsaas
🕷️

Apify MCP Server

Deploy and interact with Apify actors for web scraping and data extraction.

apifycrawlerdata
🌐

BrowserStack MCP

BrowserStack MCP Server for automated testing across multiple browsers.

testingqabrowsers

Zapier MCP

A Zapier server that provides automation capabilities for various apps.

zapierautomation