FRENES

Memory and knowledge · MCP server

Lean memory: MCP server, setup and security

Lean memory is an open-source MCP server that lets an AI agent retrieve local memories and query their history at any past time. Its repository has 43 stars and its last commit is from August 7, 2026 and it is licensed under Apache-2.0.

Actively maintained

What Lean memory does

According to its repository: “Embedded local agent memory in one SQLite file per namespace: hybrid retrieval, append-only history queryable at any past time and human-reviewed maintenance.”

An MCP server gives an AI agent extra tools it calls during the conversation: the agent reads their description, decides to use them and gets the result back. Lean memory is listed under Memory and knowledge, a category of 250 servers in the directory, where it ranks #112 by stars.

Installing and connecting Lean memory

Distribution modes declared in the official MCP registry:

  • PyPI package (Python, started with uvx or pip)

Like any MCP server, you declare it in your client's configuration (Claude Desktop, Claude Code, Cursor, VS Code, Codex…): a name, the command that starts it or its URL, and any environment variables. The client then starts it and lists its tools. Project language: Python. Listed systems: macOS, Windows, Linux.

Security: what to check

An MCP server runs code with the rights you give it, and the model reads its tool descriptions: a malicious or compromised server can hijack the agent. Read the code, or pick a maintained and widely used server, before connecting it.

None of the risk signals we track (system access, secrets, missing licence, abandonment) applies to Lean memory. That does not replace reading the code.

Good practice: grant only the rights needed (least privilege), require human approval for irreversible actions, and run the AI agent security check.

Project activity and maintenance

Created on June 21, 2026, the Wuesteon/lean-memory repository has 43 stars and 40 forks, with 2 open issues. It has more stars than 49% of the servers in the directory. Last change 3 months ago. Version published in the registry: 0.3.0 (August 7, 2026).

Stars measure attention, not quality: a recent, heavily promoted project can collect them fast, while a useful but niche server will have few.

Context7Context7 : 63.6K63.6KHindsightHindsight : 53.4K53.4KCogneeCognee : 32.7K32.7KSkill SeekersSkill Seekers : 15.2K15.2KHonchoHoncho : 7.8K7.8KBasic memoryBasic memory : 4.3K4.3KNoteDiscoveryNoteDiscovery : 2.8K2.8KMemantoMemanto : 2.3K2.3KLean memoryLean memory : 4343
GitHub stars of the most followed servers in the category (log scale); Lean memory in orange. Checked October 25, 2026.

Verdict

Lean memory is a reasonable choice; check the points below before connecting it.

Strengths

  • Active project: recent commit
  • Listed in the official MCP registry
  • Permissive licence (Apache-2.0)

Frequently asked questions

How do I install Lean memory?

Lean memory is distributed as PyPI package (Python, started with uvx or pip). Add it to your client's MCP configuration (Claude Desktop, Cursor, VS Code…) following the README of Wuesteon/lean-memory.

Is Lean memory free?

The code is published under the Apache-2.0 licence and can be used free of charge.

Is Lean memory safe?

No risk signal found (system access, secrets, licence, abandonment). As with any MCP server, keep rights minimal and read the code before sensitive use.

Is it an official server?

Nothing says so: it is a project published by Wuesteon on GitHub. Check who maintains it before giving it access.

What are the alternatives to Lean memory?

In the same category: Context7, Basic memory, Hindsight, and Cognee. Context7 and Basic memory score higher on our grid.

Related articles

Neutrality. No affiliate links. No vendor pays to be reviewed, rated or ranked. Reviews are directed by François Chollet, neutral and factual, and every data point is dated and sourced. How we score