Best PostgreSQL MCP Servers
PostgreSQL is an advanced open source relational database management system that offers robustness, scalability, and performance.
Why this server?
Implements the PostgreSQL Wire protocol, enabling remote connections and queries via standard Postgres drivers.
AlicenseAqualityAmaintenanceArcadeDB Multi-Model Database, one DBMS that supports SQL, Cypher, Gremlin, HTTP/JSON, MongoDB and Redis. ArcadeDB is a conceptual fork of OrientDB, the first Multi-Model DBMS. ArcadeDB supports Vector Embeddings.Last updated210941Apache 2.0Why this server?
Execute SQL queries, list tables, describe schema, and manage data in PostgreSQL databases.

ThinAir Dataofficial
AlicenseAqualityBmaintenanceConnect any AI to PostgreSQL, MySQL, or SQL Server — 24 dialect-aware tools for query, schema, optimization, and more.Last updated42313MITWhy this server?
Enables data quality validation on PostgreSQL or Redshift databases with support for all rule types and LLM diagnosis.
AlicenseBqualityAmaintenanceAgentic data quality MCP server — runs structured validation rules against warehouses (DuckDB, BigQuery, Athena, Databricks, Postgres), diagnoses failures with LLM root cause analysis, and proposes SQL remediations. Full audit trail of every AI decision.Last updated463Apache 2.0Why this server?
Enables direct interaction with Heroku PostgreSQL databases, including executing SQL queries, viewing database information, managing active queries, identifying resource-intensive operations, handling credentials, managing backups, and performing database upgrades.

Heroku MCP serverofficial
AlicenseAqualityCmaintenanceLet's your agent access the heroku platformLast updated335,93077Apache 2.0Why this server?
Enables direct SQL queries on PostgreSQL tables using the postgresql() table function.
Why this server?
Connects to PostgreSQL databases to execute SQL queries and extract analytical insights
Why this server?
Facilitates schema inspection and executing guarded queries on PostgreSQL databases.
AlicenseAqualityBmaintenanceA universal MCP aggregator toolkit that connects AI agents to multiple MCP servers through a single unified configuration. Features ready-made templates, cross-repo prompt workflows, and an npm package for zero-config installation.Last updated1054MITWhy this server?
Provides comprehensive database access with tools for querying, schema introspection (tables, columns, indexes, foreign keys, sizes), EXPLAIN ANALYZE, monitoring active queries via pg_stat_activity, generating dialect-aware migrations, and backup/restore operations using pg_dump and psql.

Berthofficial
AlicenseAqualityCmaintenanceDatabase management — connect, query, describe schemas, run migrations, and monitor active queries across PostgreSQL, MySQL, and SQLite.Last updated15MITWhy this server?
Connects to PostgreSQL databases, allowing schema browsing, data editing, and query execution.