Skip to main content
Glama
87,293 servers. Updated
20 Best PostgreSQL MCP Servers: compared and ranked, September 2026Ranked from 1,150 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"postgres" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    A
    quality
    B
    maintenance
    A Postgres MCP server with index tuning, explain plans, health checks, and safe SQL execution for AI agents.
    9
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Postgres Pro is an open source Model Context Protocol (MCP) server built to support you and your AI agents throughout the entire development process—from initial coding, through testing and deployment, and to production tuning and maintenance.
    9
    3,286
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables AI assistants to run SQL queries against PostgreSQL databases through the psql CLI, with support for multiple configured databases and enforced read-only guarantees.
    4
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A self-hostable PostgreSQL MCP server for exploring database schemas and running guarded read/write queries with selectable access modes (readonly, readwrite, admin), plus a dry-run confirm workflow for safety.
    14
    1
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables read-only PostgreSQL interaction with enforced SQL security policies, including query validation, row limits, and timeouts.
    4
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables Claude to interact with a local PostgreSQL database through SQL queries, schema inspection, and CRUD operations.
    8
    152 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
  • F
    license
    A
    quality
    C
    maintenance
    Enables safe read-only exploration and querying of a PostgreSQL database, listing tables and executing SELECT statements.
    2
    -
  • A
    license
    A
    quality
    C
    maintenance
    A comprehensive PostgreSQL MCP server providing 27 tools for database management and administration, including connection management, query execution, schema introspection, CRUD operations, and server monitoring.
    27
    38 npm
    AGPL 3.0
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for PostgreSQL that enables schema exploration, safe SQL execution, EXPLAIN analysis, health checks, and index recommendations across multiple databases.
    10
    152 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Exposes PostgreSQL query execution, EXPLAIN, and schema inspection tools to MCP-compatible clients like Claude Desktop.
    3
    1
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables querying and interacting with PostgreSQL databases using natural language through MCP. Supports configuration via environment variables and Cursor IDE integration.
    3
    -
  • F
    license
    A
    quality
    B
    maintenance
    An MCP server that enables AI agents to securely interact with PostgreSQL databases with least-privilege scopes, PII masking, and human approval for writes.
    4
    -
  • 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
    2
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Query and manage PostgreSQL databases from Claude Code, Cursor, and any MCP client, with read-only by default and built-in schema introspection, EXPLAIN, and performance diagnostics.
    23
    25,294 npm
    5
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Provides an AI agent with read-only PostgreSQL access, enabling schema browsing, foreign-key exploration, column search across tables, capped SELECT queries, and offline data dictionary export while rejecting write operations.
    9
    286 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for PostgreSQL that enables safe read-only database queries, table schema inspection, and query execution planning.
    6
    33 npm
    BSD 3-Clause