Skip to content
Gemini CLI

querydig for Gemini CLI

io.github.milankatira/querydig

Find, fix and verify N+1 and slow MongoDB/SQL queries in JS/TS, Python, Go, Java, Ruby and PHP.

client:Gemini CLI transport:stdio runtime:npm

Install querydig 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": {
    "querydig": {
      "command": "npx",
      "args": [
        "-y",
        "querydig"
      ],
      "env": {
        "QUERYDIG_DB_URI": "<QUERYDIG_DB_URI>"
      }
    }
  }
}

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

querydig in other clients