Memory Lean
Token-efficient MCP memory using a local knowledge graph, ranked search, archived facts, and a browser-based editor.
Install Memory Lean
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"memory-lean": {
"command": "npx",
"args": [
"-y",
"memory-lean"
],
"env": {
"MEMORY_FILE_PATH": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
claude mcp add --env MEMORY_FILE_PATH=YOUR_VALUE_HERE --transport stdio memory-lean -- npx -y memory-leanRun 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.
npx -y memory-leanRate 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 project decisions across coding sessions
- Search remembered facts before starting a task
- Track dependencies, versions, rules, and pending work
- Review and edit agent memory in a browser
- Restore older facts from the archive
Key features
- Ranked lexical entity search with compact snippets
- Knowledge graph of entities, relations, and observations
- Archived facts with selective restoration
- Local JSONL storage with backups and write locking
- Optional browser-based graph editor
- Drop-in compatibility with the reference memory server
Tools12
What Memory Lean 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 12h ago via OSV.dev · memory-lean (npm)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How Memory Lean 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 Memory Lean
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/memory-lean)<a href="https://allmcps.com/mcp/memory-lean"><img src="https://allmcps.com/api/badge/memory-lean?style=directory" alt="Memory Lean on AllMCPs" /></a>