#2525th of 26 in MCP servers

mcp-server-mysql

MCP server that lets LLMs inspect and query MySQL databases

Stars
2.2k
License
MIT
Last commit
Jul 2026
Last release
Jun 2026
Language
JavaScript
Stars, last 29 weeks+662
25 Apr 2026: 1,562 stars2 May 2026: 1,588 stars9 May 2026: 1,608 stars16 May 2026: 1,647 stars23 May 2026: 1,687 stars30 May 2026: 1,729 stars6 Jun 2026: 1,759 stars13 Jun 2026: 1,794 stars20 Jun 2026: 1,828 stars27 Jun 2026: 1,863 stars4 Jul 2026: 1,896 stars11 Jul 2026: 1,925 stars18 Jul 2026: 1,948 stars25 Jul 2026: 1,966 stars1 Aug 2026: 1,990 stars8 Aug 2026: 2,010 stars15 Aug 2026: 2,037 stars22 Aug 2026: 2,058 stars29 Aug 2026: 2,081 stars5 Sept 2026: 2,099 stars12 Sept 2026: 2,112 stars19 Sept 2026: 2,121 stars26 Sept 2026: 2,136 stars3 Oct 2026: 2,142 stars10 Oct 2026: 2,155 stars17 Oct 2026: 2,170 stars24 Oct 2026: 2,185 stars31 Oct 2026: 2,199 stars7 Nov 2026: 2,216 stars14 Nov 2026: 2,224 stars

1,562 on 25 Apr 20262,224 on 14 Nov 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

Exposes a MySQL database to MCP clients such as Claude Code and Claude Desktop through a single `mysql_query` tool and a `mysql://tables` resource for schema metadata. Queries are read-only unless INSERT, UPDATE or DELETE are enabled with env flags. It also supports SSH tunnels, multi-database mode, per-schema permissions, PII redaction and an HTTP remote mode with bearer auth.

Who it is for: Developers connecting Claude or other MCP clients to MySQL

Strengths

  • Read-only by default; INSERT, UPDATE and DELETE each need a separate env flag
  • Per-schema read/write permissions and multi-database mode
  • Built-in SSH tunnel, SSL/TLS with optional mTLS, and PII masking of results
  • Runs via npx with no install; also offers HTTP transport with bearer token

Weaknesses

  • Only one query tool, so all access goes through raw SQL
  • MySQL only; no other database engines
  • Requires Node.js 20+ and a MySQL user with suitable privileges
  • Quick-install examples use the root user and a plaintext password in env

What it needs

  • no GPU
  • Docker
  • Needs Node.js 20+, MySQL 5.7+ (8.0+ recommended)
  • Models: Claude Code, Claude Desktop, Any MCP client

What changed

  1. v2.0.9 ↗ (opens in a new tab)Security fix

    “PII Redaction — New ENABLEPIIREDACTION flag scrubs emails, phone numbers, SSNs, credit cards, and IPv4 addresses from query results before they reach the LLM. Includes column-name heuristics, regex v…”

From the release notes. No flag means the note does not say so, not that the upgrade is safe.

Also in MCP servers

See all 26
Also in MCP servers
RankProjectScore
1serversReference MCP servers for files, git, fetch, memory and time92.1k starscustom license94 out of 100
2apify-mcp-serverOfficial MCP server exposing Apify Store Actors as tools for web scraping16.8k stars+4,920 (+42%) in 30 daysMIT89 out of 100
3ha-mcpMCP server that lets AI assistants configure and control Home Assistant8k starsMIT88 out of 100
#4xiaohongshu-mcpMCP server that lets AI clients post, search and comment on Xiaohongshu17.2k stars+866 (+5.3%) in 30 daysApache-2.087 out of 100
#5mcp-atlassianMCP server exposing Jira and Confluence tools to AI assistants6.1k stars+140 (+2.3%) in 30 daysMIT80 out of 100