MCP Mempool is an MCP server that exposes the mempool.space WebSocket and REST APIs to AI agents, LLM assistants, and external applications. Built using Python and FastAPI, it allows developers, cryptocurrency analysts, and automated agents to monitor and interact with the Bitcoin network in real time. The server provides streaming capabilities for new block notifications, mempool block templates, network statistics, fee charts, and address monitoring. In addition to real-time streams, it includes standard REST tools for querying transaction details, address balances, unspent transaction outputs (UTXOs), block heights, and recommended network fee rates. It also offers verification utilities such as Bitcoin address validation. By running locally or via Docker and interfacing through standard MCP endpoints, the server enables AI clients to perform data retrieval, transaction fee optimization, and on-chain verification without custom API integration code.
Category: Data & Analytics
Tags: bitcoin, blockchain, cryptocurrency, mempool, transactions
docker-compose up mcp-mempool-dev or docker-compose up mcp-mempool-prod. For a local Python environment, install dependencies with uv sync and run uv run python -m mempool_ws_mcp_server.main. 2. Ensure the server is running and accessible at http://localhost:8000. 3. Configure your MCP client. For Claude Desktop, open claude_desktop_config.json and add the server configuration using either mcp-remote proxying to http://localhost:8000/mcp or direct streamable HTTP: json { "mcpServers": { "mcp-mempool": { "command": "npx", "args": ["mcp-remote", "http://localhost:8000/mcp"] } } } 4. For Amazon Q Developer, add the corresponding configuration to .aws/amazonq/mcp.json.Part of MCP Servers
You can run MCP Mempool using Docker with docker-compose up mcp-mempool-dev, or locally using uv. For local setup, install dependencies using uv sync and start the server using uv run python -m mempool_ws_mcp_server.main. Then link the HTTP endpoint to your MCP client configuration.
MCP Mempool connects AI tools to Bitcoin network data via mempool.space. It provides REST-based queries for address balances, UTXOs, transactions, and recommended fees, as well as WebSocket streaming tools for live blocks, mempool statistics, fee charts, and address tracking.
MCP Mempool works with any Model Context Protocol client supporting HTTP or command-based remote connections, including Claude Desktop and Amazon Q Developer using tools like npx mcp-remote or streamable HTTP configurations.
Yes, MCP Mempool is open-source software distributed under the MIT License. The code is publicly available on GitHub for modification, contribution, and deployment.