₿itcoin & Lightning Network MCP Server
Documentation | Try with Claude | Try with Goose
Overview
A Model Context Protocol (MCP) server that enables AI models to interact with Bitcoin and Lightning Network, allowing them to generate keys, validate addresses, decode transactions, query the blockchain, and more.
🎮 Demo
| Claude Demo Video | Goose Demo Video |
|---|---|
![]() |
![]() |
💼 Table of Contents
- ₿itcoin & Lightning Network MCP Server
- Overview
- 🎮 Demo
- 💼 Table of Contents
- 🔧 Features
- 🔑 Claude Desktop Integration
- Testing the Claude Desktop Integration
- 🦆 Goose Integration
- Using STDIO (Local Extension)
- Using SSE (Remote Extension)
- Using STDIO (Local Extension)
- 📦 Development Setup
- Lightning Network Configuration (Optional)
- 📦 Available Tools
- 🚨 Error Handling
- 🤝 Contributing
- 📝 License
🔧 Features
- Key Generation: Create new Bitcoin key pairs — including address, public key, and private key (WIF).
- Address Validation: Validate the correctness of a Bitcoin address.
- Transaction Decoding: Parse a raw Bitcoin transaction and display its details in a human-readable format.
- Blockchain Queries:
- Latest Block: Retrieve details about the most recent block (hash, height, timestamp, transaction count, etc.).
- Transaction Details: Fetch detailed information about a transaction using its TXID.
- Lightning Network:
- Invoice Decoding: Parse a BOLT11 Lightning invoice and display human-readable information.
- Payment: Pay a Lightning invoice directly from your LNBits wallet.









