Mempool Space

v0.2.1
io.github.pipeworx-io/mempool-space Checked 1 day ago Published 1 month ago

mempool.space MCP — Bitcoin block explorer + mempool/fee stats

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

mempool_stats

Current mempool size + tx count + total fees.

ParameterTypeDescription
networkstringWhich Bitcoin network. Defaults to mainnet — the real Bitcoin network, which is what "Bitcoin" means in an ordinary question. "bitcoin" and "btc" are accepted as aliases for mainnet.

block_height

Return the current chain tip block height (latest mined block number) for mainnet, testnet, signet, or liquid.

ParameterTypeDescription
networkstringWhich Bitcoin network. Defaults to mainnet — the real Bitcoin network, which is what "Bitcoin" means in an ordinary question. "bitcoin" and "btc" are accepted as aliases for mainnet.

get_block

Block detail by hash or height.

ParameterTypeDescription
hash_or_height *stringBlock hash or numeric height
networkstringWhich Bitcoin network. Defaults to mainnet — the real Bitcoin network, which is what "Bitcoin" means in an ordinary question. "bitcoin" and "btc" are accepted as aliases for mainnet.

get_transaction

Fetch full transaction detail (inputs, outputs, fee, size, confirmation status) for a given txid on mainnet/testnet/signet/liquid.

ParameterTypeDescription
txid *string
networkstringWhich Bitcoin network. Defaults to mainnet — the real Bitcoin network, which is what "Bitcoin" means in an ordinary question. "bitcoin" and "btc" are accepted as aliases for mainnet.

get_tx_status

Return confirmation status (confirmed, block hash, block height) for a txid without fetching the full transaction body.

ParameterTypeDescription
txid *string
networkstringWhich Bitcoin network. Defaults to mainnet — the real Bitcoin network, which is what "Bitcoin" means in an ordinary question. "bitcoin" and "btc" are accepted as aliases for mainnet.

get_address

Address summary (UTXO + tx counts).

ParameterTypeDescription
address *string
networkstringWhich Bitcoin network. Defaults to mainnet — the real Bitcoin network, which is what "Bitcoin" means in an ordinary question. "bitcoin" and "btc" are accepted as aliases for mainnet.

get_address_transactions

Recent Bitcoin transactions touching one address, read from the mempool.space block explorer API (mainnet by default; testnet, signet, and Liquid also selectable). Returns up to 50 transactions with txid, inputs, outputs, values in satoshis, fee, size, and confirmation status. Answers what a BTC address has been sending or receiving lately.

ParameterTypeDescription
address *string
limitnumberDefault 25 (max ~50)
networkstringWhich Bitcoin network. Defaults to mainnet — the real Bitcoin network, which is what "Bitcoin" means in an ordinary question. "bitcoin" and "btc" are accepted as aliases for mainnet.

hashrate

Network hashrate + difficulty history.

ParameterTypeDescription
networkstringWhich Bitcoin network. Defaults to mainnet — the real Bitcoin network, which is what "Bitcoin" means in an ordinary question. "bitcoin" and "btc" are accepted as aliases for mainnet.
periodstring1d | 3d | 1w | 1m | 3m | 6m | 1y | 2y | 3y | all (default 3m)

mining_pools

Block share by mining pool.

ParameterTypeDescription
networkstringWhich Bitcoin network. Defaults to mainnet — the real Bitcoin network, which is what "Bitcoin" means in an ordinary question. "bitcoin" and "btc" are accepted as aliases for mainnet.
periodstring24h | 3d | 1w | 1m | 3m | 6m | 1y | 2y | 3y | all (default 1w)