Skip to main content
Glama
112,964 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
    Not graded
    quality
    D
    maintenance
    Serves as a universal interface between AI Agents and AnalyticDB PostgreSQL databases, enabling metadata retrieval and SQL execution, with additional capabilities for knowledge graph and LLM memory management.
    16
    Apache 2.0
  • F
    license
    A
    quality
    C
    maintenance
    Read-only MCP server that enables AI tools like Claude and Cursor to query the Avanti Fellows PostgreSQL database, providing schema inspection, data sampling, and SELECT query execution capabilities.
    6
    1
    -
  • 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
  • F
    license
    Not graded
    quality
    B
    maintenance
    Enables AI clients to interact with PostgreSQL databases through natural language, translating requests into structured queries and returning results via a secure self-hosted server.
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables semantic search across PostgreSQL, TimescaleDB, and PostGIS documentation to help AI coding assistants write better PostgreSQL code.
    79 npm
    1,879
    Apache 2.0
  • A
    license
    A
    quality
    B
    maintenance
    Connect your database to your AI agent, read-only, without sharing your password. Maplith Bridge serves a folder of data files over MCP behind a token you create, and fills it from PostgreSQL under a role that can only read.
    6
    2
    678 npm
    1
    Apache 2.0
  • 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
  • F
    license
    A
    quality
    A
    maintenance
    Natural language to SQL engine with multi-connector support (PostgreSQL, MySQL, Snowflake, BigQuery, DuckDB), document QA, semantic caching, and self-hosted MCP server.
    9
    150 PyPI
    5
    -
  • A
    license
    A
    quality
    B
    maintenance
    Read-only MCP server for SQL Server and PostgreSQL health checks. It runs the codeDB Lens diagnosis (A–F grade with rule coverage, findings with evidence, impact and next actions), reads 24-hour performance recordings, lists databases and tables, describes table schemas, and runs one guarded SELECT at a time within per-profile row and time limits. It uses the user's saved connection profiles; pass
    4
    14
    3
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    A unified MCP server that auto-discovers and exposes all IndieKit tools (PostgreSQL, development, terminal UI) through a single endpoint.
    16
    6 npm
    2
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Read-only PostgreSQL performance auditing via MCP. Collects metrics from PostgreSQL system views, applies deterministic checks for index, query, vacuum, configuration, and connection issues, and returns structured findings for MCP clients.
    6
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Connect any AI to PostgreSQL, MySQL, or SQL Server — 24 dialect-aware tools for query, schema, optimization, and more.
    23
    18 npm
    1
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI agents to discover and query data federated across MySQL/MariaDB, PostgreSQL, ClickHouse, S3 and Kafka with SQL, exposing tools to list databases, schemas, tables and connections, describe columns, search objects, inspect table statistics, run EXPLAIN, and execute arbitrary statements. It runs locally over stdio against a PostgreSQL-wire endpoint and returns structured results or SQLSTATE-coded errors.
    8
    Apache 2.0
  • A
    license
    A
    quality
    D
    maintenance
    Database management — connect, query, describe schemas, run migrations, and monitor active queries across PostgreSQL, MySQL, and SQLite.
    15
    30 PyPI
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Gives AI agents strictly read-only query access to PostgreSQL, Oracle, Cosmos DB, Blob Storage, Log Analytics, and Redis, returning each query as a paged or downloadable result set in Parquet or NDJSON rather than inline rows.
    6
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables provisioning and managing PostgreSQL databases, running SQL queries, and evolving schemas with tracked migrations, with automatic account creation and no configuration needed.
    10
    3 npm
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    An MCP server for OpenServerless that exposes action tools for creating, invoking, and managing API endpoints with integrated services like S3, PostgreSQL, Redis, and Milvus.
    8
    1
    Apache 2.0
  • A
    license
    B
    quality
    C
    maintenance
    Cross-agent memory server: hybrid (vector + full-text + knowledge-graph) recall, per-user private/shared visibility, write-side secret/PII redaction, and as-of-date bi-temporal fact queries. Auto-injection hooks for Claude Code / Cursor / Codex; self-hostable on PostgreSQL or SQLite.
    46
    26 PyPI
    10
    MIT