Turns Claude into a Lightning-enabled API consumer that can automatically pay for L402-protected endpoints in Bitcoin satoshis. The server wraps the l402-kit client, letting Claude hit paywalled APIs by detecting HTTP 402 responses, paying BOLT11 invoices via Blink or Alby wallets, and resubmitting requests with proof of payment. You'd use this when prototyping AI agents that need to consume metered or premium APIs without manual payment intervention, especially in jurisdictions where traditional payment rails are slow or expensive. The underlying kit supports TypeScript, Python, Go, and Rust, but this MCP wrapper is stdio-based and expects wallet credentials in environment variables. Works with any API that implements the L402 protocol, though the ecosystem is still emerging.
claude mcp add --transport stdio shinydapps-l402-kit uvx l402-kit