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

Self-registers on first run. No API keys needed.

Quick Start

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

Terminal
npx lightning-wallet-mcp

Self-registers on first run. Works with Claude Code, Cursor, and any MCP client.

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

Add to ~/.claude/settings.json

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