Postgres MCP
the six Ws · specification
Community and vendor MCP servers for PostgreSQL.
Run read (and optionally write) SQL queries as tools.
Runs locally next to your database connection.
Whenever an agent needs live data from your database.
Answers grounded in real rows instead of guesses.
A PostgreSQL connection and any MCP client.
Reference-style servers in the official modelcontextprotocol org plus vendor variants. Wants a database connection string; the DB user's grants decide read-only vs mutating. Talks only to your database.
alternatives