Skip to content
Grok

PG Bloat Detective for Grok

io.github.r69shabh/pg-bloat-detective

Read-only Postgres bloat verdicts: blockers, timelines, REINDEX proof.

client:Grok transport:stdio runtime:pypi

Install PG Bloat Detective in Grok

.mcp.json (in your project root)

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "mcpServers": {
    "pg-bloat-detective": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "pg-bloat-detective"
      ],
      "env": {
        "BLOAT_DSN": "<BLOAT_DSN>",
        "BLOAT_DB": "<BLOAT_DB>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

PG Bloat Detective in other clients