Skip to content
Gemini CLI

Hindsight MemPalace for Gemini CLI

io.github.holetron/hindsight-mempalace

Self-hosted long-term memory for AI agents over MCP — hierarchical recall backed by pgvector

client:Gemini CLI transport:stdio runtime:npm

Install Hindsight MemPalace 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": {
    "hindsight-mempalace": {
      "command": "npx",
      "args": [
        "-y",
        "hindsight-mempalace-mcp"
      ],
      "env": {
        "HINDSIGHT_URL": "<HINDSIGHT_URL>",
        "MEMPALACE_BANK": "<MEMPALACE_BANK>"
      }
    }
  }
}

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

Hindsight MemPalace in other clients