Mempool.space▌

by alexandresanlim
Access real-time Bitcoin data, transaction details, and mining stats via the Mempool.space API for developers and trader
Integrates with mempool.space APIs to provide real-time Bitcoin network data including transaction details, block information, address balances, mining statistics, and fee recommendations for developers and traders.
best for
- / Bitcoin developers building wallet applications
- / Cryptocurrency traders monitoring network conditions
- / Blockchain analysts researching Bitcoin transactions
- / Financial applications requiring Bitcoin data
capabilities
- / Query Bitcoin address balances and transaction history
- / Get real-time Bitcoin block data and mining statistics
- / Retrieve current Bitcoin price and fee recommendations
- / Access mempool data and pending transactions
- / Lookup specific transaction details and status
- / Monitor Bitcoin network difficulty and mining pools
what it does
Provides real-time Bitcoin blockchain data through mempool.space APIs, including transaction details, block information, address balances, and network statistics.
about
Mempool.space is a community-built MCP server published by alexandresanlim that provides AI assistants with tools and capabilities via the Model Context Protocol. Access real-time Bitcoin data, transaction details, and mining stats via the Mempool.space API for developers and trader It is categorized under finance, analytics data. This server exposes 31 tools that AI clients can invoke during conversations and coding sessions.
how to install
You can install Mempool.space in your AI client of choice. Use the install panel on this page to get one-click setup for Cursor, Claude Desktop, VS Code, and other MCP-compatible clients. This server runs locally on your machine via the stdio transport. This server supports remote connections over HTTP, so no local installation is required.
license
MIT
Mempool.space is released under the MIT license. This is a permissive open-source license, meaning you can freely use, modify, and distribute the software.
readme
🚀 Mempool MCP Server
A Model Context Protocol (MCP) server providing real-time Bitcoin blockchain and mempool data, powered by mempool.space APIs. Use this server as a tool provider in your MCP-compatible clients (like Claude, Cursor, and others) to access up-to-date Bitcoin network information. Its an unofficial repository.
🛠️ Available Bitcoin Tools
| Tool Name | Description |
|---|---|
| get-difficulty-adjustment | Get current and next Bitcoin difficulty adjustment info. |
| get-price | Get the current BTC price in various fiat currencies. |
| get-historical-price | Get the BTC price for a specific date (YYYY-MM-DD). |
| get-recommended-fees | Get recommended Bitcoin transaction fees. |
| get-stats-info | Get general Bitcoin network statistics. |
| get-mining-pools | Get mining pools info. |
| get-mining-pool | Get info for a specific mining pool. |
| get-mining-blocks-fees-24h | Get mining blocks fees for the last 24h. |
| get-mempool-info | Get mempool info. |
| get-mempool-txids | Get mempool txids. |
| get-mempool-recent | Get recent mempool transactions. |
| get-blocks | Get the latest blocks. |
| get-block | Get details about a block from its hash. |
| get-block-txids | Get txids for a block. |
| get-block-txs | Get transactions for a block. |
| get-block-status | Get block status. |
| get-block-raw | Get raw block hex. |
| get-block-txid-by-index | Get block txid by index. |
| get-block-header | Get the block header in hex. |
| get-address-info | Get details about an address. |
| get-address-txs | Get transactions for an address. |
| get-address-txs-chain | Get chain transactions for an address. |
| get-address-txs-mempool | Get mempool transactions for an address. |
| get-address-utxo | Get UTXOs for an address. |
| get-tx-info | Get details about a transaction. |
| get-tx-status | Get transaction status. |
| get-tx-raw | Get raw transaction hex. |
| get-tx-merkleblock-proof | Get transaction merkleblock proof. |
| get-tx-outspend | Get outspend info for a transaction output. |
| get-tx-outspends | Get outspends for all outputs of a transaction. |
🤖 What is MCP?
Model Context Protocol (MCP) is a standard for tool providers to communicate with AI clients via standard input/output. This server lets you plug Bitcoin data tools into any MCP-compatible client.
⚡ Quick Start: Use in Your MCP Client
You can configure this server as a tool provider in your MCP Client such Claude, Cursor, VsCode and others:
"mempool-mcp-server": {
"command": "npx",
"args": [
"@sanlim/mempool-mcp-server"
]
},
[!TIP] To connect locally for privacy and unlimited calls, you can pass the base mempool API URL as an environment config from your local Bitcoin node such as Umbrel, MyNode, etc. See below:
"mempool-mcp-server-local": { "command": "npx", "args": [ "@sanlim/mempool-mcp-server" ], "env": { "MEMPOOL_BASE_URL": "http://umbrel.local:3006/api" } },Check this working with "mempool url" text on your MCP Client.
<img src='https://github.com/alexandresanlim/mempool-mcp-server/blob/main/src/application/images/base_url_check.png?raw=true' width=600 />
Enjoy!
or
🛠️ Using a Local Build
- Clone this repository:
git clone https://github.com/alexandresanlim/mempool-mcp-server.git
- Install and build:
npm install
npm run build
npm run server
- Configure your MCP client:
"mempool-mcp-server-debug": {
"command": "node",
"args": [
"...replace_to_path_of_project/mempool-mcp-server/build/main.js"
]
},
The server will start and listen for MCP requests via standard input/output. 🎉
📚 Reference & Troubleshooting
- Full API reference: mempool.space API docs
- If you have issues, make sure your build is up to date and your MCP client is configured to use stdio.
- For questions or contributions, feel free to open an issue or pull request!
Made with ❤️ by a bitcoiner. Enjoy!
FAQ
- What is the Mempool.space MCP server?
- Mempool.space is a Model Context Protocol (MCP) server profile on explainx.ai. MCP lets AI hosts (e.g. Claude Desktop, Cursor) call tools and resources through a standard interface; this page summarizes categories, install hints, and community ratings.
- How do MCP servers relate to agent skills?
- Skills are reusable instruction packages (often SKILL.md); MCP servers expose live capabilities. Teams frequently combine both—skills for workflows, MCP for APIs and data. See explainx.ai/skills and explainx.ai/mcp-servers for parallel directories.
- How are reviews shown for Mempool.space?
- This profile displays 10 aggregated ratings (sample rows for discoverability plus signed-in user reviews). Average score is about 4.5 out of 5—verify behavior in your own environment before production use.
Ratings
4.5★★★★★10 reviews- ★★★★★Shikha Mishra· Oct 10, 2024
Mempool.space is among the better-indexed MCP projects we tried; the explainx.ai summary tracks the official description.
- ★★★★★Piyush G· Sep 9, 2024
We evaluated Mempool.space against two servers with overlapping tools; this profile had the clearer scope statement.
- ★★★★★Chaitanya Patil· Aug 8, 2024
Useful MCP listing: Mempool.space is the kind of server we cite when onboarding engineers to host + tool permissions.
- ★★★★★Sakshi Patil· Jul 7, 2024
Mempool.space reduced integration guesswork — categories and install configs on the listing matched the upstream repo.
- ★★★★★Ganesh Mohane· Jun 6, 2024
I recommend Mempool.space for teams standardizing on MCP; the explainx.ai page compares cleanly with sibling servers.
- ★★★★★Oshnikdeep· May 5, 2024
Strong directory entry: Mempool.space surfaces stars and publisher context so we could sanity-check maintenance before adopting.
- ★★★★★Dhruvi Jain· Apr 4, 2024
Mempool.space has been reliable for tool-calling workflows; the MCP profile page is a good permalink for internal docs.
- ★★★★★Rahul Santra· Mar 3, 2024
According to our notes, Mempool.space benefits from clear Model Context Protocol framing — fewer ambiguous “AI plugin” claims.
- ★★★★★Pratham Ware· Feb 2, 2024
We wired Mempool.space into a staging workspace; the listing’s GitHub and npm pointers saved time versus hunting across READMEs.
- ★★★★★Yash Thakker· Jan 1, 2024
Mempool.space is a well-scoped MCP server in the explainx.ai directory — install snippets and categories matched our Claude Code setup.