mcpbeat Sign in

MySQL MCP Server

local only

MySQL MCP runs on your own machine — the client starts it, so there is no endpoint to ping. 16 installs a week from npm. Last commit 22 Aug 2026.

MCP server for one MySQL database: schema, read-only queries and guarded writes.

Installs per day peak 11 · avg 3 · -32% w/w
a month agotoday
16
Installs / week
npm · mcp-mysql-client
0
Stars
0 open issues
22 Aug 2026
Last commit
1 release in 90 days
MIT
License
TypeScript

Nothing serious here today

Today is the operative word: we check MySQL MCP every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

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.

run in your terminal
claude mcp add mcp-mysql-client -- npx -y mcp-mysql-client
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-mysql-client": {
      "args": [
        "-y",
        "mcp-mysql-client"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-mysql-client]
command = "npx"
args = ["-y", "mcp-mysql-client"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-mysql-client": {
      "args": [
        "-y",
        "mcp-mysql-client"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "mcp-mysql-client": {
      "args": [
        "-y",
        "mcp-mysql-client"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: MYSQL_HOST (Database host.), MYSQL_PORT (Database port.), MYSQL_USER (MySQL user. Use one with the least privileges the task needs, never root.), MYSQL_PASS (Password for that user. Treat it as a secret; MYSQL_PASS_FILE reads it from a file instead.), MYSQL_DB (The one database this server is bound to. No tool can leave it.), MYSQL_SSL (Require a TLS connection to the server.), MYSQL_SSL_CA (Path to the CA bundle verifying the server certificate; implies MYSQL_SSL.), ALLOW_INSERT_OPERATION (Allow INSERT statements through the execute tool.), ALLOW_UPDATE_OPERATION (Allow UPDATE statements through the execute tool.), ALLOW_DELETE_OPERATION (Allow DELETE statements through the execute tool.), MYSQL_MAX_ROWS (Row cap for one read; the result is marked truncated when it is hit.), MYSQL_TIMEOUT_MS (Statement timeout in milliseconds; the connection is dropped on expiry.). The author declared them in the registry entry; get the values from the project itself.

Alternatives to MySQL MCP

same job, measured the same way
Read Only Local Mysql MCP Server
by hove

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

125 installs/wk local only
R
Read Only Mysql MCP Server
by hove

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

local only
AdoMcp
by john0king

Database MCP server for schema discovery, comments, and SQL queries.

local only
Read Only Local Postgres MCP Server
by hove

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

113 installs/wk local only
AI2SQL
by ai2sql

Text-to-SQL MCP server: read-only queries on PostgreSQL, MySQL and SQL Server with your real schema

answering
SqlServerMcp
by nithish1206

MCP server for SQL Server: schema inspection, safe read-only queries, query plan analysis

local only
Mysql
by marcelo-ochoa

An MCP server for MySQL databases.

44 installs/wk local only
SQL Safe MCP
by proprock

Minimal, read-only, PII-safe MCP server for SQL databases.

326 installs/wk local only

MySQL MCP — questions

Answers built from our own checks of this server.

Why is there no uptime for MySQL MCP?
MySQL MCP runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package mcp-mysql-client was installed 16 times last week.
How do I connect MySQL MCP?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls mcp-mysql-client straight from npm; nothing to host, nothing to sign up for.
How many people use MySQL MCP?
The npm package mcp-mysql-client was installed 16 times in the last week. Week over week that is -32%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is MySQL MCP open source?
Yes — it is published under the MIT licence, written in TypeScript and 0 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.