Token-lean memory for AI agents: a knowledge graph searched cheaply. Drop-in for server-memory.
MCPpedia last refreshed this data
io.github.zamansheikh/memory-lean is an MCP server that token-lean memory for AI agents: a knowledge graph searched cheaply. Drop-in for server-memory. Its tool list has not been published yet over stdio, sse and http, requires no API key, and scores 89/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"memory": {
"args": [
"-y",
"memory-lean"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Token-lean memory for AI agents: a knowledge graph searched cheaply. Drop-in for server-memory.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y 'memory-lean' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked memory-lean against OSV.dev.
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in ai-ml
🛡️ BLA (Blind LLM Agents) — Adversarial defense shield that protects binaries, Electron apps, JS bundles, Python, and WebAssembly against AI reverse-engineering agents like REA. Poison -> Exhaust -> Hallucinate.
The official MCP server implementation for the Perplexity API Platform
Unified real-time search engine skill for AI agents.
Study screens, flows and paywalls from top-earning iOS apps, then build from what wins.
MCP Security Weekly
Get CVE alerts and security updates for io.github.zamansheikh/memory-lean and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Long-term memory for AI coding agents that doesn't burn the context window.
A knowledge graph your agent searches cheaply, and a web UI where you can see and edit all of it.
Install · Quick start · Web UI · How it works · Tools · Setup for 13 agents · Contributing
memory-lean is an MCP server that gives Claude
Code, Codex, Cursor, MiMo Code and any other MCP client a memory that lasts between
sessions: which projects exist, what depends on what, which version shipped, what
is still pending, and which rules were learned the hard way. It is a drop-in
replacement for the reference memory server
(@modelcontextprotocol/server-memory),
with the same file and tool names, but its answers are about 40 times smaller.
memory-lean needs Node.js 18 or newer and nothing else.
npm install -g memory-lean # install
npm install -g memory-lean@latest # update to the newest release
memory-lean --version # the version you have
Installed this way, the command in your agent's MCP config is memory-lean.
The other two ways to run it need no npm command:
| Install | Update | |
|---|---|---|
| npx | Nothing to install: the config in Quick start runs npx -y memory-lean | Automatic: npx fetches the newest release when the agent starts the server |
| Claude Code plugin | In Claude Code:/plugin marketplace add zamansheikh/memory-lean/plugin install memory-lean@memory-lean | In a terminal:claude plugin marketplace update memory-leanclaude plugin update memory-lean@memory-lean |
memory server in your
agent (/mcp in Claude Code).~/.claude/memory-graph/memory.jsonl unless you moved
it), and every version reads the same file.memory-lean@latest in the config instead of
memory-lean.Wh