lean-memory
io.github.Wuesteon/lean-memory
Embedded, local-first agent memory: one SQLite file per namespace, no server, no cloud.
- Repository
- github.com/Wuesteon/lean-memory
- Version
- 0.3.0
- Author
- Wuesteon (namespace verified by the registry)
- Source
- Official MCP registry (updated Aug 7, 2026)
How to install it
Variables to fill in: LM_DATA_ROOT.
On your machine
Claude Code
The server runs on your machine (pypi package). In a terminal:
claude mcp add lean-memory -e LM_DATA_ROOT=YOUR_LM_DATA_ROOT -- uvx [email protected] lean-memory-mcpClaude Desktop claude_desktop_config.json
Settings, Developer, Edit config, then add:
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"[email protected]",
"lean-memory-mcp"
],
"env": {
"LM_DATA_ROOT": "YOUR_LM_DATA_ROOT"
}
}
}
}Cursor ~/.cursor/mcp.json
In ~/.cursor/mcp.json:
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"[email protected]",
"lean-memory-mcp"
],
"env": {
"LM_DATA_ROOT": "YOUR_LM_DATA_ROOT"
}
}
}
}VS Code .vscode/mcp.json
In .vscode/mcp.json:
{
"servers": {
"lean-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"[email protected]",
"lean-memory-mcp"
],
"env": {
"LM_DATA_ROOT": "YOUR_LM_DATA_ROOT"
}
}
}
}ChatGPT
ChatGPT only connects to remote servers (an https address). This package runs locally: use one of the apps above.
These configurations are built from the information published by the author. Check the repository before installing a local server.
Our test
This server runs on your machine: we cannot test it remotely.
Reviews
No review yet.
Sign in to leave a review. Your email is all you need.
Comments
No comment yet. A question, a tip? Start the discussion.
Sign in to comment.
Badge for your README
Show that your project is listed (and tested, if it responds): paste this code in your README. The badge follows the latest test and links back to this entry.
Markdown (GitHub)
[](https://lagora.dev/en/entry/io.github.wuesteon/lean-memory)HTML
<a href="https://lagora.dev/en/entry/io.github.wuesteon/lean-memory"><img src="https://lagora.dev/badge/io.github.wuesteon/lean-memory.svg?lang=en" alt="io.github.Wuesteon/lean-memory on L’Agora" height="20"></a>For the entry’s author only: sign in to continue.