NestDaddy

lean-memory

io.github.Wuesteon/lean-memory ยท v0.3.0

Embedded, local-first agent memory: one SQLite file per namespace, no server, no cloud.

Connect Runs on your machine

Terminal
claude mcp add lean-memory -e LM_DATA_ROOT=<LM_DATA_ROOT> -- uvx lean-memory==0.3.0
claude_desktop_config.json
{
  "mcpServers": {
    "lean-memory": {
      "command": "uvx",
      "args": [
        "lean-memory==0.3.0"
      ],
      "env": {
        "LM_DATA_ROOT": "<LM_DATA_ROOT>"
      }
    }
  }
}
~/.cursor/mcp.json
{
  "mcpServers": {
    "lean-memory": {
      "command": "uvx",
      "args": [
        "lean-memory==0.3.0"
      ],
      "env": {
        "LM_DATA_ROOT": "<LM_DATA_ROOT>"
      }
    }
  }
}
.vscode/mcp.json
{
  "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

NameDescription
LM_DATA_ROOT
Optional
Directory for per-namespace SQLite memory files. Defaults to ~/.lean_memory when unset.

Details

Package[email protected] (PYPI, stdio)
First published7 Aug 2026
Last updated7 Aug 2026
Registry nameio.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.