lean-memory
io.github.Wuesteon/lean-memory
v0.3.0Updated Aug 7, 2026stdio · PyPI
Embedded, local-first agent memory: one SQLite file per namespace, no server, no cloud.
Install
Nothing to fill in: copy and run.
Run in your terminal
claude mcp add lean-memory -e 'LM_DATA_ROOT=~/.lean_memory' -- uvx lean-memory==0.3.0 lean-memory-mcpThe registry lists extra launch arguments or environment variables for this server that could change what runs. They are left out here; check its repository before adding any.
Configuration
2 settings.
--fromArgument· requiredInstall lean-memory with the extras the server needs: [mcp] (imported at startup — a bare install crashes), plus [models] and [extract] (the canonical real-quality backends; ~2 GB of open models download on first tool call). The package name and script name differ, so uvx needs --from.LM_DATA_ROOTEnv var· optionalDirectory for per-namespace SQLite memory files. Defaults to ~/.lean_memory when unset.Default:~/.lean_memory
Links
Listed in the official MCP Registry since Aug 7, 2026. Mirrored daily; last checked Nov 26, 2026.