Skip to main content
Glama

analyze_mempool

Analyze Bitcoin mempool to monitor transaction count, fee distribution, network congestion, and estimate next-block minimum fees for transaction planning.

Instructions

Analyze the mempool: tx count, fee buckets, congestion level, next-block minimum fee.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The tool 'analyze_mempool' is registered using the @mcp.tool() decorator and its handler calls '_analyze_mempool' imported from 'bitcoinlib_rpc.mempool'.
    @mcp.tool()
    def analyze_mempool() -> str:
        """Analyze the mempool: tx count, fee buckets, congestion level, next-block minimum fee."""
        summary = _analyze_mempool(get_rpc())
        return summary.model_dump_json()

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Bortlesboat/bitcoin-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server