MCP Server Studio
Embedded, local-first agent memory: one SQLite file per namespace, no server, no cloud.
Registry name: io.github.Wuesteon/lean-memory
Add to claude_desktop_config.json:
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory==0.3.0",
"lean-memory-mcp"
],
"env": {
"LM_DATA_ROOT": "<LM_DATA_ROOT>"
}
}
}
}Run in your terminal:
claude mcp add lean-memory -e LM_DATA_ROOT='<LM_DATA_ROOT>' -- uvx lean-memory==0.3.0 lean-memory-mcpAdd to .cursor/mcp.json:
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory==0.3.0",
"lean-memory-mcp"
],
"env": {
"LM_DATA_ROOT": "<LM_DATA_ROOT>"
}
}
}
}Add to .vscode/mcp.json:
{
"servers": {
"lean-memory": {
"type": "stdio",
"command": "uvx",
"args": [
"lean-memory==0.3.0",
"lean-memory-mcp"
],
"env": {
"LM_DATA_ROOT": "<LM_DATA_ROOT>"
}
}
}
}Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"lean-memory": {
"command": "uvx",
"args": [
"lean-memory==0.3.0",
"lean-memory-mcp"
],
"env": {
"LM_DATA_ROOT": "<LM_DATA_ROOT>"
}
}
}
}| Name | Required | What it is |
|---|---|---|
LM_DATA_ROOT | No | Directory for per-namespace SQLite memory files. Defaults to ~/.lean_memory when unset. |