Read-only PostgreSQL diagnostics for AI agents: slow queries, plans, bloat, locks, replicas.
Maintain this server? Claim it
This server only runs locally, from a package. Install it with the instructions on this page to try it.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add pg-doctor \ -e DATABASE_URL=YOUR_DATABASE_URL \ -- docker run -i --rm ghcr.io/alaev-dev/pg-doctor:0.2.1
Environment
DATABASE_URL (required): Connection string of a dedicated PostgreSQL role with pg_monitor; table_bloat and explain_statement also need SELECT on the tables they look atWe don't run packages, so we can't list this server's tools.