Best MCP servers for MySQL
We found 74 MCP servers for MySQL in the catalog; these are the 15 that rank highest. The order comes from our rank, which weighs adoption, freshness, documentation and publisher identity. Nobody can pay for a place on this list. DBHub, Faucet and PlanetScale lead it. PlanetScale and Dbtrail are published by the company that makes them. DBHub has the most GitHub stars here (3,716). 13 of the 15 had activity in the last 30 days. Remote servers need no local install; local ones run on your machine and can reach local files. Each entry lists why it made the list and links to its install page.
Updated Oct 26, 2026 · Built from catalog data; how we rank and grade
Top 15 of 74
- 1DBHub
bytebase
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite
- Most GitHub stars here (3,716)
- Most weekly downloads here (17.1K)
- Active in the last 30 days
★ 3.7K↓ 17.1K/wkLast active Oct 21, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2
AFreshness: A–Security: not graded yet - 2Faucet
faucetdb
SQL database to MCP tools and REST API: PostgreSQL, MySQL, SQL Server, Oracle, SQLite, Snowflake.
- Runs locally or as a remote server
- Active in the last 30 days
- Open source (MIT)
★ 164↓ 53/wkLast active Oct 18, 2026Local (stdio), Remote (HTTP)Claude Code, Codex, VS Code, Cursor +2
AFreshness: A–Security: not graded yet - 3PlanetScale
planetscaleOfficial
Connect to PlanetScale databases, branches, schema, query insights, and execute SQL
- Published by the vendor
- Remote server, no local install
- Active in the last 30 days
★ 5Last active Oct 11, 2026Remote (HTTP)Claude Code, VS Code, Cursor, Windsurf
AFreshness: A–Security: not graded yet - 4Ncp
portel-dev
1 MCP to rule them all.
- Active in the last 30 days
★ 100Last active Oct 19, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2
AFreshness: A–Security: not graded yet - 5Dbmcp
haymon.ai
Database MCP server for MySQL, MariaDB, PostgreSQL & SQLite with PII redaction and write-prevention
- Runs locally or as a remote server
- Active in the last 30 days
- Open source (MIT)
★ 32Last active Oct 22, 2026Local (stdio), Remote (HTTP)Claude Code, Codex, VS Code, Cursor +2
AFreshness: A–Security: not graded yet - 6DB Connect MCP
yugui923
Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse
- Active in the last 30 days
- Open source (MIT)
★ 6↓ 333/wkLast active Oct 21, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2
AFreshness: A–Security: not graded yet - 7AgentSQL
cuipengdba
Guard AI agents' PostgreSQL/MySQL access via MCP: SQL audit, auth, masking, write approval
- Remote server, no local install
- Active in the last 30 days
- Open source (Apache-2.0)
★ 13Last active Oct 24, 2026Remote (HTTP)Claude Code, VS Code, Cursor, Windsurf
AFreshness: A–Security: not graded yet - 8Quarry
yiminspace
Safety-railed database access: Postgres, MySQL, SQLite, Redis.
- Active in the last 30 days
- Open source (MIT)
★ 4↓ 475/wkLast active Oct 20, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2
AFreshness: A–Security: not graded yet - 9
DataLinkpilat
MCP server for secure database access (PostgreSQL, MySQL, SQLite)
- Active in the last 30 days
- Open source (MIT)
★ 5Last active Oct 14, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2
AFreshness: A–Security: not graded yet - 10Mcpolyglot
ishay60
Policy-checked, audited agent access to Postgres, MySQL, SQLite, MongoDB and OpenAPI REST APIs.
- Active in the last 30 days
- Open source (MIT)
★ 1↓ 72/wkLast active Oct 22, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2
AFreshness: A–Security: not graded yet - 11NeoSQL MCP
unvus
Schemas, SQL, ERDs, and codegen for PostgreSQL, MySQL, Oracle, SQLite, and more via NeoSQL Desktop.
- Active in the last 30 days
- Open source (Apache-2.0)
★ 1Last active Oct 6, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2
AFreshness: A–Security: not graded yet - 12MCP Database Server
Souhar-dya
MCP server for SQLite, PostgreSQL, and MySQL with natural language to SQL and direct SQL tooling.
★ 19Last active Sep 13, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2
BFreshness: B–Security: not graded yet - 13MySQL MCP
neverinfamous
Enterprise-grade MySQL MCP Server with OAuth 2.0, 106 tools, and Docker deployment
- Open source (MIT)
★ 11Last active Aug 18, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2
BFreshness: B–Security: not graded yet - 14Dbtrail
dbtrail.comOfficial
MySQL change tracking with instant row-level recovery and forensic attribution for compliance.
- Published by the vendor
- Remote server, no local install
- Active in the last 30 days
★ 64Last active Oct 23, 2026Remote (HTTP)Claude Code, VS Code, Cursor, Windsurf
AFreshness: A–Security: not graded yet - 15
dbmoleed-smartass
PostgreSQL and MySQL with connections managed at runtime by the agent, SSH tunnels, readonly.
- Active in the last 30 days
Last active Oct 25, 2026Local (stdio)Claude Code, Codex, VS Code, Cursor +2
AFreshness: A–Security: not graded yet