Token-lean memory for AI agents: a knowledge graph searched cheaply. Drop-in for server-memory.
Connect Runs on your machine
claude mcp add memory-lean -e MEMORY_FILE_PATH=<MEMORY_FILE_PATH> -- npx -y [email protected]
{
"mcpServers": {
"memory-lean": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MEMORY_FILE_PATH": "<MEMORY_FILE_PATH>"
}
}
}
}
{
"mcpServers": {
"memory-lean": {
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MEMORY_FILE_PATH": "<MEMORY_FILE_PATH>"
}
}
}
}
{
"servers": {
"memory-lean": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"[email protected]"
],
"env": {
"MEMORY_FILE_PATH": "<MEMORY_FILE_PATH>"
}
}
}
}
Replace the values in angle brackets with your own. Keys stay on your machine; we never see them.
Tools
This server runs locally, so its tools are listed by your MCP client once it starts.
Environment variables
| Name | Description |
|---|---|
MEMORY_FILE_PATHOptional | Where the graph file lives (default ~/.claude/memory-graph/memory.jsonl) |
Details
| Package | [email protected] (NPM, stdio) |
| First published | 11 Nov 2026 |
| Last updated | 11 Nov 2026 |
| Registry name | io.github.zamansheikh/memory-lean |
More ai and media servers See all
Listing data from the official MCP registry. Status and tools from NestDaddy's daily check. Browse all MCP servers.
