Skip to content
Gemini CLI

Local Memory for Gemini CLI

io.github.studiomeyer-io/local-memory-mcp

Persistent local AI memory. SQLite + FTS5 + vector search, knowledge graph. No cloud, no API keys.

client:Gemini CLI transport:stdio runtime:npm

Install Local Memory in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

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

{
  "mcpServers": {
    "local-memory-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@studiomeyer/local-memory-mcp"
      ],
      "env": {
        "MEMORY_DB_PATH": "<MEMORY_DB_PATH>",
        "MEMORY_EMBED_DISABLED": "<MEMORY_EMBED_DISABLED>",
        "MEMORY_EMBED_MODEL": "<MEMORY_EMBED_MODEL>",
        "MEMORY_EMBED_CACHE_DIR": "<MEMORY_EMBED_CACHE_DIR>"
      }
    }
  }
}

Gemini expands $VAR and ${VAR} inside env values, so a secret can live in your shell rather than this file. Gemini CLI docs

Local Memory in other clients