Skip to main content
Glama

get_node_status

Retrieve Bitcoin node status including chain information, sync progress, disk usage, active connections, and software version to monitor network health.

Instructions

Get Bitcoin network status: chain, height, sync progress, disk usage, connections, version. In hosted API mode, reflects the API server's node.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Implementation Reference

  • The tool `get_node_status` is implemented as a function decorated with `@mcp.tool()`. It calls the helper function `_get_status` (imported from `bitcoinlib_rpc.status`) using the RPC connection retrieved from `get_rpc()`.
    @mcp.tool()
    def get_node_status() -> str:
        """Get Bitcoin network status: chain, height, sync progress, disk usage, connections, version. In hosted API mode, reflects the API server's node."""
        status = _get_status(get_rpc())
        return status.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