Bitcoin Data MCP Server
Provides Bitcoin blockchain data and analysis tools including real-time blockchain data from Blockstream.info, price and market data from CoinGecko, network metrics from Mempool.space, UTXO analysis, and transaction pattern detection.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Bitcoin Data MCP Server show me current Bitcoin price and mempool state"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Bitcoin Data MCP Server
A Model Context Protocol (MCP) server that provides Bitcoin blockchain data and analysis tools through free data sources.
Features
Real-time blockchain data from Blockstream.info API
Bitcoin price and market data from CoinGecko API
Network metrics and fee estimates from Mempool.space API
UTXO analysis and basic transaction pattern detection
Data caching for improved performance and reduced API load
Related MCP server: DuckChain MCP Server
Tools Available
Blockchain Data
get_block: Retrieve block information by hash or heightget_transaction: Get transaction details by TXIDget_address: View address information, balance, and transaction historyget_utxos: Retrieve unspent transaction outputs for an address
Market Data
get_price_data: Current Bitcoin price and market metricsget_historical_price: Historical price data for specified time periods
Network Analysis
get_network_metrics: Bitcoin network health metricsanalyze_fee_landscape: Current fee recommendations and analysisanalyze_mempool_state: Mempool congestion analysis
Advanced Analysis
analyze_utxo_distribution: UTXO distribution analysis for multiple addressestrace_coin_lineage: Basic tracing of coin movementdetect_transaction_patterns: Identify common transaction patterns
Installation
# Clone the repository
git clone https://github.com/myownipgit/bitcoin-data-mcp.git
cd bitcoin-data-mcp
# Install dependencies
npm install
# Build the TypeScript code
npm run buildUsage
# Start the MCP server
npm startThe server runs on stdio, which allows it to be used as a plugin for AI models and tools that support the Model Context Protocol.
Integration with Claude Desktop
This MCP server can be integrated with Claude Desktop to give Claude direct access to Bitcoin blockchain data without requiring internet access from Claude itself.
Setting up Claude Desktop Integration:
Start your Bitcoin MCP Server:
npm startIn Claude Desktop:
Open Settings
Navigate to the "Tools" or "MCP Connections" section
Add a new MCP connection by clicking "Add Tool"
Name: "Bitcoin Data MCP"
Connection Type: "stdio"
Command: The full path to the server launch command, e.g.,
/path/to/bitcoin-data-mcp/dist/server.jsClick "Save"
Claude will now have access to all the Bitcoin data tools provided by this server
Example query to Claude: "What's the current Bitcoin price and network congestion level?"
This integration allows Claude to access real-time Bitcoin data and perform analysis without needing internet access itself, as your local MCP server handles all API calls to Blockstream, CoinGecko, and Mempool.space.
Development
# Run in development mode (build and start)
npm run devData Sources
License
MIT
Available Tools
12 toolsanalyze_fee_landscapeC
Analyze current fee landscape and get recommendations
Inputs: prediction_horizon.
analyze_mempool_stateC
Analyze current mempool state
Inputs: include_predictions.
analyze_utxo_distributionB
Analyze UTXO distribution for multiple addresses
Inputs: address_list (required).
detect_transaction_patternsC
Detect patterns in a transaction (basic analysis)
Inputs: txid (required).
get_addressB
Get address information including balance and transaction history
Inputs: address (required), limit, offset.
get_blockA
Get block information by hash or height
Inputs: block_hash_or_height (required), include_transactions.
get_historical_priceC
Get historical Bitcoin price data
Inputs: days.
get_network_metricsC
Get Bitcoin network health metrics
Inputs: timeframe.
get_price_dataC
Get current Bitcoin price and market data
Inputs: timeframe.
get_transactionC
Get transaction information by txid
Inputs: txid (required), include_analysis.
get_utxosB
Get unspent transaction outputs for an address
Inputs: address (required), min_value.
trace_coin_lineageB
Trace the lineage of coins from a transaction output
Inputs: txid (required), output_index (required), depth.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 12 tools
Each tool targets a distinct aspect of Bitcoin data, such as fee analysis, mempool state, UTXO distribution, transaction patterns, address info, block info, price data, network metrics, and coin lineage. There is no ambiguity or overlap between tools, making it clear which to use for a specific query.
All tool names follow a consistent verb_noun pattern using lowercase and underscores (e.g., analyze_fee_landscape, get_address, trace_coin_lineage). This uniformity aids predictability and ease of selection for agents.
With 12 tools, the server covers its domain without being sparse or overwhelming. The number is well-scoped for a Bitcoin data server, providing enough granularity without unnecessary redundancy.
The tool surface covers most key aspects of Bitcoin data: blockchain info, mempool, fees, UTXOs, transaction patterns, prices, and network metrics. A minor gap is the absence of a transaction broadcast tool, but for a data-focused server, this is acceptable.
Maintenance
Related MCP Connectors
Read-only Bitcoin blockchain, mempool, mining, market, and on-chain analytics; no API key.
Read-only market and on-chain data for Bitcoin, Ethereum and more; on-chain from our own nodes.
Bitcoin intelligence API. Pay per call via L402 Lightning (10-200 sats). No accounts needed.
Bitcoin MCP: fees, tx proofs, address checks. Pay per call by x402, Lightning or a prepaid pass.
Related MCP Servers
- AlicenseBqualityCmaintenanceProvides real-time Bitcoin blockchain data by querying the mempool.space API, offering tools to get address statistics, transaction history, UTXOs, transaction details, and block information.720 npm4MIT
- FlicenseNot gradedqualityDmaintenanceEnables comprehensive blockchain data analysis and exploration through the BlockScout API. Provides 56+ tools for transaction analysis, address exploration, token management, smart contract analysis, and market research across multiple blockchain networks.-
- AlicenseNot gradedqualityBmaintenanceEnables querying Bitcoin blockchain data including blocks, transactions, addresses, mempool, and fee estimates via the Blockstream.info Esplora API.110 npmMIT
- AlicenseNot gradedqualityCmaintenanceProvides real Bitcoin full node data via 17 tools, with pay-per-call in USDC on Base mainnet. Free tools include blockchain info, fees, and mempool; paid tools enable transaction tracking, address analysis, and more.MIT