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

Matching MCP tools:

Matching MCP Connectors:

"How to perform SELECT queries in PostgreSQL" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    A
    quality
    A
    maintenance
    Read-only MCP server for Huawei GaussDB (centralized & distributed), built for coding agents. Three-layer write protection, multi-instance config, schema exploration and single-SELECT execution.
    5
    1
    Apache 2.0
  • A
    license
    A
    quality
    A
    maintenance
    7 SQL tools (validate, format, parse, lint, security scan, metadata extraction, full analysis) over Streamable HTTP. Supports 6 SQL dialects with 1.25M+ ops/sec.
    7
    120
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables SQL queries against PostgreSQL databases through MCP-compatible clients and includes a natural language agent for forming SQL queries from natural language.
    236
    PostgreSQL
  • A
    license
    Not graded
    quality
    B
    maintenance
    LLM Optimizer is an AI visibility intelligence platform. It analyzes how large language models and AI search engines perceive, cite, and recommend brands; then provides research-backed optimization strategies to improve that visibility.
    10
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI tools to perform real-time Google Search with grounded answers and inline citations, free with a Google account.
    4
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    A self-hosted MCP server that provides capability packs for AI agents to perform browser, desktop, git, and code actions via schema-validated JSON calls, enabling reliable agentic workflows even with small open-weight models.
    5
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    A governed SQL gateway for untrusted AI agents, providing controlled access to PostgreSQL, MySQL, and OceanBase with RBAC, field ACLs, row policies, and cost controls.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP-Server from your Database optimized for LLMs and AI-Agents. Supports PostgreSQL, MySQL, ClickHouse, Snowflake, MSSQL, BigQuery, Oracle Database, SQLite, ElasticSearch, DuckDB
    547
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Read-only PostgreSQL ops/DBA server for the Model Context Protocol, providing diagnostics like slow queries, index health, lock waits, replication lag, and configuration tuning advice.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol server that enables AI agents to interact directly with Prometheus metrics data through natural language queries.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Records how any command-line tool behaves (flags, stdin, outputs, exit codes, edge cases) as golden tests, then diffs a Rust or Go rewrite against the original to prove it behaves the same.
    1
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval
    10
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    The Multi DB MCP Server is a high-performance implementation of the Database Model Context Protocol designed to revolutionize how AI agents interact with databases. Currently supporting MySQL and PostgreSQL databases.
    468
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    Records your terminal sessions per command (PTY + OSC 133) into local SQLite, so AI agents can search, retrieve, and diff what commands actually printed. Secret redaction is applied by default to everything served over MCP.
    4
    7
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    MCP server for GLEIF LEI (Legal Entity Identifier) database access. Look up, validate, and search legal entities and their relationships in the global LEI system.
    12
    8
    MIT