Skip to content
Windsurf

lean-memory for Windsurf

io.github.wuesteon/lean-memory

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

client:Windsurf transport:stdio runtime:pypi

Install lean-memory in Windsurf

~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "lean-memory": {
      "command": "uvx",
      "args": [
        "lean-memory"
      ],
      "env": {
        "LM_DATA_ROOT": "<LM_DATA_ROOT>"
      }
    }
  }
}

Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs

lean-memory in other clients