MCP directory
PD

Pg Doctor

by github.com/alaev-dev · v0.3.0 · updated Dec 2, 2026

Read-only PostgreSQL diagnostics for AI agents: slow queries, plans, bloat, vacuum, locks, replicas.

Docker

Run it locally

Install the package and point your AI client at it.

Docker

docker run -i --rm ghcr.io/alaev-dev/pg-doctor:0.3.0

Environment variables

  • DATABASE_URLrequiredsecret

    Connection string of a dedicated PostgreSQL role with pg_monitor; table_bloat and explain_statement also need SELECT on the tables they look at

More MCP servers