20 Best MySQL MCP Servers, Compared (August 2026)
The short answer
For most developers, I would reach for benborla/mcp-server-mysql: it is a community favourite, has 96 stars gained per 30 days and 25 commits in the last 12 weeks, and its npm package had 12,807 downloads in a typical week. It provides read-only queries and schema access with writes disabled by default, which is the safest common setup. If you need one MCP gateway across MySQL, PostgreSQL, SQL Server, and SQLite instead of MySQL alone, DBHub is the better answer: it had a commit 5 days ago and 83 commits in the last 12 weeks.
Whichever you choose, give it the narrowest access that still works — a read-only credential, a replica, a scratch account — and widen it only once you have watched what your agent actually asks for.
Glama operates the MCP registry these numbers are measured from, and sells MCP hosting and a gateway. No position on this page is paid for. How the registry is built.
Quick picks
- 1MCP Server for MySQL — Read-only database analysis for LLMs — it offers a query tool and schema resource, with writes disabled by default.
- 2MySQL MCP Server — For AI-assisted MySQL exploration and ad-hoc SQL, it exposes query, schema, and sampling tools.
- 3DBHub — Multi-database MySQL work through a single lightweight MCP gateway—DBHub connects Claude Desktop, Cursor, and VS Code to MySQL, PostgreSQL, SQL Server, and SQLite with read-only guardrails.
- 4MCP MariaDB Server — AI assistants that need to query and manage MariaDB databases, including vector stores, through the MCP protocol.
- 5DBCode — For MySQL developers already working in VS Code who need schema inspection and query execution over MCP, DBCode offers this through its database client extension.
Which one, for your situation
| Your situation | What to use |
|---|---|
| I need a read-only MCP server you can install from npm. | Use benborla/mcp-server-mysql because it is read-only with writes disabled by default and published as an npm package. |
| I need one MCP server for MySQL, PostgreSQL, and SQL Server. | Use DBHub because it connects to MySQL, PostgreSQL, SQL Server, and SQLite through one MCP gateway with read-only guardrails. |
| I need transparent tool descriptions and a small tool surface. | Use designcomputer/mysql_mcp_server, which exposes 3 tools and has a tool description grade of A. |
| I need schema diff and data-quality checks in my agent. | Use whodb-cli, which exposes 12 tools including diff, audit, and query tools, with a tool description grade of A. |
| I need controlled admin DDL and DML with permission checks. | Use liliangshan/mcp-server-mysql because it is designed for DDL and DML with permission control and operation logs. |
| I already spend most of my day in VS Code. | Use DBCode, which is built as a VS Code extension and had a commit 0 days ago. |
Top MCP servers for MySQL
| Best for | Profile | ||||||
|---|---|---|---|---|---|---|---|
| 1 | Read-only database analysis for LLMs — it offers a query tool and schema resource, with writes disabled by default. | Community favourite | 2,039 | +96 | 24 days ago | 90.2 | |
| 2 | For AI-assisted MySQL exploration and ad-hoc SQL, it exposes query, schema, and sampling tools. | Community favourite | 1,361 | +21 | 18 days ago | 83.3 | |
| 3 | Multi-database MySQL work through a single lightweight MCP gateway—DBHub connects Claude Desktop, Cursor, and VS Code to MySQL, PostgreSQL, SQL Server, and SQLite with read-only guardrails. | Community favourite | 3,319 | +184 | 5 days ago | 70.1 | |
| 4 | AI assistants that need to query and manage MariaDB databases, including vector stores, through the MCP protocol. | Steady | 189 | +8 | 10 days ago | 66.2 | |
| 5 | For MySQL developers already working in VS Code who need schema inspection and query execution over MCP, DBCode offers this through its database client extension. | Community favourite | 326 | +10 | today | 57.8 | |
| 6 | Administering MySQL from an MCP client when you need controlled DDL and DML, permission checks, and a record of operations. | Steady | 14 | 0 | 90 days ago | 57.4 | |
| 7 | Operations touching several MySQL databases concurrently — per-connection auto-generated query, transaction, schema, and performance tools make it fit. | Community favourite | 411 | +12 | 23 days ago | 57.1 | |
| 8 | For a MySQL database that needs schema drift detection and data-quality checks alongside SQL queries, it exposes diff, audit, and query tools. | Community favourite | 5,009 | +107 | today | 55.4 | |
| 9 | Natural-language querying and schema analysis of MySQL, PostgreSQL, or Redis from Claude Desktop — it defaults to read-only mode. | Abandoned but popular | 908 | +33 | 156 days ago | 55.0 | |
| 10 | Connecting an MCP client to Google Cloud databases — it offers prebuilt exploration tools such as list_tables and execute_sql. | Community favourite | 16,198 | +224 | today | 54.5 | |
| 11 | Developers using Prisma ORM against PostgreSQL who want AI agents to handle schema and queries — it provides agent skills for those workflows. | Community favourite | 47,569 | +209 | today | 53.4 | |
| 12 | AI agents that need to run iterative SQL and JavaScript against MySQL — it exposes 43 tools including a code execution mode in a sandboxed V8 isolate. | Steady | 8 | +1 | 2 days ago | 53.0 | |
| 13 | Teams that need one governed surface for multiple data sources — it runs its own discovery loop as an auditable, policy-checked agent rather than exposing raw credentials. | Community favourite | 3,144 | +19 | today | 52.4 | |
| 14 | For a MySQL MCP server that handles both reads and writes — it exposes five tools: connect_db, query, execute, list_tables, describe_table. | Abandoned but popular | 168 | +1 | 279 days ago | 52.4 | |
| 15 | Read-only database inspection in any MCP client—its query, info, and environments tools expose read-only access with no write operations. | Steady | 13 | 0 | 14 days ago | 49.2 | |
| 16 | MySQL databases with Chinese table/field comments — it can find tables by Chinese description and generate pinyin initials for field names. | Abandoned but popular | 247 | +1 | 357 days ago | 49.2 | |
| 17 | Setting up a single model to handle both MySQL and a couple of other databases — MCP exposes query tools for 70+ of them. | Community favourite | 15,887 | No snapshot history | today | 48.9 | |
| 18 | A team with a mixed database stack (MySQL plus Postgres or Redis) that wants a single MCP server with per-connection read-only mode. | Emerging | 82 | +82 | today | 48.3 | |
| 19 | For giving an LLM read-only access to a MySQL database — it executes only SELECT queries and exposes table schemas. | Dormant | 14 | +1 | 94 days ago | 45.2 | |
| 20 | For teams that want AI to operate MySQL without seeing credentials — header-based preconfiguration keeps passwords out of model context while still enabling full CRUD via SQL execution. | Dormant | 81 | +1 | 246 days ago | 44.2 |
The ranking, with the evidence
Each position is a weighted mean of adoption (40%), maintenance (24%), momentum (14%), tool description quality (13%) and trust (9%), multiplied by three attenuators: how directly the server is about MySQL — named for it, declaring it, tagged with it, or merely mentioning it — whether its repository is still moving, and how much independent evidence of adoption it has. Open the score on any entry to see every number, including the ones marked ≈, which were imputed from the median of the other candidates rather than measured. The maintenance grade on each entry is mostly issue responsiveness, release recency and open security alerts rather than commits, so a recent commit beside a low grade is two different measurements rather than a contradiction.
- Abandoned but popular — People use it, but its default branch has stopped moving. Fine to keep running, risky to adopt.
- Community favourite — Widely adopted and still actively maintained.
- Dormant — Neither changing nor widely adopted. Here because it still matches the search.
- Emerging — Small audience, growing quickly, maintained. The bet with the most upside.
- Steady — Maintained, modest audience, no surprises in either direction.
- 1benborla/mcp-server-mysql ↗
MCP Server for MySQL
Community favouriteBest for: Read-only database analysis for LLMs — it offers a query tool and schema resource, with writes disabled by default.
It executes SQL queries through a mysql_query tool and exposes a mysql://tables resource for schema metadata, with write operations gated behind environment flags. Choose it only if you can run Node.js v20+ and connect to a MySQL 5.7+ database.
GitHub stars2,039Stars / 30 days+96npm / typical week12.8KTools exposednever inspectedLast commit24 days agoCommits / 12 weeks25Maintenance gradeBTool descriptionsNot gradedScore 90.2 — show every number behind it
- Adoption100 / 100 · weight 40%
- GitHub stars83
- npm downloads87
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance92 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade80
- Commit cadence85
- Momentum77 / 100 · weight 14%
- Stars gained, relative to size87
- Stars gained, absolute80
- npm download trend54
- Tool quality≈65 / 100 · weight 13%
- Tool description quality≈65tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 90.2
- × relevance — the keyword is dedicated here
- 1.00
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 90.2
- 2designcomputer/mysql_mcp_server ↗
MySQL MCP Server
Community favouriteBest for: For AI-assisted MySQL exploration and ad-hoc SQL, it exposes query, schema, and sampling tools.
The server lists database tables as resources and exposes three tools: execute_sql for arbitrary queries and DML, get_schema_info for column metadata, and get_table_sample for previewing rows. Before using it, note that it only accepts single SQL statements, so multi-statement queries are not supported.
GitHub stars1,361Stars / 30 days+21npm / typical weekShips no npm packageTools exposed3Last commit18 days agoCommits / 12 weeks44Maintenance gradeATool descriptionsAScore 83.3 — show every number behind it
- Adoption78 / 100 · weight 40%
- GitHub stars78
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum51 / 100 · weight 14%
- Stars gained, relative to size49
- Stars gained, absolute54
- npm download trendnot measuredno npm download history
- Tool quality91 / 100 · weight 13%
- Tool description quality83
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 83.3
- × relevance — the keyword is dedicated here
- 1.00
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 83.3
- 3bytebase/dbhub ↗
DBHub
Community favouriteBest for: Multi-database MySQL work through a single lightweight MCP gateway—DBHub connects Claude Desktop, Cursor, and VS Code to MySQL, PostgreSQL, SQL Server, and SQLite with read-only guardrails.
DBHub exposes at least execute_sql and search_objects by default, with opt-in explain_sql and health_check tools, and connects to MySQL among other databases via a single MCP interface. Its zero-dependency design requires Node.js 22.5 or higher, and while the default is read-only and token-efficient, the README emphasizes the need for a TOML configuration to manage multiple database connections.
GitHub stars3,319Stars / 30 days+184npm / typical weekdownloads not countedTools exposednever inspectedLast commit5 days agoCommits / 12 weeks83Maintenance gradeATool descriptionsNot gradedScore 70.1 — show every number behind it
- Adoption88 / 100 · weight 40%
- GitHub stars88
- npm downloadsnot measurednpm names no repository for dbhub, so its downloads cannot be attributed
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum95 / 100 · weight 14%
- Stars gained, relative to size97
- Stars gained, absolute91
- npm download trendnot measuredno npm download history
- Tool quality≈65 / 100 · weight 13%
- Tool description quality≈65tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 89.9
- × relevance — the keyword is declared here
- 0.78
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 70.1
Best for: AI assistants that need to query and manage MariaDB databases, including vector stores, through the MCP protocol.
This server exposes tools for listing, querying, and creating databases, tables, and vector stores, along with read-only SQL execution. It requires setting database connection environment variables and, for vector features, an embedding provider API key.
GitHub stars189Stars / 30 days+8npm / typical weekShips no npm packageTools exposednever inspectedLast commit10 days agoCommits / 12 weeks2Maintenance gradeCTool descriptionsNot gradedScore 66.2 — show every number behind it
- Adoption57 / 100 · weight 40%
- GitHub stars57
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance77 / 100 · weight 24%
- Last commit touching this server100dated from the last commit on the default branch, re-read from GitHub at publication; the stored date would have published 164 days ago
- Repository maintenance grade55
- Commit cadence40
- Momentum54 / 100 · weight 14%
- Stars gained, relative to size64
- Stars gained, absolute39
- npm download trendnot measuredno npm download history
- Tool quality≈65 / 100 · weight 13%
- Tool description quality≈65tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integrates100
- Weighted mean of the five
- 66.2
- × relevance — the keyword is dedicated here
- 1.00
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 66.2
- 5dbcodeio/public ↗
DBCode
Community favouriteBest for: For MySQL developers already working in VS Code who need schema inspection and query execution over MCP, DBCode offers this through its database client extension.
DBCode is a VS Code extension whose optional MCP server provides access to supported databases, their schemas, and query execution. Its MCP server is not a standalone process, so choosing it means running DBCode inside VS Code, Cursor, or Windsurf.
GitHub stars326Stars / 30 days+10npm / typical weekdownloads not countedTools exposednever inspectedLast committodayCommits / 12 weeks93Maintenance gradeATool descriptionsNot gradedScore 57.8 — show every number behind it
- Adoption63 / 100 · weight 40%
- GitHub stars63
- npm downloadsnot measurednpm names no repository for dbcode, so its downloads cannot be attributed
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum53 / 100 · weight 14%
- Stars gained, relative to size61
- Stars gained, absolute43
- npm download trendnot measuredno npm download history
- Tool quality≈65 / 100 · weight 13%
- Tool description quality≈65tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 74.1
- × relevance — the keyword is declared here
- 0.78
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 57.8
Best for: Administering MySQL from an MCP client when you need controlled DDL and DML, permission checks, and a record of operations.
It connects to MySQL and exposes SQL execution for DDL and DML, database info, permission checks, operation logs, and DDL-specific logs. Before installing, note that access is governed by environment variables such as READONLY, ALLOW_DDL, ALLOW_DROP, and ALLOW_DELETE, so those must be set deliberately.
GitHub stars14Stars / 30 days0npm / typical week333Tools exposed5Last commit90 days agoCommits / 12 weeks0Maintenance gradeCTool descriptionsBScore 57.4 — show every number behind it
- Adoption58 / 100 · weight 40%
- GitHub stars29
- npm downloads54
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance63 / 100 · weight 24%
- Last commit touching this server88
- Repository maintenance grade55
- Commit cadence5
- Momentum13 / 100 · weight 14%
- Stars gained, relative to size0
- Stars gained, absolute0
- npm download trend53
- Tool quality63 / 100 · weight 13%
- Tool description quality55
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 57.4
- × relevance — the keyword is dedicated here
- 1.00
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 57.4
- 7FreePeak/db-mcp-server ↗
Multi Database MCP Server
Community favouriteBest for: Operations touching several MySQL databases concurrently — per-connection auto-generated query, transaction, schema, and performance tools make it fit.
Its README documents a unified MCP interface that auto-generates database-specific tools for queries, transactions, schema exploration, and performance across configured connections. Choose it knowing the actual exposed tool list has not been verified, so plan to confirm tool names in your client before relying on the documented set.
GitHub stars411Stars / 30 days+12npm / typical weekShips no npm packageTools exposednever inspectedLast commit23 days agoCommits / 12 weeks26Maintenance gradeBTool descriptionsNot gradedScore 57.1 — show every number behind it
- Adoption65 / 100 · weight 40%
- GitHub stars65
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance92 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade80
- Commit cadence85
- Momentum54 / 100 · weight 14%
- Stars gained, relative to size60
- Stars gained, absolute45
- npm download trendnot measuredno npm download history
- Tool quality≈65 / 100 · weight 13%
- Tool description quality≈65tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 73.2
- × relevance — the keyword is declared here
- 0.78
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 57.1
- 8clidey/whodb ↗
whodb-cli
Community favouriteBest for: For a MySQL database that needs schema drift detection and data-quality checks alongside SQL queries, it exposes diff, audit, and query tools.
It exposes 12 tools covering SQL querying, schema metadata, schema diffing, ERD metadata, query explain, and write confirmations. It is not an npm package—you must run the CLI, Docker image, or desktop app to use this MCP server.
GitHub stars5,009Stars / 30 days+107npm / typical weekShips no npm packageTools exposed12Last committodayCommits / 12 weeks715Maintenance gradeATool descriptionsAScore 55.4 — show every number behind it
- Adoption92 / 100 · weight 40%
- GitHub stars92
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum68 / 100 · weight 14%
- Stars gained, relative to size59
- Stars gained, absolute82
- npm download trendnot measuredno npm download history
- Tool quality98 / 100 · weight 13%
- Tool description quality90
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integrates100
- Weighted mean of the five
- 92.3
- × relevance — the keyword is tagged here
- 0.60
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 55.4
- 9Anarkh-Lee/universal-db-mcp ↗
Universal DB MCP
Abandoned but popularBest for: Natural-language querying and schema analysis of MySQL, PostgreSQL, or Redis from Claude Desktop — it defaults to read-only mode.
Universal DB MCP is a Node.js MCP server that connects AI assistants to MySQL, PostgreSQL, Redis, and other databases through MCP stdio, MCP SSE, MCP Streamable HTTP, and a REST API. The one thing worth knowing is that it defaults to read-only mode, so it is for querying and schema analysis rather than modifications.
GitHub stars908Stars / 30 days+33npm / typical week144Tools exposednever inspectedLast commit156 days agoCommits / 12 weeks0Maintenance gradeCTool descriptionsNot gradedScore 55.0 — show every number behind it
- Adoption81 / 100 · weight 40%
- GitHub stars74
- npm downloads46
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance52 / 100 · weight 24%
- Last commit touching this server68
- Repository maintenance grade55
- Commit cadence5
- Momentum59 / 100 · weight 14%
- Stars gained, relative to size73
- Stars gained, absolute62
- npm download trend31
- Tool quality≈65 / 100 · weight 13%
- Tool description quality≈65tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 70.5
- × relevance — the keyword is declared here
- 0.78
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 55.0
- 10googleapis/mcp-toolbox ↗
MCP Toolbox for Databases
Community favouriteBest for: Connecting an MCP client to Google Cloud databases — it offers prebuilt exploration tools such as list_tables and execute_sql.
The README describes an MCP server with prebuilt generic database tools such as list_tables and execute_sql, plus a custom-tools framework for structured queries, semantic search, and NL2SQL. Before choosing it, note that the supported databases are all Google Cloud services, so MySQL is supported only via Cloud SQL.
GitHub stars16,198Stars / 30 days+224npm / typical weekShips no npm packageTools exposednever inspectedLast committodayCommits / 12 weeks289Maintenance gradeATool descriptionsNot gradedScore 54.5 — show every number behind it
- Adoption100 / 100 · weight 40%
- GitHub stars100
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum67 / 100 · weight 14%
- Stars gained, relative to size48
- Stars gained, absolute95
- npm download trendnot measuredno npm download history
- Tool quality≈65 / 100 · weight 13%
- Tool description quality≈65tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 90.8
- × relevance — the keyword is tagged here
- 0.60
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 54.5
- 11prisma/prisma ↗
Prisma MCP Server
Community favouriteBest for: Developers using Prisma ORM against PostgreSQL who want AI agents to handle schema and queries — it provides agent skills for those workflows.
It ships agent skills that let AI assistants load Prisma contracts and drive schema and query changes end-to-end. It does not support MySQL; PostgreSQL is the only database at general availability.
GitHub stars47,569Stars / 30 days+209npm / typical weekdownloads not countedTools exposednever inspectedLast committodayCommits / 12 weeks1,139Maintenance gradeATool descriptionsNot gradedScore 53.4 — show every number behind it
- Adoption100 / 100 · weight 40%
- GitHub stars100
- npm downloadsnot measurednpm names no repository for dev-env, so its downloads cannot be attributed
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum54 / 100 · weight 14%
- Stars gained, relative to size27
- Stars gained, absolute94
- npm download trendnot measuredno npm download history
- Tool quality≈65 / 100 · weight 13%
- Tool description quality≈65tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integrates100
- Weighted mean of the five
- 89.0
- × relevance — the keyword is tagged here
- 0.60
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 53.4
Best for: AI agents that need to run iterative SQL and JavaScript against MySQL — it exposes 43 tools including a code execution mode in a sandboxed V8 isolate.
The server exposes 43 tools covering SQL read/write, schema management, transactions, JSON operations, and a sandboxed code execution mode. It requires Node.js 24+ and a running MySQL server to operate.
GitHub stars8Stars / 30 days+1npm / typical week98Tools exposed43Last commit2 days agoCommits / 12 weeks31Maintenance gradeBTool descriptionsBScore 53.0 — show every number behind it
- Adoption46 / 100 · weight 40%
- GitHub stars24
- npm downloads42
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance95 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade80
- Commit cadence100
- Momentum28 / 100 · weight 14%
- Stars gained, relative to size34
- Stars gained, absolute13
- npm download trend35
- Tool quality63 / 100 · weight 13%
- Tool description quality55
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 62.4
- × relevance — the keyword is dedicated here
- 1.00
- × continuity — actively changing
- 1.00
- × evidence — modest but real audience
- 0.85
- Composite score
- 53.0
- 13dosco/graphjin ↗
GraphJin
Community favouriteBest for: Teams that need one governed surface for multiple data sources — it runs its own discovery loop as an auditable, policy-checked agent rather than exposing raw credentials.
GraphJin is a compiler and runtime that exposes GraphQL and MCP interfaces, letting agents discover before acting, validate queries, and run approved work with an execution ledger. Worth knowing: it ships a built-in agent that requires an API key for OpenAI, Anthropic, or Google to run in agentic mode, and the MCP tool list was not measured at publication.
GitHub stars3,144Stars / 30 days+19npm / typical week336Tools exposednever inspectedLast committodayCommits / 12 weeks337Maintenance gradeATool descriptionsNot gradedScore 52.4 — show every number behind it
- Adoption96 / 100 · weight 40%
- GitHub stars87
- npm downloads54
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum55 / 100 · weight 14%
- Stars gained, relative to size31
- Stars gained, absolute53
- npm download trend100
- Tool quality≈65 / 100 · weight 13%
- Tool description quality≈65tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integrates100
- Weighted mean of the five
- 87.3
- × relevance — the keyword is tagged here
- 0.60
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 52.4
- 14f4ww4z/mcp-mysql-server ↗
mcp-mysql-server
Abandoned but popularBest for: For a MySQL MCP server that handles both reads and writes — it exposes five tools: connect_db, query, execute, list_tables, describe_table.
The server exposes tools to connect to a MySQL database, run SELECT queries, execute INSERT/UPDATE/DELETE statements, list tables, and describe table structure. MySQL credentials must be provided either as environment variables or as a connection URI.
GitHub stars168Stars / 30 days+1npm / typical week525Tools exposed5Last commit279 days agoCommits / 12 weeks0Maintenance gradeFTool descriptionsBScore 52.4 — show every number behind it
- Adoption66 / 100 · weight 40%
- GitHub stars56
- npm downloads58
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance25 / 100 · weight 24%
- Last commit touching this server42
- Repository maintenance grade5
- Commit cadence5
- Momentum19 / 100 · weight 14%
- Stars gained, relative to size27
- Stars gained, absolute16
- npm download trend6
- Tool quality63 / 100 · weight 13%
- Tool description quality55
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 52.4
- × relevance — the keyword is dedicated here
- 1.00
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 52.4
Best for: Read-only database inspection in any MCP client—its query, info, and environments tools expose read-only access with no write operations.
The server exposes three tools: query for read-only SQL, info for database information, and environments for listing configured MySQL environments. Before choosing it, note that environments are limited to local, development, staging, and production, and write operations are not supported.
GitHub stars13Stars / 30 days0npm / typical week63Tools exposed3Last commit14 days agoCommits / 12 weeks4Maintenance gradeATool descriptionsAScore 49.2 — show every number behind it
- Adoption43 / 100 · weight 40%
- GitHub stars29
- npm downloads38
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance88 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence40
- Momentum6 / 100 · weight 14%
- Stars gained, relative to size0
- Stars gained, absolute0
- npm download trend25
- Tool quality76 / 100 · weight 13%
- Tool description quality68
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 57.9
- × relevance — the keyword is dedicated here
- 1.00
- × continuity — actively changing
- 1.00
- × evidence — modest but real audience
- 0.85
- Composite score
- 49.2
- 16wenb1n-dev/mysql_mcp_server_pro ↗
mysql_mcp_server
Abandoned but popularBest for: MySQL databases with Chinese table/field comments — it can find tables by Chinese description and generate pinyin initials for field names.
It exposes five tools: execute_sql, get_chinese_initials, get_table_name, get_table_desc, and get_table_index. It is a Python package installed with pip and configured through a .env file containing MYSQL_* variables; no npm package is published.
GitHub stars247Stars / 30 days+1npm / typical weekShips no npm packageTools exposed5Last commit357 days agoCommits / 12 weeks0Maintenance gradeFTool descriptionsBScore 49.2 — show every number behind it
- Adoption60 / 100 · weight 40%
- GitHub stars60
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance25 / 100 · weight 24%
- Last commit touching this server42
- Repository maintenance grade5
- Commit cadence5
- Momentum17 / 100 · weight 14%
- Stars gained, relative to size20
- Stars gained, absolute12
- npm download trendnot measuredno npm download history
- Tool quality61 / 100 · weight 13%
- Tool description quality53
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 49.2
- × relevance — the keyword is dedicated here
- 1.00
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 49.2
- 17t8y2/dbx ↗
dbx
Community favouriteBest for: Setting up a single model to handle both MySQL and a couple of other databases — MCP exposes query tools for 70+ of them.
dbx is an MCP server that exposes the tables of a connected database to an MCP client. Before choosing it, note that the tool list was not measured here, so nothing about its actual tools can be confirmed.
GitHub stars15,887Stars / 30 daysno snapshot historynpm / typical weekdownloads not countedTools exposednever inspectedLast committodayCommits / 12 weeks3,980Maintenance gradeATool descriptionsNot gradedScore 48.9 — show every number behind it
- Adoption100 / 100 · weight 40%
- GitHub stars100
- npm downloadsnot measurednpm publishes dbx from samt/node-dbx
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance100 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence100
- Momentum≈0 / 100 · weight 14%
- Stars gained, relative to sizenot measuredno snapshot history yet
- Stars gained, absolutenot measuredno snapshot history yet
- npm download trendnot measuredno npm download history
- Tool quality≈65 / 100 · weight 13%
- Tool description quality≈65tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 81.5
- × relevance — the keyword is tagged here
- 0.60
- × continuity — actively changing
- 1.00
- × evidence — widely adopted
- 1.00
- Composite score
- 48.9
- 18
Best for: A team with a mixed database stack (MySQL plus Postgres or Redis) that wants a single MCP server with per-connection read-only mode.
The server exposes 100 tools for querying and managing Postgres, Redis, Elasticsearch, MySQL, MongoDB, and LDAP, with schema inspection, query execution, and health checks. It expects connections to be configured through environment variables or a YAML file, and it loads database drivers on demand, so the needed driver must be installed.
GitHub stars82Stars / 30 days+82npm / typical weekdownloads not countedTools exposed100Last committodayCommits / 12 weeks31Maintenance gradeBTool descriptionsAScore 48.3 — show every number behind it
- Adoption48 / 100 · weight 40%
- GitHub stars48
- npm downloadsnot measurednpm publishes mcp-server-db from Nam088/mcp-database-server-v2
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance95 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade80
- Commit cadence100
- Momentum91 / 100 · weight 14%
- Stars gained, relative to size100
- Stars gained, absolute77
- npm download trendnot measuredno npm download history
- Tool quality71 / 100 · weight 13%
- Tool description quality63
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 72.9
- × relevance — the keyword is declared here
- 0.78
- × continuity — actively changing
- 1.00
- × evidence — modest but real audience
- 0.85
- Composite score
- 48.3
Best for: For giving an LLM read-only access to a MySQL database — it executes only SELECT queries and exposes table schemas.
The README documents the
querytool for executing read-only SQL and table schema resources. Before choosing it, note that it requires Node 18 or newer.GitHub stars14Stars / 30 days+1npm / typical week130Tools exposednever inspectedLast commit94 days agoCommits / 12 weeks0Maintenance gradeDTool descriptionsNot gradedScore 45.2 — show every number behind it
- Adoption49 / 100 · weight 40%
- GitHub stars29
- npm downloads45
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance57 / 100 · weight 24%
- Last commit touching this server88
- Repository maintenance grade30
- Commit cadence5
- Momentum17 / 100 · weight 14%
- Stars gained, relative to size30
- Stars gained, absolute11
- npm download trend0
- Tool quality≈65 / 100 · weight 13%
- Tool description quality≈65tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 53.2
- × relevance — the keyword is dedicated here
- 1.00
- × continuity — actively changing
- 1.00
- × evidence — modest but real audience
- 0.85
- Composite score
- 45.2
Best for: For teams that want AI to operate MySQL without seeing credentials — header-based preconfiguration keeps passwords out of model context while still enabling full CRUD via SQL execution.
It exposes tools for connection management (add, list, select, remove) and for query and schema inspection (execute_query, show_tables, describe_table, show_databases). It runs as a standalone HTTP server and stores sessions in memory, so a server restart forces MCP clients to reconnect and credentials must be provided via headers or dynamic input.
GitHub stars81Stars / 30 days+1npm / typical week21Tools exposednever inspectedLast commit246 days agoCommits / 12 weeks0Maintenance gradeCTool descriptionsNot gradedScore 44.2 — show every number behind it
- Adoption52 / 100 · weight 40%
- GitHub stars48
- npm downloads29
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance38 / 100 · weight 24%
- Last commit touching this server42
- Repository maintenance grade55
- Commit cadence5
- Momentum33 / 100 · weight 14%
- Stars gained, relative to size26
- Stars gained, absolute11
- npm download trend72
- Tool quality≈65 / 100 · weight 13%
- Tool description quality≈65tool descriptions not yet scored
- Built and inspected by Glamanot measurednever built and inspected by Glama
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integratesnot measurednot published by the vendor it integrates
- Weighted mean of the five
- 52.0
- × relevance — the keyword is dedicated here
- 1.00
- × continuity — actively changing
- 1.00
- × evidence — modest but real audience
- 0.85
- Composite score
- 44.2
Questions people ask
How do benborla/mcp-server-mysql and designcomputer/mysql_mcp_server differ?
benborla/mcp-server-mysql is read-only with writes disabled by default, had 96 stars gained per 30 days, 25 commits in the last 12 weeks, and an npm package. designcomputer/mysql_mcp_server exposes 3 tools with a tool description grade of A, had 44 commits in the last 12 weeks, and has no published npm package. Choose benborla for a read-only default and npm install; choose designcomputer if you want a small server with clearly described tools.
Which server should I choose if I need write access to MySQL?
liliangshan/mcp-server-mysql is the one specifically described for controlled DDL and DML, with permission checks and operation logs. Its 5 tools have a tool description grade of B. It had a commit 90 days ago and 0 commits in the last 12 weeks, so be expect it as a stable but quiet option.
Does DBHub only support MySQL?
No. DBHub connects to MySQL, PostgreSQL, SQL Server, and SQLite through one MCP gateway with read-only guardrails. It also works with Claude Desktop, Cursor, and VS Code, so it suits a mixed database stack.
What should I be careful about with f4ww4z/mcp-mysql-server?
It handles both reads and writes, and its 5 exposed tools include connect_db, query, execute, list_tables, and describe_table. Since execute is not read-only, point it at a database where the agent is allowed to make changes. It also had a last commit 279 days ago and 0 commits in the last 12 weeks.
Does MCP MariaDB Server work with MySQL?
MCP MariaDB Server is for managing MariaDB databases, not MySQL specifically. It supports standard SQL and adds vector and embedding-based search. It had a commit 10 days ago and 2 commits in the last 12 weeks; for a MySQL-specific setup, use a MySQL server instead.
What does Abandoned but popular mean for Universal DB MCP?
Universal DB MCP is labeled Abandoned but popular. It had a last commit 156 days ago and 0 commits in the last 12 weeks, but it still has 908 stars, 33 stars gained per 30 days, and 144 downloads in a typical week. Use it if you accept that its upstream is not actively changing.