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

Matching MCP tools:

Matching MCP Connectors:

"MCP server for PostgreSQL and MySQL database indexing and DDL queries" matching MCP servers:

GET /v1/servers – MCP directory API reference
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables secure MySQL database operations through natural language with built-in safety features. Supports SELECT queries by default while providing configurable restrictions for INSERT, UPDATE, and DELETE operations.
    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.
    11 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
    A Model Context Protocol server that provides read-only access to MySQL databases, enabling LLMs to inspect database schemas and execute read-only queries.
    20,882 npm
    2,222
    MIT
  • A
    license
    Not graded
    quality
    Not graded
    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
    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
    A Model Context Protocol (MCP) server for interacting with MySQL databases. Provides tools for querying, inspecting, and modifying databases directly from Claude.
    7
    8 npm
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Enables schema inspection, SELECT queries, and confirmation-gated write/DDL/transaction operations on MySQL and MariaDB databases through natural language.
    14
    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
    D
    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 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
    A
    quality
    D
    maintenance
    Provides read-only MySQL database operations for AI agents, supporting multiple database servers with tools for listing tables, describing schemas, and executing SELECT queries.
    6
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    Provides access to MySQL databases with fine-grained access control, supporting multiple databases simultaneously with configurable access modes (readonly, readwrite, full) and table-level permissions using whitelists, blacklists, wildcards, and regex patterns.
    1
    1
    MIT
  • F
    license
    A
    quality
    B
    maintenance
    Enables AI assistants to connect to MySQL databases, execute read-only queries, list tables, and describe table schemas via MCP.
    10
    1
    -
  • F
    license
    A
    quality
    D
    maintenance
    A tool that provides simple API to execute SQL queries and manage MySQL databases, designed to integrate with Cursor IDE for AI assistants to directly perform database operations.
    8
    3
    -
  • 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
    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 connector that gives Claude direct access to MySQL databases through the Model Context Protocol, enabling natural language querying, schema exploration, and database management.
    2
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI assistants to execute secure SQL queries against a MySQL database through the Model Context Protocol, with read-only operations by default and optional write/DDL capabilities.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A specialized MySQL MCP server for Cursor that enables users to query table structures, execute SQL, and generate database documentation. It features multiple security modes to ensure safe interaction while providing tools for database overviews and query caching.
    5
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables LLM clients such as Cursor and Claude to discover and use generated REST services through MCP tools for create, update, and delete actions and MCP resources for list and get-by-id context. Services generated in one command are exposed simultaneously as REST endpoints and MCP tools and resources.
    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
    C
    maintenance
    Enables AI applications to discover MySQL and PostgreSQL database schemas and run validated read-only SELECT queries against a configured database, with result limits and SQL safety controls.
    20
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides AI assistants with read-only access to inspect database schemas, preview data, and run safe queries across PostgreSQL, MySQL, MongoDB, and SQL Server. It enables AI tools to understand database structures and relationships automatically to generate more accurate code.
    9 npm
    7
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Exposes generated CRUD services to LLM clients over the Model Context Protocol, providing tools for create, update, and delete actions plus read-only resources for listing and fetching records by id. It lets assistants like Claude, ChatGPT, and Cursor discover and manipulate the same data served by the project's REST endpoints without any extra glue code.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Exposes every generated CRUD service to LLM clients such as Claude, ChatGPT, or Cursor through discoverable MCP tools for create, update, and list actions plus read-only resources, so models can query and manipulate data without raw HTTP calls. It runs alongside the same codebase's REST endpoints, letting clients and AI share one data layer.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables LLMs to discover and invoke generated CRUD tools and resources, allowing AI assistants to interact with the same data exposed by the REST API. Supports MCP clients such as Cursor and Claude over HTTP.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables read-only SQL queries and datasource listing for MySQL databases via MCP.
    22 PyPI
    1
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables LLMs to discover and invoke generated API actions as MCP tools and read context through MCP resources for list and get-by-id operations. It provides HTTP-based MCP access for clients such as Cursor and Claude without extra glue code.
    MIT
  • 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.
    17 npm
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables LLMs and MCP clients to discover and use generated CRUD services through MCP tools and resources, exposing actions like create, update, delete, and read-only list/get access alongside REST endpoints.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables AI agents to safely explore and query databases across SQLite, PostgreSQL, MySQL, and MSSQL, with schema introspection, natural language queries, and data profiling.
    31 PyPI
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables LLMs and AI assistants to discover and use tools and resources for CRUD operations on generated services, providing direct interaction with the same data exposed by REST endpoints.
    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
    Enables AI agents to safely execute MySQL queries through a TAF data-access service, with read-only defaults, DDL blocking, and no need for local database credentials.
    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
    A
    maintenance
    Enables LLMs to discover and invoke CRUD tools and read-only resources for generated services, allowing direct interaction with the same data exposed by the REST API.
    MIT
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables LLMs to interact with generated REST API services by exposing MCP tools and resources for CRUD operations, listing, and retrieval. It lets AI clients discover and call create, update, delete, list, and get-by-id actions against the same data available over REST.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    MCP server for MySQL/MariaDB/Aurora MySQL that enables executing SQL queries, explaining query plans, inspecting schema, checking health, and running diagnostic playbooks through Claude.
    Apache 2.0
  • A
    license
    Not graded
    quality
    A
    maintenance
    Exposes every generated Express service to LLM clients over HTTP as MCP tools (create, update, delete actions) and resources (list and get-by-id context), so AI assistants can discover and manipulate application data without raw HTTP calls. This lets teams run a single codebase that serves both traditional REST clients and AI agents such as Cursor or Claude.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables LLMs to interact with generated CRUD services through MCP tools and resources, so they can create, update, list, and fetch records via a standard protocol. It also provides REST API access from the same codebase for traditional clients.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A MySQL MCP server with DDL support, permission control, and operation logging, enabling SQL query execution, database info retrieval, and schema management.
    MIT