pgbot
Postgres analysis and context tool for AI agents
...It evaluates database health through deterministic SQL-based analysis rather than relying on language model predictions. Diagnostic reports examine query performance, index utilization, autovacuum activity, replication, connections, and locking behavior. Locally stored baselines enable comparisons between successive inspections to identify performance regressions. Optional AI integration translates diagnostic findings into natural language explanations and recommendations. Structured JSON output and an integrated MCP server facilitate automated analysis. ...