Skip to main content
Glama
113,100 servers. Updated
20 Best PostgreSQL MCP Servers: compared and ranked, October 2026Ranked from 1,524 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

  • A
    license
    A
    quality
    A
    maintenance
    A drop-in Model Context Protocol (MCP) server that lets an AI agent query PostgreSQL — read-only, enforced at the database level, with real SQL validation, timeouts, cost limits, OAuth 2.1, and an audit trail.
    10
    3
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol (MCP) server for PostgreSQL that provides safe, structured access to your database for AI assistants, enabling health checks, index tuning, lock analysis, and more.
    13
    41 npm
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Governed PostgreSQL DBA operations — slow-query, bloat, and blocking-lock RCA, index management, vacuum/analyze, and replication lag, with unbypassable audit logging (MCP + CLI), budget/runaway guards, dry-run, and undo/rollback.
    35
    MIT
  • A
    license
    C
    quality
    C
    maintenance
    A Model Context Protocol server that provides secure database access to PostgreSQL through Kysely ORM, enabling natural language interaction with PostgreSQL databases. It offers 40+ MCP tools for querying, schema inspection, diagnostics, and Java backend monitoring.
    40
    6 npm
    1
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    Read-only PostgreSQL analytics MCP server — query plans, slow queries, index usage, table bloat, vacuum status. No DDL/DML/writes. Curated by Archimedes Market with a verified Trust Report.
    MIT
  • A
    license
    Not graded
    quality
    F
    maintenance
    Enables AI assistants to manage, monitor, and optimize PostgreSQL databases with over 200 specialized tools for operations, security, performance tuning, and diagnostics.
    18 npm
    11
    MIT
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA analysis and monitoring through natural language, covering performance, bloat, locks/deadlocks, autovacuum, and schema inspection across PostgreSQL 12-18 without required extensions.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA work across versions 12–18, including performance analysis, slow query identification, bloat detection, lock and deadlock monitoring, autovacuum and schema inspection, and replication/WAL checks via natural language. Works with regular user permissions on RDS/Aurora without requiring any extensions, while optionally leveraging pg_stat_statements and pg_stat_monitor for deeper query analytics.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to safely inspect and query PostgreSQL databases with read-only enforcement, row/timeout limits, and audit logging, providing tools for schema/table listing, read-only queries, query explanations, and table statistics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to monitor and administer PostgreSQL 12-18 through natural language, covering performance and slow-query analysis, table bloat detection, lock and connection monitoring, replication and WAL status, and VACUUM/autovacuum and schema inspection. It works read-only out of the box with automatic version detection and optional extension-enhanced query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA and monitoring tasks, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection across PostgreSQL 12–18. It supports natural-language queries against production-safe, RDS/Aurora-compatible connections, with optional query analytics via pg_stat_statements or pg_stat_monitor.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables natural-language monitoring and administration of PostgreSQL databases, covering performance analysis, bloat detection, lock and deadlock monitoring, autovacuum intelligence, and schema inspection. It works with PostgreSQL 12-18 and can run without extensions, with optional extensions for advanced query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations and monitoring through natural language, including performance analysis, bloat detection, lock and deadlock monitoring, autovacuum and schema inspection across PostgreSQL 12-18.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to inspect and monitor PostgreSQL 12-18 databases through natural language, covering performance analysis, slow-query identification, bloat and lock detection, autovacuum health, replication/WAL status, and schema exploration. All operations are read-only and work without requiring any extensions, though pg_stat_statements and pg_stat_monitor optionally enhance query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA operations and monitoring through natural language, including performance and slow-query analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection, and maintenance recommendations across PostgreSQL 12–18.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to inspect and monitor PostgreSQL databases with read-only DBA tools for performance analysis, bloat detection, locks/deadlocks, autovacuum, schema discovery, replication, and maintenance recommendations.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to monitor and administer PostgreSQL 12-18 databases through natural language, covering performance and slow-query analysis, table bloat detection, connection and lock monitoring, autovacuum and maintenance recommendations, and schema discovery. All operations are read-only and work with regular user permissions, requiring no extensions unless optional query-analytics features are desired.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations, monitoring, and management through natural language, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection, with no extensions required.
    -