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
  • F
    license
    A
    quality
    B
    maintenance
    Enables async-first working practices by providing tools to draft decision docs, convert meetings to async artifacts, score status updates, and triage sync vs async tasks. It also offers reference tools for the Open and Async book's principles and coaching prompts.
    11
    74 npm
    51
    -
  • 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
    -
  • 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
    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
    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.
    41 npm
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    A MySQL MCP server for local stdio clients, enabling database queries and management with read-only/write modes, audit logging, and configurable security.
    554 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides tools for interacting with relational databases (PostgreSQL, MySQL, SQLite), enabling SQL queries, schema inspection, and migration execution.
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables AI agents to interact with PostgreSQL or MySQL databases using natural language. Supports SQL queries, schema discovery, and pre-built aggregations without writing SQL.
    -
  • F
    license
    Not graded
    quality
    D
    maintenance
    Enables executing SQL queries, listing tables, describing table structures, and fetching data from a MySQL database with configurable limits.
    -
  • 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
    B
    maintenance
    Enables Claude Code to interact with MySQL databases through configurable tools for inspecting configuration, listing tables, describing schemas, and running parameterized SQL queries, with optional write/DDL operations guarded by permissions.
    -
  • F
    license
    A
    quality
    D
    maintenance
    MCP server that lets clients run SQL (select/insert/update/delete) against a MySQL database, with readonly and readwrite modes.
    4
    -
  • A
    license
    A
    quality
    C
    maintenance
    Enables read-only interaction with MySQL databases, allowing table listing, schema inspection, and execution of SELECT, SHOW, DESCRIBE, EXPLAIN, and WITH queries while strictly preventing any write operations.
    3
    MIT
  • F
    license
    A
    quality
    D
    maintenance
    A local development MCP server that exposes MySQL databases to VSCode and Copilot CLI with read-only SELECT queries and INSERT/UPDATE operations. It provides secure, schema-specific database access for development environments only.
    2
    -
  • A
    license
    A
    quality
    D
    maintenance
    Provides read-only MySQL query execution, database/table browsing, and table structure inspection with SQL safety validation.
    5
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables Claude or any MCP host to explore and query a SQLite database through read-only tools for listing tables, describing schemas, and running SQL queries.
    3
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    A Middleware/Control Plane server that allows AI code agents to securely execute queries against various databases (PostgreSQL, MySQL, MongoDB, Oracle) without directly exposing credentials.
    4
    59 PyPI
    3
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Governed MySQL + MariaDB DBA operations — slow-query, lock-wait/deadlock, replication, and fragmentation RCA, with unbypassable audit logging (MCP + CLI), budget/runaway guards, dry-run, and undo/rollback.
    35
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Enables AI assistants such as Claude, ChatGPT and Cursor to safely explore database schemas and answer business questions by running read-only SQL queries in plain English.
    4
    MIT
  • F
    license
    A
    quality
    C
    maintenance
    Enables MCP clients such as Codex to safely inspect a MySQL database over stdio by listing tables, describing schemas and indexes, and running only validated single read-only SELECT/CTE queries plus JSON EXPLAIN plans. Queries execute inside read-only transactions with strict AST-based rejection of writes, multi-statements, and other risky operations, and results come back as structured JSON.
    6
    -
  • A
    license
    A
    quality
    D
    maintenance
    Enables AI assistants to connect to and interact with PostgreSQL, MySQL, SQLite, and MongoDB databases through natural language, supporting schema exploration, query execution, data export, and more.
    13
    MIT
  • A
    license
    A
    quality
    C
    maintenance
    Enables AI assistants to inspect and query a MySQL database through safe, structured tools, including schema discovery and read-only queries.
    9
    104 npm
    MIT
  • A
    license
    C
    quality
    D
    maintenance
    Connects MCP-compatible clients like Claude to a MySQL database, enabling schema inspection and read/write queries via stdio transport.
    5
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides structured MySQL database operations for Claude Desktop, converting natural language requests into safe, parameterized queries.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables Claude to interact with a MySQL database by automatically discovering its schema and retrieving full table data for analysis.
    ISC
  • 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
    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
    B
    maintenance
    Enables local computer diagnostics by sampling CPU, memory, disk, and network activity and displaying the busiest processes in an interactive dashboard. It also supports human-confirmed process-stop proposals while keeping diagnostics local and bounded.
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables an agent to query connected MySQL databases through named aliases, running reads immediately while holding data-changing statements for local user approval. Passwords are entered on the user's own computer and never reach the agent.
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI applications to securely interact with MySQL databases by listing tables, reading table contents, executing SQL queries, inspecting schemas, sampling data, and optionally using SSH tunnels.
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Enables AI agents to query a private MySQL database through a self-maintained SSH tunnel while enforcing read-only SQL by default, with optional opt-in server and Docker operations.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables Claude to execute SQL queries on MySQL databases with automatic connection management and error handling.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to interact with and manage multiple database types (PostgreSQL, MySQL, SQLite, SQL Server, MongoDB, Redis) through natural language, supporting query analysis, schema management, data analysis, backup/restore, and security analysis.
    8 npm
    2
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables secure, read-only access to MySQL databases with structured query tools, and optional opt-in write operations when explicitly enabled.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides MySQL access with configurable per-connection capabilities, enabling secure read-only or writable database operations through Claude Code and other MCP clients.
    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
    A tool that connects to local MySQL databases and enables large language models (LLMs) to execute SQL queries through the Model Context Protocol (MCP).
    1
    ISC
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables natural language database operations on MySQL databases with AI integration, supporting CRUD operations, schema inspection, and audit logging with built-in security features including SQL injection protection and permission controls.
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A Python MCP server for inspecting and querying MySQL databases, providing table discovery, schema inspection, read-only queries, and optional write/DDL tools.
    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
    Provides a lightweight MySQL database interface via stdio, enabling query execution, data manipulation, schema inspection, and connection testing using FastMCP tools.
    3
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    A read-only MySQL MCP server that provides a safe_query tool for executing SELECT and SHOW queries while blocking write operations, designed for use with OpenCode.
    ISC
  • 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
    D
    maintenance
    Enables AI agents to interact with a MySQL database using natural language, automating SQL tasks like querying, inserting, updating, and deleting data.
    1
    -
  • 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.
    -
  • 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.
    -