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

Matching MCP tools:

Matching MCP Connectors:

"A server for interacting with PostgreSQL and executing SQL scripts" matching MCP servers:

GET /v1/servers — MCP directory API reference
  • A
    license
    A
    quality
    C
    maintenance
    Full-featured MCP server that exposes 36 tools for interacting with PostgreSQL databases, covering schema introspection, query execution, data exploration, performance monitoring, security auditing, and maintenance.
    36
    19
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A Model Context Protocol server that enables interaction with PostgreSQL databases for analyzing setups, debugging issues, managing schemas, migrating data, and monitoring performance.
    1
    19
    1
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    A read-only MCP server for SQL Server and PostgreSQL that enables exploring and querying databases (schemas, tables, views, procedures, indexes, foreign keys) and running arbitrary SELECT queries.
    37
    -
  • F
    license
    B
    quality
    C
    maintenance
    Enables LLMs to read and write local user data, generate fake users via sampling, and interact with structured prompts and resources.
    2
    -
  • A
    license
    B
    quality
    B
    maintenance
    A Model Context Protocol server that enables powerful PostgreSQL database management capabilities including analysis, schema management, data migration, and monitoring through natural language interactions.
    18
    1,692
    198
    AGPL 3.0
  • A
    license
    B
    quality
    F
    maintenance
    Facilitates management and optimization of PostgreSQL databases, offering analysis, setup guidance, and debugging, while ensuring secure and efficient database operations.
    3
    19
    23
    AGPL 3.0
  • F
    license
    C
    quality
    D
    maintenance
    A Model Context Protocol server that provides a standardized interface for interacting with SQL databases through the MCP protocol.
    3
    20
    4
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Read-only MCP server for PostgreSQL, enabling schema discovery, table metadata, and safe SELECT queries via READ ONLY transactions.
    27
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables interaction with Microsoft SQL Server databases using both SQL Server and Windows Authentication. It supports flexible connection configurations, including read-only modes and encrypted communication for secure data management.
    3,338
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server that enables Claude to query, monitor, and analyze SQL Server databases, with support for schema exploration, performance analysis, and optional write operations.
    33
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    A Model Context Protocol server for interacting with MSSQL and PostgreSQL databases, offering tools for schema exploration and SQL execution. It features configurable query modes for safety and supports advanced authentication methods like Windows Auth and SSL.
    17
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides comprehensive PostgreSQL database access with 36 tools for querying, managing schemas, JSONB operations, and database administration. Includes security features like query validation, rate limiting, SSL/TLS support, and optional write operations.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides AI-driven PostgreSQL database management with secure OAuth 2.1 authentication, enabling users to administer, monitor, and query databases with support for extensions like pgvector, PostGIS, and pg_cron.
    121
    -
  • A
    license
    Not graded
    quality
    C
    maintenance
    A TypeScript implementation of a Model Context Protocol server that enables language models to securely query PostgreSQL databases, including those behind SSH bastion tunnels.
    24
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for SQL Server database interactions, providing tools to list databases, get schema, and execute parameterized SELECT queries.
    24
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables chatting with PostgreSQL databases using secure GitHub authentication for access control between read and write operations.
    299
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    An MCP server that provides safe, read-only SQL access for AI agents to query databases (PostgreSQL, MySQL, SQLite) with schema awareness and guardrails.
    12
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables users to interact with PostgreSQL databases through natural language, with GitHub OAuth authentication and role-based access control.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    NestJS-based MCP server for MySQL with session-level database selection and SQL safety controls. Enables executing SQL queries, listing databases, and connecting MySQL users with configurable safe modes.
    -