Today we're launching Lightning Faucet MCP, the first production-ready infrastructure that enables AI agents to hold Bitcoin and make Lightning Network payments autonomously.

The Problem: Brilliant Workers That Can't Buy a Coffee

AI agents have become remarkably capable. They can write code, analyze data, browse the web, and complete complex multi-step tasks. But despite all this capability, they remain economically constrained. They cannot pay for premium APIs, purchase compute resources, or participate in economic transactions without human intervention.

Every time an AI needs to access a paid service, a human must step in with credentials or credit card details. This bottleneck fundamentally limits what autonomous agents can accomplish.

The Solution: Lightning-Speed AI Payments

Lightning Faucet MCP is an npm package that integrates with Claude Code and other Model Context Protocol (MCP) compatible AI tools. It gives your AI agent its own Bitcoin balance with isolated funds and operator oversight, the ability to pay any BOLT11 Lightning invoice instantly, automatic L402 protocol support for pay-per-request API access, and even the ability to generate invoices and receive payments.

How L402 Changes Everything

The L402 protocol (formerly LSAT) is the key innovation that makes AI-to-API commerce possible. When an agent requests content from an L402-protected endpoint, the server returns HTTP 402 with a Lightning invoice. The agent pays automatically and gets access. No API keys, no subscriptions, no human intervention required.

This enables a new model of API monetization: pay per request. API providers can now serve AI customers without managing accounts or credentials. The market sets the price through natural supply and demand.

The Operator and Agent Hierarchy

Security is built into the architecture. Operators (businesses or individuals) create and fund agents with spending limits. Agents operate within their budgets and cannot exceed them. Every transaction is logged for audit trails.

This hierarchy mirrors how businesses work. A company funds departments with budgets, and departments operate autonomously within those constraints.

Getting Started

Installation is one command: npm install -g lightning-faucet-mcp

Add it to your Claude Code configuration, and your AI can self-register as an operator. No pre-existing credentials required.

Try Our Demo L402 APIs

We've built demo endpoints so you can test the system immediately. Visit /api/l402/fortune for a fortune (10-50 sats), /api/l402/joke for a joke (10-50 sats), or /api/l402/quote for an inspirational quote (10-50 sats).

Why Lightning?

Lightning is the only payment network fast enough for AI. Transactions settle in milliseconds, faster than an API call. Fees are sub-cent. And it's global, permissionless, and censorship-resistant.

Most importantly, Lightning enables micropayments. An AI can pay 10 satoshis (a fraction of a cent) for a single API call. This granularity of payment wasn't possible before.

What's Next

We're building the payment rails for the AI economy. Future developments include multi-agent payment coordination, an agent-to-agent services marketplace, automated budget management, and enterprise deployment options.

Get Involved

Lightning Faucet MCP is open-source under MIT license. We welcome contributions, feedback, and ideas.

npm: lightning-faucet-mcp
Docs: lightningfaucet.com/ai-agents/docs
Demo: lightningfaucet.com/ai-agents/demo

The future of AI isn't just autonomous task completion. It's autonomous economic participation. We're building the infrastructure to make that possible.

Built with Bitcoin. Powered by Lightning.