Skip to content
Kitbay
Submit
MCP server

Postgres MCP Pro

Runs locallyMITUpdated on Aug 17, 20263,467GitHub starsCan change dataNeeds an API key

Postgres MCP Pro, from Crystal DBA, is an open-source MCP server for PostgreSQL that goes beyond running queries.

What it does

Postgres MCP Pro, from Crystal DBA, is an open-source MCP server for PostgreSQL that goes beyond running queries. Besides listing schemas and objects and executing SQL, it checks database health (indexes, connections, cache, vacuum, sequences, replication), reports the slowest queries from pg_stat_statements, shows query plans with hypothetical indexes, and recommends indexes for a workload or a set of queries. It runs locally from Docker or Python over stdio, or as a shared SSE server. A connection URI is passed in an environment variable, and an access mode switches between full read-write access and a restricted mode with read-only transactions and time limits.

Capabilities

  • Run SQL on a PostgreSQL database, read-only in restricted mode
  • Check index, vacuum, connection and replication health
  • Report the slowest queries from pg_stat_statements
  • Show query plans, including with hypothetical indexes
  • Recommend indexes for a workload or specific queries