Alby Bitcoin MCP
by Alby
Connect Bitcoin Lightning wallet to AI agents for payments and transactions
finance Node.js Intermediate Self-hostable
β 100 stars π
Updated: 1mo ago
Description
Connect bitcoin Lightning wallet to AI agents for payments and transactions. Send and receive Lightning payments, manage invoices, check balance, and handle Bitcoin operations through MCP. Powered by Alby's Lightning infrastructure, this server enables AI assistants to interact with the Bitcoin Lightning Network β creating invoices, sending instant payments, decoding payment requests, and tracking transaction history. Ideal for developers building AI agents that need programmatic access to Bitcoin micropayments.
β Best for
Developers building AI agents that need Bitcoin Lightning payment capabilities
βοΈ Skip if
You don't work with Bitcoin or prefer on-chain transactions over Lightning
π‘ Use cases
- Sending and receiving Lightning payments through AI assistants
- Creating and managing Bitcoin Lightning invoices via natural language
- Checking wallet balance and transaction history from development tools
- Building AI agents that can autonomously handle Bitcoin micropayments
π Pros
- β Instant Bitcoin payments via Lightning Network with near-zero fees
- β Official Alby integration with robust Lightning infrastructure
- β Simple npx install with Alby account authentication
- β Enables AI agents to handle real monetary transactions
π Cons
- β Requires an Alby account with a connected Lightning wallet
- β Lightning Network channels need sufficient liquidity for payments
- β Real monetary transactions require extra care with security and access control
π§ Exposed tools (5 tools)
| Tool | Category | Description |
|---|---|---|
| list_transactions | history | List recent Lightning transactions and their statuses |
| create_invoice | invoicing | Create a Lightning invoice for receiving payments |
| send_payment | payments | Send a Lightning payment to a recipient |
| decode_invoice | utilities | Decode a Lightning invoice to inspect amount and details |
| check_balance | wallet | Check current wallet balance and available funds |
β‘ Installation
Prerequisites:
- β’ Node.js v18+
- β’ Alby account with connected Lightning wallet
- β’ API key required
Check Claude Code documentation to configure this MCP server.
π‘ Tips & tricks
Start with small amounts to test payment flows before scaling. Use Alby's testnet configuration for development. Always secure your Alby connection credentials and consider setting spending limits for AI agent operations.
π Alternatives
Quick info
- Author
- Alby
- License
- MIT
- Runtime
- Node.js 18+
- Transport
- stdio
- Category
- finance
- Difficulty
- Intermediate
- Self-hostable
- β
- Auth
- β
- Docker
- β
- Version
- latest
- Updated
- Feb 28, 2026
Client compatibility
- β Claude Code
- β Cursor
- β VS Code Copilot
- β Gemini CLI
- β Windsurf
- β Cline
- β JetBrains AI
- β Warp
Platforms
π macOS π§ Linux πͺ Windows