Skip to content
VS Code

brain — the recorder for VS Code

io.github.mordechaipotash/brain-mcp

Records your Claude Code, Codex and Pi history before deletion. Cited-or-abstain recall.

client:VS Code transport:stdio runtime:pypi

Install brain — the recorder in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "brain-home",
      "description": "BRAIN_HOME",
      "password": true
    }
  ],
  "servers": {
    "brain-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "brain-mcp"
      ],
      "env": {
        "BRAIN_HOME": "${input:brain-home}"
      }
    }
  }
}

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

brain — the recorder in other clients