Skip to content
Gemini CLI

pg checkup for Gemini CLI

io.github.pgcheckup/pg-checkup

Read-only PostgreSQL checkups for your AI assistant. Lists what to fix, in order, with the SQL.

client:Gemini CLI transport:stdio runtime:npm

Install pg checkup 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": {
    "pg-checkup": {
      "command": "npx",
      "args": [
        "-y",
        "pg-checkup-mcp"
      ],
      "env": {
        "DATABASE_URL": "<DATABASE_URL>"
      }
    }
  }
}

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

pg checkup in other clients