Skip to content
VS Code

Hindsight MemPalace for VS Code

io.github.holetron/hindsight-mempalace

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

client:VS Code transport:stdio runtime:npm

Install Hindsight MemPalace in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "hindsight-url",
      "description": "HINDSIGHT_URL",
      "password": true
    },
    {
      "type": "promptString",
      "id": "mempalace-bank",
      "description": "MEMPALACE_BANK",
      "password": true
    }
  ],
  "servers": {
    "hindsight-mempalace": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "hindsight-mempalace-mcp"
      ],
      "env": {
        "HINDSIGHT_URL": "${input:hindsight-url}",
        "MEMPALACE_BANK": "${input:mempalace-bank}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

Hindsight MemPalace in other clients