Skip to content
Cursor

PG Bloat Detective for Cursor

io.github.r69shabh/pg-bloat-detective

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

client:Cursor transport:stdio runtime:pypi

Install PG Bloat Detective in Cursor

~/.cursor/mcp.json · windows: %USERPROFILE%\.cursor\mcp.json

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>"
      }
    }
  }
}

Use .cursor/mcp.json in a project root instead to scope it to that project. Cursor merges both. Cursor docs

PG Bloat Detective in other clients