Skip to main content
Glama
113,018 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:

"postgresql" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    A
    quality
    D
    maintenance
    A secure MCP server that lets AI assistants directly interact with PostgreSQL databases via tools like create_table, list_tables, and execute_sql, plus a web configurator for managing connections.
    4
    1
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Enables comprehensive PostgreSQL database monitoring, analysis, and management through natural language queries. Provides performance insights, bloat analysis, vacuum monitoring, and intelligent maintenance recommendations across PostgreSQL versions 12-17.
    38
    164
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    Enables querying PostgreSQL database metadata including table lists and schema information through the MCP protocol. Supports stdio transport for Cursor/IDE integration as well as HTTP transport with health check endpoints.
    2
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    A production-grade Model Context Protocol server for PostgreSQL. Lets AI agents safely inspect, query, operate, and tune a Postgres database — over 100 tools spanning catalog introspection, query intelligence, natural-language SQL, structural diffs, hybrid search, graph queries, data movement, live ops, and more.
    191
    122 PyPI
    14
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables safe read-only exploration and querying of a PostgreSQL database, listing tables and executing SELECT statements.
    2
    -
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that provides targeted PostgreSQL schema access to AI agents, retrieving only relevant tables for a question and enforcing read-only access through multiple layers.
    4
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Read-only-by-default MySQL/MariaDB, PostgreSQL and SQLite access for AI agents: explore schemas and foreign keys, search, sample, query and EXPLAIN with token-efficient TOON output. Writes only when enabled, always previewed and atomic.
    11
    Apache 2.0
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to self-report bugs, ambiguities, and improvement requests via a single report_issue tool, logging to PostgreSQL or JSONL with severity and mode classification.
    1
    22 PyPI
    LGPL 3.0
  • A
    license
    A
    quality
    B
    maintenance
    A secure PostgreSQL Model Context Protocol server that provides read-only database access through tools like schema listing, object inspection, query execution, and EXPLAIN analysis, with database-enforced access control via read-only transactions and a minimal role rather than SQL text parsing.
    7
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Diagnoses and manages PostgreSQL logical replication including slot WAL retention, walsender lag, stuck subscriptions, and provides gated remediation tools for safe AI-driven operations.
    13
    GPL 3.0
  • A
    license
    A
    quality
    D
    maintenance
    An MCP server that enables MCP-compatible AI tools to read-only query Azure Database for PostgreSQL Flexible Server using your existing Azure CLI login, with auto-discovery, schema inspection, and arbitrary read-only SQL. No passwords or connection strings are stored; authentication uses short-lived Entra tokens.
    14
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    DBeast MCP is a robust, security-first Model Context Protocol server designed to empower AI coding assistants (like Claude Desktop) with deep PostgreSQL database insights. Instead of just running basic SQL queries, DBeast equips your AI agent with tools to inspect active locks, audit slow queries, analyze table schemas, and safely generate index recommendations in real-time. Built specifically for
    21
    9
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for Seedfast, which fills PostgreSQL databases with realistic, relationally valid test data generated from live schema, providing tools for planning, running, and inspecting seeding operations.
    13
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables MCP clients to securely query databases, list tables, inspect table schemas, and test connections across Oracle, SQL Server, MySQL, PostgreSQL, and SQLite using read-only SQL tools.
    4
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    Enables AI agents to read and optionally write to PostgreSQL databases through a multi-project setup with schema inspection, query execution, and performance analysis tools.
    5
    -
  • 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
    1
    MIT