LocalFree

lean-memory MCP server

Wuesteon/lean-memory

Embedded local agent memory in one SQLite file per namespace: hybrid retrieval, append-only history queryable at any past time and human-reviewed maintenance.

43 GitHub stars40 forks

Install lean-memory in Claude Code

Claude Code
claude mcp add lean-memory -- uvx lean-memory
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "lean-memory": {
      "command": "uvx",
      "args": [
        "lean-memory"
      ]
    }
  }
}

Frequently asked questions

What does the lean-memory MCP server do?

Embedded local agent memory in one SQLite file per namespace: hybrid retrieval, append-only history queryable at any past time and human-reviewed maintenance.

Is the lean-memory MCP server free?

Yes, most likely. Open source and no paid account or API key is mentioned in the listing. Check the provider for current pricing.

Does lean-memory run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add lean-memory to Claude Code?

Run: claude mcp add lean-memory -- uvx lean-memory

More knowledge, memory & rag MCP servers

View all