MySQL MCP Server runs on your own machine — the client starts it, so there is no endpoint to ping. 104 installs a week from pypi. Last commit 23 May 2026.
Python MCP server for MySQL database inspection and querying
Today is the operative word: we check MySQL MCP Server every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.
This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.
claude mcp add mysql-mcp-server -e 'MYSQL_DATABASE=<MYSQL_DATABASE>' -- uvx mdev-mysql-mcp-server
{
"mcpServers": {
"mysql-mcp-server": {
"command": "uvx",
"args": [
"mdev-mysql-mcp-server"
],
"env": {
"MYSQL_DATABASE": "<MYSQL_DATABASE>"
}
}
}
}
[mcp_servers.mysql-mcp-server]
command = "uvx"
args = ["mdev-mysql-mcp-server"]
env = { MYSQL_DATABASE = "<MYSQL_DATABASE>" }
{
"mcpServers": {
"mysql-mcp-server": {
"command": "uvx",
"args": [
"mdev-mysql-mcp-server"
],
"env": {
"MYSQL_DATABASE": "<MYSQL_DATABASE>"
}
}
}
}
{
"servers": {
"mysql-mcp-server": {
"type": "stdio",
"command": "uvx",
"args": [
"mdev-mysql-mcp-server"
],
"env": {
"MYSQL_DATABASE": "<MYSQL_DATABASE>"
}
}
}
}
Put your own value in place of
<MYSQL_DATABASE> (MySQL database name).
The author’s registry entry marks it as required.
Optional settings from the registry entry, left out of the block above:
MYSQL_HOST (MySQL host), MYSQL_PORT (MySQL port), MYSQL_USER (MySQL username), MYSQL_PASSWORD (MySQL password), MYSQL_POOL_SIZE (MySQL connection pool size), LOG_LEVEL (Python logging level), MYSQL_READ_QUERY_LIMIT (Maximum rows returned by read queries).
Python MCP server for PostgreSQL database inspection and querying
MCP server for querying PostgreSQL databases
Database admin MCP: schema inspection, query optimization for PostgreSQL and MySQL
An MCP server for MySQL databases.
Firebird (2.5 to 5.0) MCP server with PLAN inspection and multi-database routing
Sling CLI MCP server for querying any database, running data pipelines and managing replications
MCP server for read-only MySQL database queries in Claude Desktop
MCP server for read-only MySQL database queries in Claude Desktop
Answers built from our own checks of this server.