← Back to Plugins
MCP Server MCP

lean-memory

github By github 👁 1 views ▲ 0 votes

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

Homepage Verified source GitHub

Install

uvx lean-memory

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "pypi",
      "registryBaseUrl": "https://pypi.org",
      "identifier": "lean-memory",
      "version": "0.3.0",
      "runtimeHint": "uvx",
      "transport": {
        "type": "stdio"
      },
      "runtimeArguments": [
        {
          "description": "Install lean-memory with the extras the server needs: [mcp] (imported at startup — a bare install crashes), plus [models] and [extract] (the canonical real-quality backends; ~2 GB of open models download on first tool call). The package name and script name differ, so uvx needs --from.",
          "isRequired": true,
          "value": "lean-memory[mcp,models,extract]",
          "type": "named",
          "name": "--from"
        }
      ],
      "packageArguments": [
        {
          "description": "Console script entry point that starts the stdio MCP server.",
          "isRequired": true,
          "value": "lean-memory-mcp",
          "type": "positional"
        }
      ],
      "environmentVariables": [
        {
          "description": "Directory for per-namespace SQLite memory files. Defaults to ~/.lean_memory when unset.",
          "default": "~/.lean_memory",
          "name": "LM_DATA_ROOT"
        }
      ]
    }
  ]
}
mcp model-context-protocol pypi

Comments

Sign in to leave a comment

Loading comments...