Skip to main content
Glama
97,619 servers. Updated
20 Best MySQL MCP Servers: compared and ranked, October 2026Ranked from 589 matching servers on stars, growth, downloads and maintenance. Updated .

Matching MCP tools:

  • A
    license
    Not graded
    quality
    A
    maintenance
    A simple MCP server that executes SQL queries on a MariaDB database using a YAML config file.
    1
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables querying local MariaDB and MySQL databases with optimized output formats designed to significantly reduce token consumption. It provides secure tools for exploring schemas and executing read-only SQL queries while automatically blocking destructive commands.
    56 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    This read-only MCP Server allows you to connect to MariaDB data from Claude Desktop through CData JDBC Drivers. For full CRUD support, check out the first managed MCP platform: CData Connect AI (https://www.cdata.com/ai/).
    MIT
  • A
    license
    A
    quality
    B
    maintenance
    Zero-config SQL database MCP server with a browser GUI that connects Claude to MySQL, MariaDB, SQLite, and MSSQL databases.
    6
    48 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    Local Cursor plugin / MCP server for MySQL & MariaDB. Inspect schema, query data, and mutate safely with read-only by default.
    262 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Raw SQL MCP is a STDIO MCP server for executing raw SQL against SQL Server, SQLite, PostgreSQL, MySQL, and MariaDB.
    AGPL 3.0
  • A
    license
    A
    quality
    A
    maintenance
    Read-only-by-default MySQL/MariaDB, PostgreSQL and SQLite access for AI agents: explore schemas and foreign keys, search, sample, query and EXPLAIN with token-efficient TOON output. Writes only when enabled, always previewed and atomic.
    11
    Apache 2.0
  • F
    license
    A
    quality
    D
    maintenance
    Enables AI to execute SQL queries (SELECT, DML, DDL) on MySQL/MariaDB databases with strong security: connection credentials never exposed to AI, write queries require user approval, read-only connections enforced, and query results limited to 50 rows.
    6
    -
  • A
    license
    A
    quality
    C
    maintenance
    Read-only MCP server that lets AI agents safely query SQLite, PostgreSQL, and MySQL/MariaDB. Enforces read-only transactions with column masking, row caps, query timeouts, EXPLAIN-based cost rejection, and rate limiting.
    7
    39 npm
    2
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    MCP server that gives Claude Code and OpenCode direct access to your XAMPP MariaDB/MySQL databases, enabling database listing, table inspection, and read/write query execution.
    5
    MIT
  • A
    license
    A
    quality
    A
    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
    Not graded
    quality
    B
    maintenance
    Enables LLM clients to read and modify MS-SQL, PostgreSQL, MySQL/MariaDB and SQLite databases through 38 MCP tools, with every table, view, function and procedure gated by explicit permission rules that deny by default. Ships with a desktop GUI for authoring rules, approving destructive operations and auditing what the model did.
    GPL 3.0
  • A
    license
    Not graded
    quality
    C
    maintenance
    Enables querying MySQL/MariaDB databases by alias from Claude. Supports secure connections with aliases, tags, and automatic LIMIT, and requires confirmation for destructive commands.
    9 npm
    1
    MIT
  • A
    license
    Not graded
    quality
    B
    maintenance
    db-mcp enables read-only access to multiple MariaDB/MySQL databases through a single MCP server, with schema allowlisting, safety checks, and automatic SSH tunnels.
    59 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables read-only access to PostgreSQL and MySQL/MariaDB databases through MCP tools for listing tables, previewing data, and running SELECT queries with a built-in UI for managing database configurations.
    59 npm
    MIT
  • A
    license
    Not graded
    quality
    C
    maintenance
    Provides a MariaDB-backed scratchpad for writing, amending, and searching notes across separate conversations. Also harvests the auto-compacted summaries and hidden-event pointers of DSH session logs so they can be searched, expanded, and traced back to the full unredacted original text by seq or guid.
    AGPL 3.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    A powerful MySQL/MariaDB database navigation MCP (Model Control Protocol) to be installed in Cursor, Claude or other tools that accept mcps for easy database querying and management.
    8
    MIT