Skip to main content
Glama
116,965 servers. Updated
20 Best PostgreSQL MCP Servers: compared and ranked, November 2026Ranked from 1,584 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
    B
    maintenance
    Enables read-only interaction with PostgreSQL databases through natural language queries, supporting dynamic connections and secure query validation.
    3
    120 npm
    2
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables MCP clients to safely query one or more PostgreSQL databases with read-only tools and explicitly approved write operations.
    74 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables natural-language access to multi-tenant PostgreSQL databases through MCP, allowing agents to discover tenants, explore schemas, and run read-only or write queries with separate tools for safety.
    32 npm
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables read-only interaction with PostgreSQL databases, allowing natural language queries for listing schemas, tables, describing columns, and executing SELECT/WITH statements.
    102 npm
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Connects Claude Desktop to a local PostgreSQL database running in Docker, enabling read-only querying of products via natural language.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables Claude Desktop to connect to PostgreSQL databases, allowing users to query, explore schemas, and analyze data using plain English without writing SQL.
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    This read-only MCP Server allows you to connect to PostgreSQL data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out the first managed MCP platform: CData Connect AI (https://www.cdata.com/ai/).
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables agents to inspect PostgreSQL schemas, run read-only queries and explain plans, and, when explicitly permitted, execute writes and DDL on a per-project database with layered safety controls.
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Zero-config MCP server that empowers AI agents to safely query SQL and NoSQL databases like PostgreSQL, MySQL, SQLite, MongoDB, and Redis.
    5
    50 npm
    1
    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
    39 PyPI
    Apache 2.0
  • A
    license
    A
    quality
    A
    maintenance
    Lets an agent query JSON files too large for its context: JSONPath with aggregation pipes, schema, field profiles, samples, identity-keyed diff, CSV and spreadsheet export, and checks that gate a file. Int64 IDs and decimals keep their exact digits, and zstd, Base64-Zstd and PostgreSQL bytea payloads open directly.
    4
    12
    238 npm
    2
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    An MCP server that gives AI agents access to configured databases (PostgreSQL, MySQL, Redshift, SQL Server) with SSH/AWS SSM tunnels, pluggable secret providers, and strict per-instance isolation.
    10
    73 npm
    MIT
  • 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
    Provides MCP tools to query and manage a computer store's catalogue, stock, prices, promotions, installment plans, quotes, reservations, and orders, backed by PostgreSQL.
    14
    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 interact with PostgreSQL databases through natural language, with schema-aware query generation and enterprise safety controls.
    18
    161 npm
    2
    MIT
  • A
    license
    A
    quality
    B
    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
  • A
    license
    A
    quality
    D
    maintenance
    MCP server for PostgreSQL that enables safe read-only database queries, table schema inspection, and query execution planning.
    6
    32 npm
    BSD 3-Clause
  • A
    license
    A
    quality
    C
    maintenance
    Read-only MCP server that lets AI agents safely query SQLite, PostgreSQL, and MySQL/MariaDB. Enforces read-only transactions with column masking, row caps, query timeouts, EXPLAIN-based cost rejection, and rate limiting.
    7
    34 npm
    2
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI clients to safely query PostgreSQL databases using plain English, with read-only access and built-in SQL safety checks.
    4
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Local MCP server for safe querying and inspecting PostgreSQL databases, with write and maintenance operations disabled by default.
    8
    32 npm
    1
    ISC
  • A
    license
    A
    quality
    D
    maintenance
    Audits PostgreSQL/Supabase schemas for security issues like missing RLS, permissive policies, and sensitive data exposure during AI conversations.
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables coding agents to safely investigate PostgreSQL runtime state through bounded, read-oriented MCP tools for row-and-foreign-key neighborhood inspection, schema and statistics lookup, and table listing, with truncation, redaction, timeouts, and audit logging.
    4
    37 npm
    MIT