// HACKER NEWS — CYBERSECURITY
Pgbot: A 5.9 MB read-only Postgres tool for humans and agents
Connect your Postgres. Get answers, not dashboards: what's healthy, what's broken, and what to fix first.
Two paths to the same place: connect directly over the wire, or run the agent next to a database that never leaves your network.
Connect any PostgreSQL database and get visibility into performance, queries, health, schema, and changes — with AI-powered explanations.
Monitor connections, locks, transactions, cache hit ratio, replication, WAL, and overall database health.
Track slow queries, regressions, throughput, query latency, and expensive SQL using PostgreSQL statistics.
Analyze table growth, index usage, unused indexes, missing indexes, vacuum activity, and storage patterns.
Ask pgBot questions in plain English and get summaries, explanations, and recommendations based on real database signals.
Connect directly to public databases or use the pgBot Agent for private environments like Docker, Kubernetes, and internal servers.
Read-only access, open-source agent, and support for private deployments without exposing your database publicly.
pgbot mcp speaks the Model Context Protocol on stdio, so an AI agent can call pgbot as a read-only tool. It exposes deterministic tools only — inspect (full findings as JSON) and unused_indexes — and lets the connected model do the explaining. No Gemini key involved: the agent reasons over the same findings the CLI computes.