Memory Lean runs on your own machine — the client starts it, so there is no endpoint to ping. 265 installs a week from npm. Last commit 16 Oct 2026.
Token-lean memory for AI agents: a knowledge graph searched cheaply. Drop-in for server-memory.
We read the source, 1 d ago · rules 995398eba69f
What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.
try { spawn(cmd, args, { stdio: "ignore", detached: true }).on("error", () => {}).unref(); } catch {}
else if (k === "html") el.innerHTML = v; // only ever used with the static ICONS below
Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.
We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add memory-lean -- npx -y memory-lean
{
"mcpServers": {
"memory-lean": {
"command": "npx",
"args": [
"-y",
"memory-lean"
]
}
}
}
[mcp_servers.memory-lean]
command = "npx"
args = ["-y", "memory-lean"]
{
"mcpServers": {
"memory-lean": {
"command": "npx",
"args": [
"-y",
"memory-lean"
]
}
}
}
{
"servers": {
"memory-lean": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"memory-lean"
]
}
}
}
Optional settings from the registry entry, left out of the block above:
MEMORY_FILE_PATH (Where the graph file lives (default ~/.claude/memory-graph/memory.jsonl)).
Knowledge-graph memory server for AI tools via MCP
Shared, serverless, conflict-free knowledge-graph memory for AI agents
Cognitive memory for AI agents — semantic search, Hebbian learning, knowledge graphs.
Local knowledge graph memory MCP server for AI assistants.
Cross-session memory for AI agents - knowledge graph, scoring, semantic search
Event-sourced knowledge graph memory for AI coding agents with semantic search
Graph memory that dreams: Neo4j knowledge-graph memory for AI agents with hybrid search
Persistent memory infrastructure for AI agents. Identity, knowledge graph, and search.
Answers built from our own checks of this server.