Hacker News
pgbot Is a 5.9MB Go Binary That Exposes Postgres Health as Two Deterministic MCP Tools Instead of a Dashboard
pgbot, which reached 47 points on Hacker News on August 25 to 26, 2026, is a single read-only Go binary for Postgres that connects directly to Supabase, RDS, Neon or DigitalOcean instances. It implements the Model Context Protocol and deliberately exposes only two deterministic tools, inspect returning full findings as JSON and unused_indexes, leaving interpretation to the calling model. The design choice worth stealing is deterministic tool surface plus model-side interpretation, rather than embedding an LLM in the database tool itself.
↳ Follow the thread