Best of · MySQL · MCP Server

Best MySQL MCP Servers for Claude Code (Oct 2026)

DBHub is the best MySQL MCP server for Claude Code - 3.5k GitHub stars. Strong alternatives: MySQL MCP Server and MCP Database Utils.

29 MySQL MCP servers for developers, ranked by GitHub stars. Every pick works with Claude Code, Cursor, Codex and any MCP client, and links to install commands and trust signals.

Ranked by Skillselion · adoption from the skills.sh registry & GitHub · data refreshed October 25, 2026.

Ranked shortlist

The top 29 MCP servers for mysql

#MCP ServerStars
1
DBHubbytebase · bytebase/dbhubTop pick

Minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB

3.5k
2
MySQL MCP Servercollectionf4ww4z · f4ww4z/mcp-mysql-server

An MCP server for MySQL database operations—execute queries, insert/update/delete, and inspect table structure.

168
3
MCP Database Utilscollectiondonghao1393 · donghao1393/mcp-dbutils

An MCP service that safely connects AI to databases (SQLite, MySQL, PostgreSQL) with read-only access, SSL support, and controlled write permissions.

90
4

An MCP server providing read-only access to MySQL databases with query execution, schema inspection, and row limits.

72
5

MySQL change tracking with instant row-level recovery and forensic attribution for compliance.

49
6
MySQL MCP Servercollectionenemyrr · enemyrr/mcp-mysql-server

MCP server for direct MySQL database operations including querying, schema management, and DDL/DML execution with prepared statement support.

33
7
Databasecollectionhaymon-ai · haymon-ai/dbmcp

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite

30
8

Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite

30
9
MySQL MCP Servercollectionhuangfeng19820712 · huangfeng19820712/mcp-mysql-server

Provides MySQL database operations through MCP, enabling AI models to interact with MySQL databases via standardized interface with support for queries, inserts, updates, deletes, and schema inspection.

22
10
MCP Database ServercollectionSouhar-dya · Souhar-dya/mcp-db-server

MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.

19
11
MySQL Database MCP Servercollectionburakdirin · burakdirin/mysqldb-mcp-server

An MCP server that enables agents to connect to and execute queries against MySQL databases.

9
12

MCP server for read-only MySQL database queries in Claude Desktop

7
13

MCP server for querying and executing SQL against MySQL databases directly.

4
14

Persistent semantic memory for SQL databases. Postgres, MySQL, MSSQL, SQLite.

3
15
Mysqlcollectionmarcelo-ochoa · marcelo-ochoa/servers

An MCP server for MySQL databases.

2
16

MCP server for database connectivity. Multi-DB (PostgreSQL, MySQL, SQLite), 19 tools.

2
17

A MCP server provides SQL database access with support for PostgreSQL, MySQL, and SQLite.

1
18
Mcp Mysqlcollectioninfoinlet-marketplace · infoinlet-marketplace/marketplace

Read-only MySQL/MariaDB for AI agents — query, list/describe tables, health. SQL-guarded.

0
19

MCP server exposing MySQL database functionalities as tools

0
20
MySQL MCP Servercollectioneppofahmi · eppofahmi/mcp-mysql

A Model Context Protocol server enabling secure interaction with MySQL databases, providing table listing, content reading, and SQL query execution with proper error handling.

0
21
MySQL MCP ServercollectionETHCI-Lab · ETHCI-Lab/mcp-server-mysql

MCP server providing access to MySQL databases with schema inspection and SQL query execution capabilities including optional write operations.

0
22

MCP server for read-only MySQL database queries in Claude Desktop

0
23

A secure, efficient, and intelligent MySQL server for the Model Context Protocol

0
24
Dataco.thinair

Read-only PostgreSQL, MySQL, SQL Server access via MCP — 24 dialect-aware hosted tools.

0
25
Database Admincollectioncybeleri · cybeleri/database-mcp-server

Database admin MCP: schema inspection, query optimization for PostgreSQL and MySQL

0
26
DataClawe — Database as a UtilitycollectionDataClawe · DataClawe/dcl-spec

AI-native database utility. Talk to your DB in plain language. No SQL. MySQL & PostgreSQL.

0
27

MCP server for Databricks, BigQuery, PostgreSQL, MySQL, SQL Server, SQLite, MariaDB

0
28
RetentionCheckcollectionbrianfofficial · brianfofficial/retentioncheck-v2

Pull churn from Stripe, Postgres, MySQL, or pasted feedback. AI-ranked drivers + fixes.

0
29
Sqlfmt McpcollectionMukundaKatta · MukundaKatta/mcp-stack

Deterministic SQL formatting across 19 dialects (postgres, mysql, snowflake, bigquery, etc.).

0
Editorial verdict

Is MySQL well covered on Skillselion?

Similar shape to Postgres - a shared multi-dialect leader (DBHub) plus a real bench of MySQL-specific tools (Dbtrail's forensic change-tracking angle is a genuinely distinct pitch, not a copy of the generic "query your database" server). The oxmysql trap is a useful example of why substring matching on a short token like "mysql" needs a word-boundary check even when the token itself isn't a common English word.

Skillselion is an independent directory, not affiliated with MySQL.

The rundown

Why these MCP servers rank for mysql

1. DBHub

DBHub ranks #1 of the 29 MCP servers for MySQL by adoption, with 3.5k GitHub stars. It minimal, token-efficient Database MCP Server for PostgreSQL, MySQL, SQL Server, SQLite, MariaDB.

2. MySQL MCP Server

MySQL MCP Server ranks #2 of the 29 MCP servers for MySQL by adoption, with 168 GitHub stars. It an MCP server for MySQL database operations—execute queries, insert/update/delete, and inspect table structure.

3. MCP Database Utils

MCP Database Utils ranks #3 of the 29 MCP servers for MySQL by adoption, with 90 GitHub stars. It an MCP service that safely connects AI to databases (SQLite, MySQL, PostgreSQL) with read-only access, SSL support, and controlled write permissions.

4. MySQL MCP Server

MySQL MCP Server ranks #4 of the 29 MCP servers for MySQL by adoption, with 72 GitHub stars. It an MCP server providing read-only access to MySQL databases with query execution, schema inspection, and row limits.

5. Dbtrail

Dbtrail ranks #5 of the 29 MCP servers for MySQL by adoption, with 49 GitHub stars. It mySQL change tracking with instant row-level recovery and forensic attribution for compliance.

FAQ

Common questions

How are these MySQL MCP servers ranked?

By GitHub stars across the 29 MySQL MCP servers that name MySQL in their own name or description - none of these report installs yet. Data from GitHub.

How do I add a MySQL MCP server to Claude Code?

Open the server's listing from the table above and copy its install command or JSON config. In Claude Code, register it with `claude mcp add <name> -- <command>` (or paste the config into your MCP settings). The same servers work in Cursor, Codex and any MCP-compatible agent.

What counts as a MySQL MCP server on this list?

A tool counts here if its own name or description names MySQL directly - not merely an author handle or an unrelated mention - and it is registered as an MCP-type listing in the Skillselion catalog. That bar currently matches 29 servers.

Is Skillselion affiliated with MySQL?

No. Skillselion is an independent directory, not affiliated with MySQL. Rankings come from public GitHub adoption signals, not sponsorship or partnership.

Keep exploring

More MySQL tools

Browse all MCP servers in the catalog, or see every best-of shortlist.

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.