PLANNT L402 / LIGHTNING
PROBLEM MCP + CLI DOCS WHITEPAPER GITHUB ↗
MAY 2026 / IN BUILD

One server.
One binary.

Plannt is shipping two new surfaces in May 2026. A Model Context Protocol server for agents that need to pay APIs natively. A single-binary CLI for humans who want to feel the protocol in the terminal they already have open.

WHAT IT IS

An MCP server that pays its own way.

The Plannt MCP server exposes L402-gated endpoints as native tool calls. Claude, Cursor, Cline, and every other MCP-compatible runtime discover a paid API, receive the 402 invoice, hand it to a Lightning wallet, and complete the request inside a single tool invocation. The agent talks directly to the protocol.

HOW IT'S USED

One line in your MCP config.

The MCP server registers as a standard stdio transport. Drop it into your MCP client config alongside your existing tools, point it at the API base URL, and the agent has machine-native access to every L402-gated endpoint behind it.

~/.config/claude/mcp.json
{
  "mcpServers": {
    "plannt": {
      "command": "npx",
      "args": ["-y", "@plannt/mcp"],
      "env": {
        "PLANNT_API_BASE": "https://api.plannt.com",
        "LIGHTNING_WALLET": "alby"
      }
    }
  }
}
$

WHAT IT IS

curl, but it can pay.

A single-binary command-line client that speaks L402. Hit any Plannt-gated endpoint and the CLI handles the 402, the Lightning payment, and the retry in one step. Pipe the response into anything you would pipe a curl response into.

HOW IT'S INSTALLED

One install. No runtime.

Static binary on every major platform. Zero runtime dependencies. Bring your own Lightning wallet: Alby, Phoenix, Mutiny, or a self-custodied LND node. The CLI handles invoice parsing, payment, preimage extraction, and the retry.

01 / INSTALL
$ brew install HashRails/tap/plannt

# or:
$ curl -sSL install.plannt.com | sh
02 / CONFIGURE
$ plannt wallet connect alby
 connected. balance: 42,000 sats

$ plannt config set max-spend 1000
03 / CALL
$ plannt get https://api.plannt.com/v1/demo
402 Payment Required. invoice: 21 sats
 paying...  preimage verified
200 { "result": "verified" }
LIVE NOW

API

L402 server, three protected endpoints, BOLT11 invoice generation via LND. Running at api.plannt.com.

IN BUILD MAY 2026

MCP Server

Standard MCP transport. Native tool calls for Claude, Cursor, Cline, and the rest of the agent fleet.

IN BUILD MAY 2026

CLI

Single static binary. Homebrew tap and curl install. Pay-and-retry in one command.

PLANNED Q3 2026

Agent SDKs

Native bindings for Node.js and Python. Drop-in L402 detection loops for existing agent frameworks.

Want it on day one?

Early access for the first wave of integrators. Lightning-native agent builders to the front.