lean-memory

Level CLocal

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

⭐ 0DatabaseRepo ↗Updated 2026-08-07

Installation

MCP client config (paste into mcp.json)

{
  "mcpServers": {
    "lean-memory": {
      "command": "npx",
      "args": [
        "lean-memory"
      ]
    }
  }
}

Agent install prompt

Copy and paste into Cursor / Claude / other agents to install this MCP for you

Please read this MCP repository and install it into my current environment:
https://github.com/Wuesteon/lean-memory

Known working client config (can write into mcp.json):
{
  "mcpServers": {
    "lean-memory": {
      "command": "npx",
      "args": [
        "lean-memory"
      ]
    }
  }
}

Please: 1) check README for deps and env vars; 2) write config for my client; 3) if secrets are missing, tell me what to fill — do not invent values.

Related servers