This server turns your AI agent into a Lightning-native spender with persistent memory and vendor intelligence. It stores transactions, preferences, and vendor interactions locally in SQLite with FTS5 search, syncs them as NIP-78 events to Nostr relays using BIP-340 keypairs, and exposes 22 MCP tools for querying payment history, checking vendor reputation scores, detecting price anomalies, and enforcing per-vendor budgets. The preflight gate blocks suspicious invoices before you pay them. You can run an L402 gateway so other agents pay sats to query your memory, and discover remote gateways to buy intelligence from the network. Reach for this if you're building autonomous agents that make L402 payments and need spending discipline, vendor trust signals, and cross-session learning without starting from zero every time.
claude mcp add --transport stdio singularityjason-lightning-memory uvx lightning-memory