Lightning Memory
Persistent local-first memory for Lightning agents with Nostr sync, payment checks, and vendor intelligence over MCP.
Install Lightning Memory
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"lightning-memory": {
"command": "uvx",
"args": [
"lightning-memory"
]
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
claude mcp add --transport stdio lightning-memory -- uvx lightning-memoryRun in your terminal. Add --scope project to share it with your team through .mcp.json.
We couldn’t confirm it starts correctly
We hit an unexpected error while testing this listing automatically.
uvx lightning-memoryRate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Store and retrieve an agent's Lightning transaction history
- Check vendor reputation before paying an L402 invoice
- Detect unusual payment amounts against historical spending
- Enforce per-vendor spending limits
- Synchronize agent memories through Nostr relays
Key features
- SQLite memory storage with FTS5 search
- Optional semantic search through ONNX
- Nostr relay synchronization and NIP-78 export
- Lightning vendor, budget, and anomaly analysis
- Payment preflight checks
- L402 gateway access for remote queries
Tools6
What Lightning Memory lets your agent do. Expand a tool for its parameters.
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 2d ago via OSV.dev · lightning-memory (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Lightning Memory works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about Lightning Memory
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/lightning-memory)<a href="https://allmcps.com/mcp/lightning-memory"><img src="https://allmcps.com/api/badge/lightning-memory?style=directory" alt="Lightning Memory on AllMCPs" /></a>