Skip to main content

Give Your AI Agent a Bitcoin Wallet

Lightning payments for Claude Code, Cursor, OpenClaw, and any MCP-compatible agent.

$ npx lightning-wallet-mcp

Your agent registers itself with one tool call. No signup forms, no keys to copy.

Quick Start

Give your AI agent a Bitcoin wallet. One command, zero API keys.

Terminal
npx lightning-wallet-mcp

Your agent registers itself with the register_operator tool. Works with Claude Code, Cursor, and any MCP client.

Claude Code Config
{
  "mcpServers": {
    "lightning-wallet": {
      "command": "npx",
      "args": ["lightning-wallet-mcp"]
    }
  }
}

Add to .mcp.json in your project, or run: claude mcp add lightning-wallet -- npx lightning-wallet-mcp

Terminal
# Install globally
npm install -g lightning-wallet-mcp

# Register a new agent wallet
lw register

# Check balance (JSON stdout)
lw balance

# Pay an L402 API
lw pay-api https://lightningfaucet.com/api/l402/fortune

14 commands available. JSON output for easy parsing in scripts and CI.

Pricing

Free to start. 2% on payments.
No setup fees or monthly costs
1 sat minimum payment
Withdraw to self-custody anytime
No KYC required

Give your agent a wallet

$ npx lightning-wallet-mcp