{
  "serverInfo": {
    "name": "bitcoin",
    "version": "0.5.0",
    "description": "MCP server for Bitcoin - 49 tools for AI agents to save money on fees. Zero config, works out of the box.",
    "homepage": "https://bitcoinsapi.com/mcp-setup",
    "repository": "https://github.com/Bortlesboat/bitcoin-mcp",
    "package": "https://pypi.org/project/bitcoin-mcp/",
    "registryId": "io.github.Bortlesboat/bitcoin-mcp",
    "llms": "https://bitcoinsapi.com/llms.txt",
    "openapi": "https://bitcoinsapi.com/api/openapi.json",
    "x402": "https://bitcoinsapi.com/.well-known/x402"
  },
  "capabilities": {
    "tools": { "listChanged": false },
    "resources": { "subscribe": false, "listChanged": false },
    "prompts": { "listChanged": false }
  },
  "tools": [
    { "name": "get_blockchain_info", "description": "Get Bitcoin blockchain overview: chain, block height, sync progress, difficulty, pruning, and active softfork deployments." },
    { "name": "get_block_count", "description": "Get the current block height (number of blocks in the longest chain)." },
    { "name": "get_node_status", "description": "Get comprehensive Bitcoin node status: version, network, sync state, mempool, connections, and relay fees." },
    { "name": "get_peer_info", "description": "Get connected peer details: addresses, versions, latencies, and data transferred." },
    { "name": "get_network_info", "description": "Get network-level info: protocol version, connections, relay fees, and local addresses." },
    { "name": "get_mining_info", "description": "Get mining info: difficulty, network hashrate, and current block template size." },
    { "name": "get_mining_pool_rankings", "description": "Get estimated mining pool rankings from recent blocks." },
    { "name": "get_chain_tips", "description": "Get information about all known chain tips including orphaned branches." },
    { "name": "get_chain_tx_stats", "description": "Get transaction statistics over a window of blocks." },
    { "name": "get_utxo_set_info", "description": "Get UTXO set statistics: total UTXOs, total BTC, and disk size." },
    { "name": "analyze_block", "description": "Analyze a Bitcoin block by height or hash." },
    { "name": "get_block_stats", "description": "Get detailed statistics for a block." },
    { "name": "search_blocks", "description": "Search recent blocks for notable patterns." },
    { "name": "analyze_mempool", "description": "Analyze the Bitcoin mempool: size, fees, and congestion." },
    { "name": "analyze_next_block", "description": "Preview what the next mined block might look like." },
    { "name": "get_mempool_info", "description": "Get raw mempool statistics." },
    { "name": "get_mempool_entry", "description": "Get mempool entry details for a specific transaction." },
    { "name": "get_mempool_ancestors", "description": "Get unconfirmed parent transactions of a mempool transaction." },
    { "name": "analyze_transaction", "description": "Analyze a Bitcoin transaction by txid." },
    { "name": "decode_raw_transaction", "description": "Decode a raw transaction hex string." },
    { "name": "send_raw_transaction", "description": "Broadcast a signed raw transaction to the Bitcoin network." },
    { "name": "get_fee_estimates", "description": "Get fee estimates for different confirmation targets." },
    { "name": "estimate_smart_fee", "description": "Get Bitcoin Core's fee estimate for a specific confirmation target." },
    { "name": "compare_fee_estimates", "description": "Compare fee estimates across multiple confirmation targets." },
    { "name": "get_fee_recommendation", "description": "Get a simple fee recommendation based on current mempool conditions." },
    { "name": "estimate_transaction_cost", "description": "Estimate the cost of a transaction in sats and USD." },
    { "name": "check_utxo", "description": "Check if a specific UTXO is unspent." },
    { "name": "explain_script", "description": "Decode a Bitcoin Script hex and break down the opcodes." },
    { "name": "get_address_utxos", "description": "Scan the UTXO set for all unspent outputs belonging to an address." },
    { "name": "validate_address", "description": "Validate a Bitcoin address and return its type." },
    { "name": "get_difficulty_adjustment", "description": "Calculate difficulty adjustment progress." },
    { "name": "compare_blocks", "description": "Compare block statistics between two block heights." },
    { "name": "search_blockchain", "description": "Search for blocks, transactions, or addresses." },
    { "name": "get_btc_price", "description": "Get current BTC/USD price from CoinGecko." },
    { "name": "get_supply_info", "description": "Get Bitcoin supply data: circulating supply, inflation rate, halving countdown." },
    { "name": "get_halving_countdown", "description": "Get countdown to the next Bitcoin halving." },
    { "name": "get_market_sentiment", "description": "Get Bitcoin Fear & Greed Index." },
    { "name": "decode_bolt11_invoice", "description": "Decode a BOLT11 Lightning invoice." },
    { "name": "generate_keypair", "description": "Generate a new Bitcoin address via the connected node's wallet." },
    { "name": "get_situation_summary", "description": "Get a comprehensive Bitcoin network situation summary." },
    { "name": "describe_rpc_command", "description": "Get help text for a specific Bitcoin Core RPC command." },
    { "name": "list_rpc_commands", "description": "List all available Bitcoin Core RPC commands." },
    { "name": "query_remote_api", "description": "Query a remote Satoshi API instance." },
    { "name": "get_address_balance", "description": "Get indexed address balance and transaction summary." },
    { "name": "get_address_history", "description": "Get indexed address transaction history." },
    { "name": "get_indexed_transaction", "description": "Get full indexed transaction details including input values." },
    { "name": "get_indexer_status", "description": "Get Bitcoin transaction indexer status and sync progress." },
    { "name": "analyze_psbt_security", "description": "Analyze a PSBT for inscription listing sniping vulnerabilities." },
    { "name": "explain_inscription_listing_security", "description": "Explain the PSBT sighash vulnerability used to snipe ordinals listings." }
  ],
  "resources": [
    { "uri": "bitcoin://connection/status", "name": "Connection Status", "description": "Connection status: mode, network, and whether connected." },
    { "uri": "bitcoin://node/status", "name": "Node Status", "description": "Current node status summary." },
    { "uri": "bitcoin://fees/current", "name": "Current Fees", "description": "Current fee estimates." },
    { "uri": "bitcoin://mempool/snapshot", "name": "Mempool Snapshot", "description": "Current mempool summary." },
    { "uri": "bitcoin://protocol/script-opcodes", "name": "Script Opcodes", "description": "Bitcoin Script opcodes reference." },
    { "uri": "bitcoin://protocol/address-types", "name": "Address Types", "description": "Bitcoin address types reference." },
    { "uri": "bitcoin://protocol/sighash-types", "name": "Sighash Types", "description": "Signature hash types reference." }
  ],
  "prompts": [
    { "name": "analyze_fee_environment", "description": "Analyze the current Bitcoin fee environment." },
    { "name": "investigate_transaction", "description": "Deep-dive investigation of a transaction." },
    { "name": "monitor_mempool_fees", "description": "Monitor mempool and alert on fee changes." },
    { "name": "taproot_adoption_report", "description": "Analyze Taproot adoption trends." },
    { "name": "network_health_report", "description": "Generate a comprehensive network health report." },
    { "name": "track_transaction", "description": "Track a transaction from mempool to confirmation." }
  ]
}
