Skip to content
Gemini CLI

contextual for Gemini CLI

io.github.contextual-laboratories/contextual

Persistent memory for AI coding agents: local-first semantic search, dependency graphs, git history.

client:Gemini CLI transport:stdio runtime:pypi

Install contextual 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": {
    "contextual": {
      "command": "uvx",
      "args": [
        "contextual-engine"
      ],
      "env": {
        "CONTEXTUAL_LOG_LEVEL": "<CONTEXTUAL_LOG_LEVEL>"
      }
    }
  }
}

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

contextual in other clients