Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

lean-memory

local MCP server

Installation

Terminal

claude mcp add lean-memory -e LM_DATA_ROOT=... -- uvx lean-memory

Run in your project folder. Add --scope user to use it everywhere.

Claude Desktop, Cursor & other clients

Add to claude_desktop_config.json or .cursor/mcp.json.

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

Fill in the environment variables with your own credentials.

Summary

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

Questions

lean-memory is a local MCP server distributed as the pypi package lean-memory.

Run: claude mcp add lean-memory -e LM_DATA_ROOT=... -- uvx lean-memory

Run: codex mcp add lean-memory --env LM_DATA_ROOT=... -- uvx lean-memory

Similar MCP servers

NameStars
  1. Agent Swarmio.github.desplega-ai/agent-swarm835
  2. LoreConvoio.github.labyrinth-analytics/loreconvo10
  3. Persomeio.github.Intuition-Lab/personal-model1,324
  4. projectmemio.github.riponcm/projectmem844
  5. HOL Guardio.github.hashgraph-online/hol-guard670
  6. agent-recallio.github.Goldentrii/agent-recall371
  7. Cortex Memory Engineio.github.gambletan/cortex34
  8. rememio.github.majiayu000/remem31
Buy me a coffee