get_mining_pool_rankings
Retrieve top 10 Bitcoin mining pools by hashrate share to analyze mining centralization and pool dominance trends.
Instructions
Get top 10 Bitcoin mining pools by hashrate share over the last week. Returns pool name, percentage of total hashrate, and block count. Use this to understand mining centralization and pool dominance.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |
Implementation Reference
- src/bitcoin_mcp/server.py:1589-1614 (handler)The implementation of the get_mining_pool_rankings tool, which fetches data from the mempool.space API to provide mining pool rankings.
Args: txid: Transaction ID (64-character hex string) """ result = _query_indexed_api(f"tx/{txid}") if "error" not in result: return json.dumps(result) # Fallback to mempool.space data = _query_mempool_space(f"tx/{txid}") if isinstance(data, dict) and "error" in data: return json.dumps(data) if isinstance(data, dict): data["source"] = "mempool.space" return json.dumps(data) @mcp.tool() def get_indexer_status() -> str: """Check the blockchain indexer sync progress. Returns current indexed height, chain tip, sync percentage, blocks/sec, and ETA. Use this to check if the indexer is running and how far along the initial sync is. """ result = _query_indexed_api("status") return json.dumps(result)