MCP Blockchain Query Server
🤖 MCP server for querying BTC data via Blockchain.com APIs
Overview
MCP Blockchain Query Server is a server that provides tools for querying Bitcoin (BTC) data using Blockchain.com APIs.
To use the server, you need to install the required Python packages and run the server in either stdio or SSE mode.
- Supports both stdio and SSE transports - Provides various tools for querying BTC data, including: - Get block by hash - Get transaction by hash - Get address by hash - Get block count - Get address balance - Get 24-hour market price - Get total bitcoins - Get unconfirmed count
- Retrieving real-time Bitcoin transaction data.
- Analyzing Bitcoin network statistics.
- Monitoring Bitcoin market prices and trends.
Add to your AI client
Use these steps to connect MCP Blockchain Query Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.
Cursor
Add this to your .cursor/mcp.json file in your project root, then restart Cursor.
.cursor/mcp.json
{
"mcpServers": {
"mcp-blockchain-query-pavel-bc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-blockchain-query-pavel-bc"
]
}
}
}Claude Desktop
Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.
~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)
{
"mcpServers": {
"mcp-blockchain-query-pavel-bc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-blockchain-query-pavel-bc"
]
}
}
}Claude Code
Add this to your project's .mcp.json file. Claude Code will detect it automatically.
.mcp.json (project root)
{
"mcpServers": {
"mcp-blockchain-query-pavel-bc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-blockchain-query-pavel-bc"
]
}
}
}VS Code (Copilot)
Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.
.vscode/mcp.json
{
"servers": {
"mcp-blockchain-query-pavel-bc": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-blockchain-query-pavel-bc"
]
}
}
}Windsurf
Add this to your Windsurf MCP config file, then restart Windsurf.
~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"mcp-blockchain-query-pavel-bc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-blockchain-query-pavel-bc"
]
}
}
}Cline
Open Cline settings, navigate to MCP Servers, and add this server configuration.
Cline MCP Settings (via UI)
{
"mcpServers": {
"mcp-blockchain-query-pavel-bc": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-mcp-blockchain-query-pavel-bc"
]
}
}
}FAQ
What programming language is used for MCP Blockchain Query Server?
The server is developed in Python.
How can I run the server?
You can run the server using the command `python main.py` for stdio mode or `python main.py --transport sse --port 8000` for SSE mode.
Is there any documentation available?
Yes, you can find the documentation on the [Model Context Protocol](https://modelcontextprotocol.io) website.