Best MCP Servers for MySQL (2026)

MySQL through MCP: dedicated servers from Benborla, DesignComputer, Wenb1n, F4ww4z, and a Go implementation, plus multi-database tools (AnyQuery, Alchemy, Centralmind, FreePeak, Legion) that speak MySQL alongside other engines.

This page collects the 10 MCP servers in our directory that genuinely cover mysql — together they have 6,385 GitHub stars, and 0 of them run as hosted services you can connect to without installing anything. The highest-rated options are julien040/anyquery, benborla29/mcp-server-mysql, designcomputer/mysql_mcp_server.

How to choose

Pick a dedicated MySQL server for single-database work; pick a multi-database tool if the same agent also touches Postgres or SQLite.

🔌

julien040/anyquery

by julien040

1.7k ★

🏎️ 🏠 ☁️ - Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by design.

$npx -y julien040-anyquery
GoDatabases
🔌

benborla29/mcp-server-mysql

by benborla

1.6k ★MIT

☁️ 🏠 - MySQL database integration in NodeJS with configurable access controls and schema inspection

$npx -y -y @benborla29/mcp-server-mysql
JavaScriptDatabases
🔌

designcomputer/mysql_mcp_server

by designcomputer

1.2k ★MIT

🐍 🏠 - MySQL database integration with configurable access controls, schema inspection, and comprehensive security guidelines

$npx -y -y @smithery/cli
PythonDatabases
🔌

centralmind/gateway

by centralmind

528 ★Apache-2.0

🏎️ 🏠 🍎 🪟 - MCP and MCP SSE Server that automatically generate API based on database schema and data. Supports PostgreSQL, Clickhouse, MySQL, Snowflake, BigQuery, Supabase

$npx -y centralmind-gateway
GoDatabases
🔌

runekaagaard/mcp-alchemy

by runekaagaard

401 ★MPL-2.0

🐍 🏠 - Universal SQLAlchemy-based database integration supporting PostgreSQL, MySQL, MariaDB, SQLite, Oracle, MS SQL Server and many more databases. Features schema and relationship inspection, and l

$npx -y runekaagaard-mcp-alchemy
PythonDatabases
🔌

FreePeak/db-mcp-server

by FreePeak

372 ★MIT

🏎️ 🏠 – A high-performance multi-database MCP server built with Golang, supporting MySQL & PostgreSQL (NoSQL coming soon). Includes built-in tools for query execution, transaction management, schema

$npx -y @freepeak/db-mcp-server
GoDatabases
🔌

wenb1n-dev/mysql_mcp_server_pro

by wenb1n-dev

244 ★MIT

🐍 🏠 - Supports SSE, STDIO; not only limited to MySQL's CRUD functionality; also includes database exception analysis capabilities; controls database permissions based on roles; and makes it easy for

$npx -y wenb1n-dev-mysql-mcp-server-pro
PythonDatabases
🔌

f4ww4z/mcp-mysql-server

by f4ww4z

157 ★MIT

📇 🏠 - Node.js-based MySQL database integration that provides secure MySQL database operations

$npx -y -y @smithery/cli
JavaScriptDatabases
🔌

TheRaLabs/legion-mcp

by TheRaLabs

90 ★GPL-3.0

🐍 🏠 Universal database MCP server supporting multiple database types including PostgreSQL, Redshift, CockroachDB, MySQL, RDS MySQL, Microsoft SQL Server, BigQuery, Oracle DB, and SQLite.

$npx -y @modelcontextprotocol/inspector
PythonDatabases
🔌

Zhwt/go-mcp-mysql

by Zhwt

52 ★MIT

🏎️ 🏠 – Easy to use, zero dependency MySQL MCP server built with Golang with configurable readonly mode and schema inspection.

$npx -y zhwt-go-mcp-mysql
GoDatabases

Frequently asked questions

What is the most popular MCP server for MySQL?

julien040/anyquery leads this list with 1,684 GitHub stars. 🏎️ 🏠 ☁️ - Query more than 40 apps with one binary using SQL. It can also connect to your PostgreSQL, MySQL, or SQLite compatible database. Local-first and private by design.

Are these MySQL MCP servers free to use?

10 of the 10 servers here publish a license in the directory (NOASSERTION, MIT, Apache-2.0). 0 of them run as hosted services you can connect to remotely; the rest you install and run yourself. Hosted services may have their own pricing.

How do I choose an MCP server for MySQL?

Pick a dedicated MySQL server for single-database work; pick a multi-database tool if the same agent also touches Postgres or SQLite.

Best MCP Servers for MySQL (2026) | Claude Rules