Skip to content
Gemini CLI

Memory Vault for Gemini CLI

io.github.mihaibuilds/memory-vault

Local-first AI memory layer with hybrid search. Postgres + pgvector. Self-hosted, MIT.

client:Gemini CLI transport:stdio runtime:oci

Install Memory Vault 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": {
    "memory-vault": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "ghcr.io/mihaibuilds/memory-vault-mcp:1.6.0"
      ],
      "env": {
        "DB_HOST": "<DB_HOST>",
        "DB_PORT": "<DB_PORT>",
        "DB_NAME": "<DB_NAME>",
        "DB_USER": "<DB_USER>",
        "DB_PASSWORD": "<DB_PASSWORD>"
      }
    }
  }
}

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

Memory Vault in other clients