MCP Blockchain Query Server
A Model Context Protocol server providing tools for querying Bitcoin blockchain data via Blockchain Data and Query APIs, supporting various BTC information retrieval functions.
pavel-bc
README
MCP Blockchain Query Server
[!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)
Recommended Servers
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
serper-search-scrape-mcp-server
This Serper MCP Server supports search and webpage scraping, and all the most recent parameters introduced by the Serper API, like location.
The Verge News MCP Server
Provides tools to fetch and search news from The Verge's RSS feed, allowing users to get today's news, retrieve random articles from the past week, and search for specific keywords in recent Verge content.
Google Search Console MCP Server
A server that provides access to Google Search Console data through the Model Context Protocol, allowing users to retrieve and analyze search analytics data with customizable dimensions and reporting periods.
Crypto Price & Market Analysis MCP Server
A Model Context Protocol (MCP) server that provides comprehensive cryptocurrency analysis using the CoinCap API. This server offers real-time price data, market analysis, and historical trends through an easy-to-use interface.
MCP PubMed Search
Server to search PubMed (PubMed is a free, online database that allows users to search for biomedical and life sciences literature). I have created on a day MCP came out but was on vacation, I saw someone post similar server in your DB, but figured to post mine.
dbt Semantic Layer MCP Server
A server that enables querying the dbt Semantic Layer through natural language conversations with Claude Desktop and other AI assistants, allowing users to discover metrics, create queries, analyze data, and visualize results.
Tavily MCP Server
Provides AI-powered web search capabilities using Tavily's search API, enabling LLMs to perform sophisticated web searches, get direct answers to questions, and search recent news articles.
mixpanel
Connect to your Mixpanel data. Query events, retention, and funnel data from Mixpanel analytics.