Skip to main content
Glama
126,210 servers. Updated
Browse by product
20 Best PostgreSQL MCP Servers: compared and ranked, November 2026Ranked from 1,766 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

Matching MCP Connectors:

"How to Connect to a PostgreSQL Server" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to query PostgreSQL, MySQL, SQL Server, Oracle, and MongoDB databases through MCP with read-only, audited access.
    3
    AGPL 3.0
  • 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
    Not graded
    maintenance
    Turns any OData V2 or V4 service, SAP Gateway included, into MCP tools that AI clients such as Claude, ChatGPT, Copilot, and Cursor can call without code by reading $metadata. It lets models discover entity sets and fields, then query services through built-in read-only tools.
    AGPL 3.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables Claude to translate natural-language business questions into safe, read-only SQL queries by exposing tools for listing tables, inspecting schemas, and executing row-capped SELECT statements against PostgreSQL.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to discover metrics and dimensions and query business metrics over e-commerce data through MCP tools that translate metric requests into SQL via a dbt and MetricFlow semantic layer.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server that translates natural-language questions into SQL, validates every query structurally, and executes approved read-only queries against a SQLite database, returning results and rejections.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    A secure database query service built on FastMCP framework that allows users to query MySQL databases using natural language, with comprehensive permission management and security controls.
    15
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server enabling natural-language querying of SQLite databases via schema discovery, GraphRAG retrieval, and safely guarded read-only SQL execution.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables Claude Desktop to interact with PostgreSQL databases through natural language for schema exploration, data analysis, and query execution. Users can search schemas, describe tables, and perform read or write operations without needing to write manual SQL.
    -
  • A
    license
    A
    quality
    D
    maintenance
    A production-oriented MCP server for PostgreSQL that exposes database operations like query execution, schema introspection, and table metadata to MCP clients such as Claude Desktop and VS Code.
    6
    2
    MIT
  • 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
    C
    quality
    D
    maintenance
    Transforms SAP S/4HANA or ECC systems into conversational AI interfaces by exposing all OData services as dynamic MCP tools. Enables natural language interactions with ERP data including querying, creating, updating, and deleting entities through SAP BTP integration.
    19
    69 npm
    7
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables natural language interaction with PostgreSQL databases through Amazon Q for querying data, listing tables, and describing schemas. It provides secure, read-only access with automatic row limits to ensure efficient database exploration.
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Read-only MCP server for PostgreSQL, enabling schema discovery, table metadata, and safe SELECT queries via READ ONLY transactions.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Transforms SAP S/4HANA or ECC systems into conversational AI interfaces by exposing all OData services as dynamic MCP tools. Enables natural language interactions with ERP data for querying, creating, updating, and deleting business entities through SAP BTP integration.
    144
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A general-purpose PostgreSQL MCP server with full read-write SQL access, atomic multi-statement transactions, and schema inspection. Works with any PostgreSQL instance — local, Supabase, AWS RDS, or self-hosted — and connects to Claude, Cursor, Windsurf, or any MCP-compatible AI client.
    132 npm
    3
    ISC
  • 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.
    144 npm
    -
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to interact with PostgreSQL databases over HTTP/JSON-RPC, supporting SQL queries, schema introspection, table/index analysis, EXPLAIN query planning, role and privilege inspection, and database monitoring.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Translates plain English questions about infrastructure operations into SQL queries, executes them against a database, and returns the real answer.
    -
  • -
    license
    Not graded
    quality
    B
    maintenance
    A Model Context Protocol server that provides read-only access to PostgreSQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.
    139,311 npm
    92,139
    MIT
  • 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
    5 npm
    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
    1
    MIT
  • A
    license
    A
    quality
    B
    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.
    37
    164
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    A read-only MCP server for exploratory data analysis across PostgreSQL, MySQL, and ClickHouse databases, providing safe, read-only access with comprehensive analysis capabilities.
    10
    59 PyPI
    6
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A secure PostgreSQL MCP server with built-in SSH tunneling that enables AI assistants to connect to databases through bastion hosts automatically, supporting both STDIO and Streamable HTTP transports.
    12
    345 npm
    7
    MIT
  • A
    license
    B
    quality
    D
    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
    10,856 npm
    204
    AGPL 3.0
  • A
    license
    B
    quality
    D
    maintenance
    Facilitates management and optimization of PostgreSQL databases, offering analysis, setup guidance, and debugging, while ensuring secure and efficient database operations.
    3
    24
    AGPL 3.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Python MCP server that enables schema discovery, read-only SQL queries, table previews, and index/relationship analysis on PostgreSQL databases.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to safely interact with PostgreSQL databases, perform queries, inspect schemas, and analyze query performance.
    2
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to interact with PostgreSQL databases through the Model Context Protocol, supporting SQL queries, schema management, and data operations.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables secure, read-only PostgreSQL database interaction through natural language, with automatic database discovery and connection management.
    2
    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.
    ISC
  • 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
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to monitor and operate PostgreSQL databases through natural language queries, covering performance analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection, and maintenance recommendations with read-only, extension-optional workflows across PostgreSQL 12–18.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables MCP clients to safely query one or more PostgreSQL databases with read-only tools and explicitly approved write operations.
    1
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA analysis and monitoring through natural language, covering performance, bloat, locks/deadlocks, autovacuum, and schema inspection across PostgreSQL 12-18 without required extensions.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations, monitoring, and management via natural language, covering performance analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection with read-only production-safe queries.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA work across versions 12–18, including performance analysis, slow query identification, bloat detection, lock and deadlock monitoring, autovacuum and schema inspection, and replication/WAL checks via natural language. Works with regular user permissions on RDS/Aurora without requiring any extensions, while optionally leveraging pg_stat_statements and pg_stat_monitor for deeper query analytics.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    This MCP server provides secure access to databases for AI agents, enforcing authentication, authorization, human approval, logging, and notifications to prevent dangerous actions.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations and monitoring through natural language, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum checks, and schema inspection across PostgreSQL 12–18 without extensions.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to monitor and administer PostgreSQL 12-18 through natural language, covering performance and slow-query analysis, table bloat detection, lock and connection monitoring, replication and WAL status, and VACUUM/autovacuum and schema inspection. It works read-only out of the box with automatic version detection and optional extension-enhanced query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA and monitoring tasks, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection across PostgreSQL 12–18. It supports natural-language queries against production-safe, RDS/Aurora-compatible connections, with optional query analytics via pg_stat_statements or pg_stat_monitor.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations and monitoring through natural language, including performance analysis, bloat detection, lock and connection monitoring, autovacuum intelligence, and schema/relationship discovery. Works read-only across PostgreSQL 12-18 with no extensions required, with optional pg_stat_statements and pg_stat_monitor support for advanced query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables natural-language monitoring and administration of PostgreSQL databases, covering performance analysis, bloat detection, lock and deadlock monitoring, autovacuum intelligence, and schema inspection. It works with PostgreSQL 12-18 and can run without extensions, with optional extensions for advanced query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations and monitoring through natural language, including performance analysis, bloat detection, lock and deadlock monitoring, autovacuum and schema inspection across PostgreSQL 12-18.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to inspect and monitor PostgreSQL 12-18 databases through natural language, covering performance analysis, slow-query identification, bloat and lock detection, autovacuum health, replication/WAL status, and schema exploration. All operations are read-only and work without requiring any extensions, though pg_stat_statements and pg_stat_monitor optionally enhance query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL database operations, monitoring, and management through natural language queries, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum inspection, and schema discovery across PostgreSQL 12–18.
    -
  • F
    license
    Not graded
    quality
    C
    maintenance
    Exposes any SQLite database as read-only MCP tools for AI assistants, enabling listing tables, describing schemas, and running SELECT queries with filtering, ordering, and pagination.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables unrestricted SQL execution (DDL/DML) on PostgreSQL databases, allowing AI agents to create, read, update, and delete data with zero query filtering.
    1
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform read-only PostgreSQL DBA operations and monitoring through natural language, including performance and slow-query analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection, and maintenance recommendations across PostgreSQL 12–18.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to inspect and monitor PostgreSQL databases with read-only DBA tools for performance analysis, bloat detection, locks/deadlocks, autovacuum, schema discovery, replication, and maintenance recommendations.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to inspect and monitor PostgreSQL databases using natural language, covering performance analysis, bloat detection, lock/deadlock monitoring, autovacuum, schema inspection, and maintenance recommendations across PostgreSQL 12–18 without requiring extensions.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to inspect and monitor PostgreSQL 12–18 databases through natural language, covering performance and slow-query analysis, table bloat detection, connection/lock and deadlock monitoring, autovacuum and VACUUM effectiveness, replication/WAL status, and schema and relationship discovery. All operations are read-only and production-safe, working with regular user permissions on RDS/Aurora, with optional pg_stat_statements and pg_stat_monitor extensions for deeper query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to monitor and administer PostgreSQL 12-18 databases through natural language, covering performance and slow-query analysis, table bloat detection, connection and lock monitoring, autovacuum and maintenance recommendations, and schema discovery. All operations are read-only and work with regular user permissions, requiring no extensions unless optional query-analytics features are desired.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL DBA operations and monitoring through natural language, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection across PostgreSQL 12–18.
    -