Embedded, local-first agent memory: one SQLite file per namespace, no server, no cloud.
Connect Runs on your machine
claude mcp add lean-memory -e LM_DATA_ROOT=<LM_DATA_ROOT> -- uvx lean-memory==0.3.0
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory==0.3.0"
],
"env": {
"LM_DATA_ROOT": "<LM_DATA_ROOT>"
}
}
}
}
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory==0.3.0"
],
"env": {
"LM_DATA_ROOT": "<LM_DATA_ROOT>"
}
}
}
}
{
"servers": {
"lean-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"lean-memory==0.3.0"
],
"env": {
"LM_DATA_ROOT": "<LM_DATA_ROOT>"
}
}
}
}
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 |
|---|---|
LM_DATA_ROOTOptional | Directory for per-namespace SQLite memory files. Defaults to ~/.lean_memory when unset. |
Details
| Package | [email protected] (PYPI, stdio) |
| First published | 7 Aug 2026 |
| Last updated | 7 Aug 2026 |
| Registry name | io.github.Wuesteon/lean-memory |
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.
