mempool_stats
Pack: mempool-space · Endpoint: https://gateway.pipeworx.io/mempool-space/mcp
Current mempool size + tx count + total fees.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
network | string | no |
Example call
Arguments
{
"network": "mainnet"
}
curl
curl -X POST https://gateway.pipeworx.io/mempool-space/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mempool_stats","arguments":{"network":"mainnet"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('mempool_stats', {
"network": "mainnet"
});
Response shape
| Field | Type | Description |
|---|---|---|
count | number | Number of transactions in mempool |
vsize | number | Total virtual size in vB |
total_fee | number | Total fees in satoshis |
Full JSON Schema
{
"type": "object",
"properties": {
"count": {
"type": "number",
"description": "Number of transactions in mempool"
},
"vsize": {
"type": "number",
"description": "Total virtual size in vB"
},
"total_fee": {
"type": "number",
"description": "Total fees in satoshis"
}
}
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"mempool-space": {
"url": "https://gateway.pipeworx.io/mempool-space/mcp"
}
}
}
See Getting Started for client-specific install steps.