Skip to content
Gemini CLI

open context engine for Gemini CLI

io.github.dhaxor/open-context-engine

Local-first code retrieval: hybrid search over an AST-aware index of your codebase. Fully offline.

client:Gemini CLI transport:stdio runtime:npm

Install open context engine in Gemini CLI

~/.gemini/settings.json · windows: %USERPROFILE%\.gemini\settings.json

{
  "mcpServers": {
    "open-context-engine": {
      "command": "npx",
      "args": [
        "-y",
        "@dhaxor/open-context"
      ]
    }
  }
}

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

open context engine in other clients