Documentation Index
Fetch the complete documentation index at: https://docs.boltzpay.ai/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Node.js >= 20.0.0
- Package manager: npm, pnpm, or yarn
SDK
Install the SDK in your TypeScript or JavaScript project:- npm
- pnpm
- yarn
- npm
- pnpm
- yarn
MCP Server (Claude Desktop)
No install needed. Run directly withnpx:
~/Library/Application Support/Claude/claude_desktop_config.json):
fetch, quote, diagnose, budget, history, discover, and wallet. The discover tool now supports protocol, score, and query filters to narrow results.
CLI
No install needed. Run directly withnpx:
- npm
- pnpm
boltzpay command directly:
Credentials Setup
Coinbase CDP (required for payments)
BoltzPay uses Coinbase CDP to sign on-chain transactions (USDC on Base). You need three values:Create an account
Go to portal.cdp.coinbase.com and create an account.
Tempo (MPP protocol)
For MPP endpoints using the Tempo payment channel network. You need a private key (hex-encoded).wallets array:
Tempo wallets enable both one-shot MPP payments and streaming sessions via payment channels. See Sessions for the streaming API.
env block in your Claude Desktop config:
NWC (optional, for L402 protocol)
If you want to pay L402-compatible endpoints (Bitcoin Lightning payments), you need a Nostr Wallet Connect (NWC) connection string from a Lightning wallet.How to get your NWC connection string
- Coinos (recommended) — Free web wallet. Sign up with a username and password, then go to ☰ Menu > ⚙️ Preferences > Nostr > Copy NWC. Your
nostr+walletconnect://...string is ready. - Primal — Free mobile app with built-in Lightning wallet and NWC support.
- Alby Hub — Your own Lightning node. Available as a cloud service ($12.90/mo) or free self-hosted (Docker). Go to Connections > Add Connection to generate the NWC URI.
- Any NWC wallet — Umbrel, Start9, or any wallet listed on nwc.dev.
Set the connection string
Most endpoints today use the x402 protocol (USDC). L402 is a Lightning-native protocol from Lightning Labs. You can enable both simultaneously — the SDK auto-detects which protocol each endpoint uses.