Skip to main content

PG Bloat Detective

io.github.r69shabh/pg-bloat-detective

v0.1.6Updated Oct 12, 2026stdio · PyPI

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

Install

Nothing to fill in: copy and run.

Run in your terminal

claude mcp add pg-bloat-detective -e 'BLOAT_DSN=dbname=bloatdemo user=postgres host=localhost port=5433' -e BLOAT_DB=timeline.db -- uvx pg-bloat-detective==0.1.6

Configuration

2 settings.

  • BLOAT_DSN
    Env var· optional
    Postgres DSN (read-only enforced: 5s statement timeout, read-only tx)Default: dbname=bloatdemo user=postgres host=localhost port=5433
  • BLOAT_DB
    Env var· optional
    SQLite timeline file written by bloatdetective collectDefault: timeline.db

Listed in the official MCP Registry since Oct 12, 2026. Mirrored daily; last checked Nov 26, 2026.