Skip to content
Gemini CLI

memex for Gemini CLI

io.github.kioie/memex

Local MCP memory for coding agents. SQLite on your machine — preferences persist across chats.

client:Gemini CLI transport:stdio runtime:oci

Install memex 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": {
    "memex": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/kioie/memex:0.6.0"
      ],
      "env": {
        "MEMEX_DIR": "<MEMEX_DIR>",
        "MEMEX_USER_ID": "<MEMEX_USER_ID>",
        "MEMEX_HYBRID": "<MEMEX_HYBRID>"
      }
    }
  }
}

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

memex in other clients