20 Best MySQL MCP Servers, Compared (September 2026)
The short answer
Most readers should install benborla/mcp-server-mysql. It is a MySQL-specific server with writes off by default, a published npm package, 13,633 downloads in a typical week, 2,039 stars, and 25 commits in the last 12 weeks, so it is both immediately installable and actively maintained. If your task is controlled or audited DDL, liliangshan/mcp-server-mysql is the better answer because it exposes DDL support, permission checks, and operation logs, though it had its last commit 100 days ago and zero 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 schema inspection and querying against MySQL: it documents a mysql_query tool and mysql://tables resource, with writes off by default.
- 2MySQL MCP Server : An AI assistant exploring or analyzing MySQL can rely on schema metadata, table samples, and SQL execution with DML flagged as destructive.
- 3DBHub : An engineer consolidating MySQL, PostgreSQL, SQL Server, MariaDB, and SQLite behind one MCP server: it provides SQL execution and schema search tools.
- 4MCP MariaDB Server : MariaDB deployments needing both SQL querying and embedding-based semantic search: it exposes schema/query tools and optional vector store tools.
- 5DBCode : VS Code users already on DBCode who want AI access to MySQL: the MCP server provides schema access and query execution over existing connections.
Which one, for your situation
| Your situation | What to use |
|---|---|
| I need read-only MySQL schema inspection and queries now. | Use `benborla/mcp-server-mysql` because it is MySQL-specific, read-only by default, has an npm package with 13,633 downloads in a typical week, and had a commit 34 days ago. |
| I need to explore an unfamiliar MySQL database safely. | Use `designcomputer/mysql_mcp_server` because it gives an AI assistant schema metadata and table samples while flagging DML as destructive. |
| I need one MCP server for MySQL plus other databases. | Use `bytebase/dbhub` because it covers MySQL, PostgreSQL, SQLite, DuckDB and others in one server and had 84 commits in the last 12 weeks. |
| I need controlled and audited DDL changes in MySQL. | Use `liliangshan/mcp-server-mysql` if you need DDL support, permission checks, and operation logs, but accept that it had zero commits in the last 12 weeks. |
| I need production MySQL access for multiple agents. | Use `neverinfamous/mysql-mcp` because it exposes 43 tools and is described as preventing lost updates with optimistic versioning and conditional updates. |
| I need natural-language read-only MySQL from Claude Desktop. | Use `Anarkh-Lee/universal-db-mcp` for read-only natural-language MySQL from Claude Desktop, but note its last commit was 166 days ago. |
Top MCP servers for MySQL
| Best for | Profile | ||||||
|---|---|---|---|---|---|---|---|
| 1 | Read-only schema inspection and querying against MySQL: it documents a mysql_query tool and mysql://tables resource, with writes off by default. | Community favourite | 2,039 | +96 | 34 days ago | 90.9 | |
| 2 | An AI assistant exploring or analyzing MySQL can rely on schema metadata, table samples, and SQL execution with DML flagged as destructive. | Community favourite | 1,374 | +30 | 28 days ago | 83.6 | |
| 3 | An engineer consolidating MySQL, PostgreSQL, SQL Server, MariaDB, and SQLite behind one MCP server: it provides SQL execution and schema search tools. | Community favourite | 3,388 | +183 | 10 days ago | 70.2 | |
| 4 | MariaDB deployments needing both SQL querying and embedding-based semantic search: it exposes schema/query tools and optional vector store tools. | Steady | 189 | +8 | 20 days ago | 66.4 | |
| 5 | VS Code users already on DBCode who want AI access to MySQL: the MCP server provides schema access and query execution over existing connections. | Community favourite | 340 | +21 | 3 days ago | 60.2 | |
| 6 | In a MySQL environment where DDL must be controlled and audited: it exposes a query tool with DDL support, permission checks, and operation logs. | Abandoned but popular | 14 | 0 | 100 days ago | 59.1 | |
| 7 | Operators managing several MySQL and PostgreSQL databases concurrently: it generates a specialized query, execute, transaction, schema, and performance tool for each connection. | Community favourite | 417 | +13 | 6 days ago | 58.9 | |
| 8 | When you need natural-language queries and database management across many database engines: it exposes DBX's support for 70+ databases through MCP. | Community favourite | 17,423 | +5,035 | today | 57.4 | |
| 9 | Production MySQL environments with multiple agents: optimistic versioning and conditional updates prevent lost updates. | Steady | 10 | +3 | 12 days ago | 57.3 | |
| 10 | For read-only natural-language access to MySQL from Claude Desktop, this server offers querying and schema analysis with a default read-only mode. | Abandoned but popular | 908 | +33 | 166 days ago | 55.2 | |
| 11 | Google Cloud MySQL users who want MCP access from an IDE or CLI: it ships prebuilt tools like list_tables and execute_sql. | Community favourite | 16,272 | +196 | 3 days ago | 54.3 | |
| 12 | A developer exploring an unfamiliar MySQL database before writing queries: it exposes schema, table, column, ERD, audit, and starter-query tools. | Community favourite | 5,017 | +31 | today | 53.3 | |
| 13 | MySQL-backed AI agents that need governed, auditable data access: GraphJin exposes a GraphQL and MCP interface with schema discovery and a server-side agent. | Community favourite | 3,152 | +23 | today | 52.9 | |
| 14 | PostgreSQL Prisma Next development with AI agents: it registers per-workflow SKILL.md files so agents can drive schema and query changes; MySQL is not yet covered. | Community favourite | 47,566 | +27 | 2 days ago | 50.7 | |
| 15 | Developers needing prepared-statement read and write access to a MySQL database from an AI client: it exposes query, execute, and schema inspection tools. | Abandoned but popular | 167 | -1 | 289 days ago | 50.2 | |
| 16 | Read-only investigation of MySQL data across predefined environments: its query tool executes SELECT/SHOW/DESCRIBE and no write tools are exposed. | Steady | 13 | 0 | 25 days ago | 48.8 | |
| 17 | MySQL plus five other engines in one MCP server: per-connection read-only enforcement and db_status tools make it the pick. | Emerging | 82 | +82 | 10 days ago | 48.3 | |
| 18 | Read-only querying and schema inspection on an existing MySQL database: it exposes a query tool and schema resources, with no write tools. | Dormant | 14 | +1 | 104 days ago | 47.3 | |
| 19 | A Cursor user who wants a MySQL MCP server with schema management: it installs via Smithery and exposes seven tools including create_table and add_column. | Dormant | 33 | 0 | 230 days ago | 43.7 | |
| 20 | Ad hoc natural-language questions against a MySQL database: it converts the question to SQL using XiYanSQL and can run in a local mode. | Abandoned but popular | 241 | +2 | 200 days ago | 43.6 |
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.
Best for: Read-only schema inspection and querying against MySQL: it documents a mysql_query tool and mysql://tables resource, with writes off by default.
The README documents a mysql_query tool for executing SQL and a mysql://tables resource listing tables and column metadata. It requires Node.js v20+, MySQL 5.7+ (8.0+ recommended), and a MySQL user with appropriate privileges.
GitHub stars2,039Stars / 30 days+96npm / typical week13.6KTools exposednever inspectedLast commit34 days agoCommits / 12 weeks25Maintenance gradeBTool descriptionsNot gradedScore 90.9: show every number behind it
- Adoption100 / 100 · weight 40%
- GitHub stars83
- npm downloads88
- 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
- Momentum80 / 100 · weight 14%
- Stars gained, relative to size87
- Stars gained, absolute80
- npm download trend65
- Tool quality≈66 / 100 · weight 13%
- Tool description quality≈66tool 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.9
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 90.9
Best for: An AI assistant exploring or analyzing MySQL can rely on schema metadata, table samples, and SQL execution with DML flagged as destructive.
The server exposes execute_sql, get_schema_info, and get_table_sample, with optional multi-database, SSE/HTTP, and SSH tunneling modes. It supports only single SQL statements, so multi-statement queries such as
USE db; SELECT ...are not supported.GitHub stars1,374Stars / 30 days+30npm / typical weekShips no npm packageTools exposed3Last commit28 days agoCommits / 12 weeks16Maintenance gradeATool descriptionsAScore 83.6: 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
- Maintenance97 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence85
- Momentum59 / 100 · weight 14%
- Stars gained, relative to size58
- Stars gained, absolute60
- 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.6
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 83.6
Best for: An engineer consolidating MySQL, PostgreSQL, SQL Server, MariaDB, and SQLite behind one MCP server: it provides SQL execution and schema search tools.
DBHub is an MCP server that connects MCP clients to PostgreSQL, MySQL, SQL Server, MariaDB, and SQLite, with documented tools for SQL execution, schema search, and optional explain and health-check tools. One requirement to know before choosing it is DBHub's Node.js >= 22.5.0 runtime, needed because it uses the built-in node:sqlite module.
GitHub stars3,388Stars / 30 days+183npm / typical weekdownloads not countedTools exposednever inspectedLast commit10 days agoCommits / 12 weeks84Maintenance gradeATool descriptionsNot gradedScore 70.2: 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
- Momentum93 / 100 · weight 14%
- Stars gained, relative to size95
- Stars gained, absolute91
- npm download trendnot measuredno npm download history
- Tool quality≈66 / 100 · weight 13%
- Tool description quality≈66tool 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.0
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 70.2
Best for: MariaDB deployments needing both SQL querying and embedding-based semantic search: it exposes schema/query tools and optional vector store tools.
The server exposes tools to list databases and tables, retrieve schemas, run read-only SQL, create databases, and, when configured, manage vector stores. Before choosing it, know that the vector store tools are only available when an EMBEDDING_PROVIDER is set.
GitHub stars189Stars / 30 days+8npm / typical weekShips no npm packageTools exposednever inspectedLast commit20 days agoCommits / 12 weeks2Maintenance gradeCTool descriptionsNot gradedScore 66.4: 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 175 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≈66 / 100 · weight 13%
- Tool description quality≈66tool 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.4
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 66.4
Best for: VS Code users already on DBCode who want AI access to MySQL: the MCP server provides schema access and query execution over existing connections.
The README documents DBCode as a VS Code extension whose built-in MCP server gives AI agents access to connected databases, schemas, and query execution. Before choosing it, note that this MCP server depends on the DBCode extension and existing connections, with per-connection AI permissions, so it is not a standalone MCP server.
GitHub stars340Stars / 30 days+21npm / typical weekdownloads not countedTools exposednever inspectedLast commit3 days agoCommits / 12 weeks79Maintenance gradeATool descriptionsNot gradedScore 60.2: 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
- Momentum73 / 100 · weight 14%
- Stars gained, relative to size86
- Stars gained, absolute54
- npm download trendnot measuredno npm download history
- Tool quality≈66 / 100 · weight 13%
- Tool description quality≈66tool 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
- 77.2
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 60.2
Best for: In a MySQL environment where DDL must be controlled and audited: it exposes a query tool with DDL support, permission checks, and operation logs.
The server exposes five tools: sql_query for DDL and DML, get_database_info, get_operation_logs, check_permissions, and get_ddl_sql_logs. Before choosing it, know that it requires MySQL connection details via environment variables and gates write operations with flags such as ALLOW_DDL and READONLY.
GitHub stars14Stars / 30 days0npm / typical week336Tools exposed5Last commit100 days agoCommits / 12 weeks0Maintenance gradeCTool descriptionsBScore 59.1: 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
- Momentum25 / 100 · weight 14%
- Stars gained, relative to size0
- Stars gained, absolute0
- npm download trend100
- 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
- 59.1
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 59.1
Best for: Operators managing several MySQL and PostgreSQL databases concurrently: it generates a specialized query, execute, transaction, schema, and performance tool for each connection.
The README documents a Go server, built on FreePeak/cortex, that connects to multiple databases concurrently and auto-generates specialized MCP tools per connection, named query_, execute_, transaction_, schema_, and performance_. Before choosing it, know that no npm package is published, so it cannot be installed through npm.
GitHub stars417Stars / 30 days+13npm / typical weekShips no npm packageTools exposednever inspectedLast commit6 days agoCommits / 12 weeks102Maintenance gradeATool descriptionsNot gradedScore 58.9: show every number behind it
- Adoption66 / 100 · weight 40%
- GitHub stars66
- 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
- Momentum55 / 100 · weight 14%
- Stars gained, relative to size61
- Stars gained, absolute46
- npm download trendnot measuredno npm download history
- Tool quality≈66 / 100 · weight 13%
- Tool description quality≈66tool 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
- 75.5
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 58.9
Best for: When you need natural-language queries and database management across many database engines: it exposes DBX's support for 70+ databases through MCP.
It is an MCP server for DBX, a universal database manager whose README documents desktop, Docker, CLI, built-in AI assistant, and MCP Server interfaces. Its tool list is unknown, so the actual exposed tools should be verified before relying on it.
GitHub stars17,423Stars / 30 days+5,035npm / typical weekdownloads not countedTools exposednever inspectedLast committodayCommits / 12 weeks4,093Maintenance gradeATool descriptionsNot gradedScore 57.4: 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
- Momentum100 / 100 · weight 14%
- Stars gained, relative to size100
- Stars gained, absolute100
- npm download trendnot measuredno npm download history
- Tool quality≈66 / 100 · weight 13%
- Tool description quality≈66tool 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
- 95.7
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 57.4
Best for: Production MySQL environments with multiple agents: optimistic versioning and conditional updates prevent lost updates.
The server exposes 43 tools for read and write SQL, table and index management, JSON operations, transactions, and optimistic concurrency control, and documents resources for schema, status, processlist, and InnoDB metrics. It assumes MCP v2 HTTP transport, so deployment planning should center on an HTTP endpoint.
GitHub stars10Stars / 30 days+3npm / typical week91Tools exposed43Last commit12 days agoCommits / 12 weeks2,588Maintenance gradeATool descriptionsBScore 57.3: show every number behind it
- Adoption46 / 100 · weight 40%
- GitHub stars26
- npm downloads42
- 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
- Momentum57 / 100 · weight 14%
- Stars gained, relative to size55
- Stars gained, absolute24
- npm download trend100
- 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
- 67.4
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: modest but real audience
- 0.85
- Composite score
- 57.3
Best for: For read-only natural-language access to MySQL from Claude Desktop, this server offers querying and schema analysis with a default read-only mode.
It implements the Model Context Protocol and an HTTP API, with MCP stdio, MCP SSE, MCP Streamable HTTP, and REST API access methods documented in the README. Before choosing it, know that its exposed tool list has never been inspected and is unknown, so you should verify it before connecting to a database.
GitHub stars908Stars / 30 days+33npm / typical week140Tools exposednever inspectedLast commit166 days agoCommits / 12 weeks0Maintenance gradeCTool descriptionsNot gradedScore 55.2: 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≈66 / 100 · weight 13%
- Tool description quality≈66tool 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.8
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 55.2
Best for: Google Cloud MySQL users who want MCP access from an IDE or CLI: it ships prebuilt tools like list_tables and execute_sql.
The README documents prebuilt generic tools such as list_tables and execute_sql, and a custom tools framework for defining structured queries, semantic search, and NL2SQL. The listed database backends are all Google Cloud services: AlloyDB, BigQuery, Cloud SQL (PostgreSQL, MySQL, SQL Server), Spanner, Firestore, and Knowledge Cat.
GitHub stars16,272Stars / 30 days+196npm / typical weekShips no npm packageTools exposednever inspectedLast commit3 days agoCommits / 12 weeks264Maintenance gradeATool descriptionsNot gradedScore 54.3: 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
- Momentum64 / 100 · weight 14%
- Stars gained, relative to size45
- Stars gained, absolute93
- npm download trendnot measuredno npm download history
- Tool quality≈66 / 100 · weight 13%
- Tool description quality≈66tool 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.5
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 54.3
Best for: A developer exploring an unfamiliar MySQL database before writing queries: it exposes schema, table, column, ERD, audit, and starter-query tools.
The server exposes 12 tools for listing connections, schemas, and tables, describing columns, explaining query plans, diffing schemas, auditing data quality, and running SQL with a confirmation step for writes. It is part of the WhoDB workspace and supports MySQL among many other database families, so connection configuration determines what it can reach.
GitHub stars5,017Stars / 30 days+31npm / typical weekShips no npm packageTools exposed12Last committodayCommits / 12 weeks672Maintenance gradeATool descriptionsAScore 53.3: show every number behind it
- Adoption93 / 100 · weight 40%
- GitHub stars93
- 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
- Momentum43 / 100 · weight 14%
- Stars gained, relative to size32
- Stars gained, absolute61
- 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
- 88.8
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 53.3
Best for: MySQL-backed AI agents that need governed, auditable data access: GraphJin exposes a GraphQL and MCP interface with schema discovery and a server-side agent.
GraphJin runs as a standalone service that exposes GraphQL, REST/OpenAPI, real-time subscriptions, and an MCP endpoint, with a built-in agent that returns evidence-backed answers. Before choosing it, know that agentic mode requires a model API key in ./.env, and this MCP server's exposed tool list has not been inspected.
GitHub stars3,152Stars / 30 days+23npm / typical week714Tools exposednever inspectedLast committodayCommits / 12 weeks451Maintenance gradeATool descriptionsNot gradedScore 52.9: show every number behind it
- Adoption97 / 100 · weight 40%
- GitHub stars87
- npm downloads61
- 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
- Momentum57 / 100 · weight 14%
- Stars gained, relative to size34
- Stars gained, absolute56
- npm download trend100
- Tool quality≈66 / 100 · weight 13%
- Tool description quality≈66tool 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
- 88.2
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 52.9
Best for: PostgreSQL Prisma Next development with AI agents: it registers per-workflow SKILL.md files so agents can drive schema and query changes; MySQL is not yet covered.
The server's README documents Prisma Next, a TypeScript rewrite of Prisma ORM, whose CLI scaffolds projects, writes contracts, and installs SKILL.md files for Claude Code and other agent runtimes. It is an early-access project that requires Node.js 24 or newer, and PostgreSQL is its only database at general availability, with MySQL following later.
GitHub stars47,566Stars / 30 days+27npm / typical weekdownloads not countedTools exposednever inspectedLast commit2 days agoCommits / 12 weeks498Maintenance gradeBTool descriptionsNot gradedScore 50.7: 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
- Maintenance95 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade80
- Commit cadence100
- Momentum29 / 100 · weight 14%
- Stars gained, relative to size10
- Stars gained, absolute59
- npm download trendnot measuredno npm download history
- Tool quality≈66 / 100 · weight 13%
- Tool description quality≈66tool 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
- 84.5
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 50.7
Best for: Developers needing prepared-statement read and write access to a MySQL database from an AI client: it exposes query, execute, and schema inspection tools.
The server exposes five tools: connect_db, query for SELECTs, execute for INSERT, UPDATE, or DELETE queries, list_tables, and describe_table. Choosing it requires a MySQL connection either passed as a URI argument or configured through MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE environment variables.
GitHub stars167Stars / 30 days-1npm / typical week452Tools exposed5Last commit289 days agoCommits / 12 weeks0Maintenance gradeFTool descriptionsBScore 50.2: show every number behind it
- Adoption65 / 100 · weight 40%
- GitHub stars56
- npm downloads57
- 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
- Momentum7 / 100 · weight 14%
- Stars gained, relative to size0
- Stars gained, absolute0
- npm download trend29
- 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
- 50.2
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 50.2
Best for: Read-only investigation of MySQL data across predefined environments: its query tool executes SELECT/SHOW/DESCRIBE and no write tools are exposed.
It exposes three tools: query for read-only SQL, info for database metadata, and environments for listing configured database environments. Before choosing it, note that environment names are fixed to local, development, staging, and production, and custom names are not supported.
GitHub stars13Stars / 30 days0npm / typical week53Tools exposed3Last commit25 days agoCommits / 12 weeks4Maintenance gradeATool descriptionsAScore 48.8: show every number behind it
- Adoption41 / 100 · weight 40%
- GitHub stars29
- npm downloads37
- 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
- Momentum7 / 100 · weight 14%
- Stars gained, relative to size0
- Stars gained, absolute0
- npm download trend29
- 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.4
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: modest but real audience
- 0.85
- Composite score
- 48.8
Best for: MySQL plus five other engines in one MCP server: per-connection read-only enforcement and db_status tools make it the pick.
It exposes 100 tools for MySQL, Postgres, Redis, Elasticsearch, MongoDB, and LDAP, with read-only mode enforced per connection and connection state available through db_status. The server loads database drivers on demand from optional npm dependencies, so an install made with --no-optional may require adding mysql2 explicitly.
GitHub stars82Stars / 30 days+82npm / typical weekdownloads not countedTools exposed100Last commit10 days agoCommits / 12 weeks42Maintenance 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
- 18
Best for: Read-only querying and schema inspection on an existing MySQL database: it exposes a query tool and schema resources, with no write tools.
It exposes a query tool for SELECT statements run in READ ONLY transactions and serves table schemas as resources from database metadata. It assumes a Node.js v18+ environment and is launched via npx with a mysql:// URL that includes credentials.
GitHub stars14Stars / 30 days+1npm / typical week147Tools exposednever inspectedLast commit104 days agoCommits / 12 weeks0Maintenance gradeDTool descriptionsNot gradedScore 47.3: show every number behind it
- Adoption51 / 100 · weight 40%
- GitHub stars29
- npm downloads46
- 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
- Momentum29 / 100 · weight 14%
- Stars gained, relative to size30
- Stars gained, absolute11
- npm download trend51
- Tool quality≈66 / 100 · weight 13%
- Tool description quality≈66tool 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
- 55.6
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: modest but real audience
- 0.85
- Composite score
- 47.3
- 19
Best for: A Cursor user who wants a MySQL MCP server with schema management: it installs via Smithery and exposes seven tools including create_table and add_column.
It exposes seven tools for MySQL: connect_db, query, execute, list_tables, describe_table, create_table, and add_column. The README documents additional operations such as alter_column, drop_column, drop_table, truncate_table, list_databases, get_indexes, and get_foreign_keys, but the measured exposure at publication is seven tools.
GitHub stars33Stars / 30 days0npm / typical week91Tools exposed7Last commit230 days agoCommits / 12 weeks0Maintenance gradeDTool descriptionsBScore 43.7: show every number behind it
- Adoption48 / 100 · weight 40%
- GitHub stars38
- npm downloads42
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance46 / 100 · weight 24%
- Last commit touching this server68
- Repository maintenance grade30
- Commit cadence5
- Momentum25 / 100 · weight 14%
- Stars gained, relative to size0
- Stars gained, absolute0
- npm download trend100
- Tool quality68 / 100 · weight 13%
- Tool description quality60
- 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
- 51.4
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: modest but real audience
- 0.85
- Composite score
- 43.7
Best for: Ad hoc natural-language questions against a MySQL database: it converts the question to SQL using XiYanSQL and can run in a local mode.
It exposes a get_data tool that converts natural-language questions into SQL and runs them, plus resources that list databases and show sample rows from a table. Before choosing it, note that remote mode requires an API key for the XiYanSQL-qwencoder-32B model, while local mode runs without one.
GitHub stars241Stars / 30 days+2npm / typical weekShips no npm packageTools exposednever inspectedLast commit200 days agoCommits / 12 weeks0Maintenance gradeDTool descriptionsNot gradedScore 43.6: 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
- Maintenance46 / 100 · weight 24%
- Last commit touching this server68
- Repository maintenance grade30
- Commit cadence5
- Momentum24 / 100 · weight 14%
- Stars gained, relative to size28
- Stars gained, absolute19
- npm download trendnot measuredno npm download history
- Tool quality≈66 / 100 · weight 13%
- Tool description quality≈66tool 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
- 55.9
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 43.6
Questions people ask
Which read-only server should I choose, `benborla/mcp-server-mysql` or `devakone/mysql-query-mcp-server`?
benborla/mcp-server-mysql is the better default: it is MySQL-specific, has writes off by default, publishes an npm package with 13,633 downloads in a typical week, and had 25 commits in the last 12 weeks. devakone/mysql-query-mcp-server is also read-only, exposes three tools with an A tool description grade, and executes SELECT/SHOW/DESCRIBE with no write tools, but had four commits in the last 12 weeks. Choose it if you want a dedicated read-only server that executes SELECT/SHOW/DESCRIBE and exposes no write tools.
Does the Prisma MCP server work with MySQL?
No. It is for PostgreSQL Prisma Next development with AI agents, and MySQL is not yet covered. It is not a MySQL MCP server.
Can `liliangshan/mcp-server-mysql` handle DDL safely?
It is the server with DDL support, permission control, and operation logs, which is what change-control workflows need. It is marked Abandoned but popular, had its last commit 100 days ago, and had zero commits in the last 12 weeks, so do not assume ongoing maintenance.
What do I need before running DBCode's MCP server?
DBCode is a Visual Studio Code extension, and its MCP server is an option DBCode offers. You need VS Code and DBCode first, and it targets users already on DBCode who want AI access over existing connections.
Is `googleapis/mcp-toolbox` for any MySQL database or only Google Cloud MySQL?
It is intended for Google Cloud MySQL users who want MCP access from an IDE or CLI. Its stated fit is that specific hosting situation.
How careful do I have to be with `designcomputer/mysql_mcp_server` writes?
It can execute SQL, and DML is flagged as destructive. Review what an agent runs if you point it at a database you care about.