memory-lean is an MCP server that gives Claude Code, Claude Desktop, Cursor and any other MCP client a knowledge graph that persists between sessions. It is a drop-in replacement for the reference…
memory-lean is an MCP project maintained in the zamansheikh/memory-lean repository. The maintainer describes its purpose as “memory-lean is an MCP server that gives Claude Code, Claude Desktop, Cursor and any other MCP client a knowledge graph that persists between sessions. It…”. Read the project documentation for the complete scope.
The documented npm package is memory-lean. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.
Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-13.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| search_nodes | Ranked list of entity names with counts and up to two matching snippets each. Every word must match the name, type, an observation, or the type of a relation… |
| open_nodes | The full entities you name, as compact text, with every relation touching them. Unknown names come back with "did you mean" suggestions. |
| read_graph | An index: entity names grouped by type, with observation counts. Never the observations. |
| create_entities | Creates entities; existing names are skipped. |
| create_relations | Creates relations between existing entities; duplicates are skipped. |
| add_observations | Adds facts to an entity, enforcing the length limit and the per-entity cap. |
| rename_entity | Renames an entity, keeping its observations, relations and archive. Not in the reference server. |
| archived_observations | Lists what was archived for an entity, optionally filtered, and can restore chosen observations. Not in the reference server. |
| delete_observations | Removes observations by exact text. |
| delete_relations | Removes specific relations. |
| delete_entities | Removes entities and every relation touching them. |
{
"mcpServers": {
"memory": {
"command": "npx",
"args": [
"-y",
"memory-lean"
]
}
}
}From the project documentation. Replace placeholders and example paths before connecting.
Read, search and edit files inside allowed directories with the Model Context Protocol reference Filesystem server.
Retrieve version-aware library documentation and code examples with Context7 MCP, using resolve-library-id and query-docs.
Use Microsoft’s Playwright MCP server to navigate pages, inspect accessibility snapshots, fill forms and capture browser screenshots.
Connect GitHub MCP to repositories, issues and pull requests with GitHub’s hosted service or a locally run server.
Use the Supabase MCP server to inspect database schemas, query project data and retrieve docs through a project-scoped connection.
Search Linear issues and projects, inspect work context and manage updates through Linear’s hosted MCP server with OAuth.