Skip to main content
Glama
132,127 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:

"A guide for executing queries in a GCP PostgreSQL database" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • 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.
    -
  • A
    license
    A
    quality
    D
    maintenance
    Read-only MySQL MCP server that lets AI agents list tables, describe schemas, and run SELECT/SHOW/EXPLAIN queries with a row cap, bound to a single database for safety.
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Model Context Protocol (MCP) Server that allows AI models to securely interact with data hosted in Azure Database for PostgreSQL. It enables natural language querying, schema exploration, and data management through MCP clients like Claude Desktop and Visual Studio Code.
    MIT
  • A
    license
    A
    quality
    C
    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
    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
    Enables AI assistants to interact with PostgreSQL databases through natural language, including executing queries, exploring schemas, analyzing query performance, searching tables and columns, and retrieving database statistics.
    MIT
  • -
    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,301
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Read-only MySQL/MariaDB MCP server for running SELECT queries safely, with automatic read-only enforcement and query limits.
    3
    14 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI agents to format SQL, explain queries in plain English, analyze schemas, build queries from natural language, and generate migrations, all without requiring a database connection.
    5
    47 npm
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    Read-only Text-to-SQL MCP server for PostgreSQL and MySQL that lets users query databases using natural language, with robust multi-layer safety guarantees against writes.
    6
    -
  • 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
    D
    maintenance
    Enables SQL database interaction with true server-side result paging, runtime-managed connection profiles, and SSH-bridged access for PostgreSQL.
    18
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    MCP server for querying and managing multiple databases (SQLite, PostgreSQL, MySQL) with read-only mode and schema inspection.
    13
    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
    A
    quality
    D
    maintenance
    A database MCP server providing 33 tools across PostgreSQL, MySQL, and SQLite, with connection groups, rollback, dump/restore, and schema auto-discovery via natural language.
    34
    95 npm
    5
    MIT
  • A
    license
    B
    quality
    C
    maintenance
    Connects AI assistants to SQL Server, PostgreSQL, and MySQL databases so they can list schemas and tables, describe table structures, run health checks, and execute single read-only SELECT queries. Safety defaults enforce read-only access, block stored procedures and multi-statement queries, and cap returned rows.
    6
    13 npm
    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
    5,295 npm
    204
    AGPL 3.0
  • A
    license
    B
    quality
    D
    maintenance
    MCP server that allows Claude AI to interact directly with MySQL databases, enabling query execution and table information retrieval through natural language.
    1
    4
    ISC
  • 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
    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
    Enables AI assistants to securely interact with PostgreSQL databases through GitHub OAuth, role-based permissions, schema discovery, read-only queries, and privileged write operations.
    MIT
  • 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
  • F
    license
    Not graded
    quality
    C
    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
    D
    maintenance
    A Model Context Protocol server for unified database access and management, supporting multiple databases with CRUD operations, transactions, metadata queries, and built-in security features.
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables Claude and any MCP client to explore schemas and answer questions from PostgreSQL, MySQL/MariaDB, and SQLite databases through safe, read-only-by-default querying with schema discovery, sampling, and parameterised statements. Write and DDL access stay off unless explicitly enabled.
    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
    An extensible MCP server for database operations that supports PostgreSQL for managing schemas, tables, data, and user permissions. It features automatic migration recording for DDL changes and integrates with various AI-powered editors like Cursor, Zed, and Claude Code.
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A modular MCP server that enables interaction with multiple database types including PostgreSQL, MySQL, SQLite, Redis, MongoDB, and LDAP. It provides tools for executing queries, managing SQL commands, and exploring database schemas with configurable read-only security.
    26 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides a natural language interface for querying and managing PostgreSQL, MySQL, MariaDB, MSSQL, and SQLite databases using the Model Context Protocol. Users can explore database schemas and visualize query results through an integrated web dashboard.
    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.
    20 PyPI
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides Claude with direct access to databases including SQLite, SQL Server, PostgreSQL, and MySQL, enabling execution of SQL queries and table management through natural language.
    1
    MIT
  • A
    license
    Not graded
    quality
    C
    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.
    94 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.
    126 npm
    -
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to interact with Google Cloud Platform resources through natural language, with tools for projects, compute, storage, BigQuery, Cloud SQL, Cloud Functions, Cloud Run, GKE, logging, billing, and cost forecasting.
    33 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables connecting Claude and other AI agents to PostgreSQL and MySQL databases with schema and query tools, dev/prod access controls, and real-time WebSocket visualization. It also supports persistent terminals and pre-connection commands for tunnels and other services.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI tools to understand a database, inspect schema, and run safe SELECT queries with SQL guardrails, plus optional codebase reading.
    MIT
  • 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
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables inspecting SQLite database schemas, executing read-only SELECT queries, and monitoring query performance through MCP tools.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for connecting to databases (PostgreSQL, MySQL, SQL Server, Redis) enabling SQL queries, table exploration, and Redis key-value operations.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides universal database operations for AI assistants through MCP, supporting 40+ databases including PostgreSQL, MySQL, MongoDB, Redis, and SQLite with built-in introspection tools for schema exploration.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    MCP server for multiple databases (PostgreSQL, MySQL, MariaDB, SQLite, MongoDB, Redis) with tools for schema inspection, querying, performance diagnostics, and safe write operations, featuring access modes, PII masking, and audit logging.
    Apache 2.0
  • 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
    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 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 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 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 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
    D
    maintenance
    Automatically discovers database schema, performs data quality checks on tables and columns, and generates natural-language root cause analysis reports using Ollama LLM.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables natural language interaction with a corporate SQLite database, allowing users to set up tables, add records, and search data through plain English commands.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to interact with PostgreSQL and Supabase databases through natural language. Supports secure database operations including queries, migrations, and schema management with user-provided credentials.
    1
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations, monitoring, and management through natural language, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum, and schema inspection. Supports PostgreSQL 12-18 with read-only production-safe tools and optional extension-enhanced query analytics.
    -
  • F
    license
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to perform PostgreSQL database operations, monitoring, and management through natural language, including performance analysis, bloat detection, lock/deadlock monitoring, autovacuum and schema inspection, and maintenance recommendations across PostgreSQL 12-18.
    -
  • F
    license
    A
    quality
    D
    maintenance
    Enables LLM agents to perform CRUD operations across multiple databases including PostgreSQL, MySQL, and SQL Server using SQLAlchemy. It features configurable permission management and secure connection handling with automatic password redaction.
    4
    -
  • A
    license
    A
    quality
    B
    maintenance
    MCP server for Microsoft SQL Server that lets LLMs explore schema and execute read-only SELECT queries, with optional stored procedure execution when explicitly enabled.
    3
    64 npm
    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