20 Best MySQL MCP Servers, Compared (October 2026)
The short answer
Reach for MySQL MCP Server (designcomputer/mysql_mcp_server) for ad-hoc MySQL exploration from an AI assistant: it exposes execute_sql, get_schema_info, and get_table_sample, has 3 tools with a tool description grade of A, and its PyPI package mysql-mcp-server had 9,377 downloads in a typical week. It is a Community favourite with 1,393 GitHub stars, and its last commit on its default branch was 57 days ago. If you need read-only access to production or remote MySQL over SSH tunnels, choose MCP Server for MySQL (benborla/mcp-server-mysql) instead, because writes stay off unless enabled by environment flags and its npm package @benborla29/mcp-server-mysql had 13,262 downloads in a typical week. If you need one server across MySQL, PostgreSQL, and SQLite, DBHub (bytebase/dbhub) is the better answer, because a single install covers all three.
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
- 1MySQL MCP Server : Ad-hoc MySQL exploration from an AI assistant: it exposes execute_sql, get_schema_info, and get_table_sample for inspecting schemas and querying data.
- 2MCP Server for MySQL : Read-only schema inspection and querying of a MySQL database, including remote databases over SSH tunnels: writes stay off unless enabled by environment flags.
- 3DBHub : Running one MCP server across MySQL, PostgreSQL and SQLite instead of one per engine: a single install covers all three, with read-only mode for production.
- 4MySQL Database Access : Read-only MySQL schema inspection and querying: it exposes list_databases, list_tables, describe_table, and execute_query, with no write tools.
- 5MCP MariaDB Server : AI assistants needing MariaDB SQL and vector search: it documents database, schema, read-only query, and optional embedding-backed vector store tools.
Which one, for your situation
| Your situation | What to use |
|---|---|
| I need read-only MySQL exploration | Use MCP Server for MySQL (benborla/mcp-server-mysql), because it provides read-only access and writes stay off unless enabled by environment flags. |
| I need one server for MySQL, PostgreSQL, SQLite | Use DBHub (bytebase/dbhub), because a single install covers all three and it has read-only mode for production. |
| I need MySQL and PostgreSQL side by side | Use Multi Database MCP Server (FreePeak/db-mcp-server), because one JSON config lists multiple connections and generates per-database query, execute, transaction, schema and performance tools. |
| I want MySQL inside VS Code with an AI agent | Use DBCode (dbcodeio/public), because it runs an MCP server over existing connections and exposes schemas and query execution. |
| I need audited agent queries on MySQL | Use GraphJin (dosco/graphjin), because its README documents MCP tools for catalog discovery, guarded query execution, watch subscriptions, and a built-in agent. |
| I need controlled DDL and DML with auditability | Use MCP MySQL Server (liliangshan/mcp-server-mysql), because it exposes sql_query, database information, permission checks, and operation and DDL SQL logs. |
Top MCP servers for MySQL
| Best for | Profile | ||||||
|---|---|---|---|---|---|---|---|
| 1 | Ad-hoc MySQL exploration from an AI assistant: it exposes execute_sql, get_schema_info, and get_table_sample for inspecting schemas and querying data. | Community favourite | 1,393 | +16 | 57 days ago | 84.7 | |
| 2 | Read-only schema inspection and querying of a MySQL database, including remote databases over SSH tunnels: writes stay off unless enabled by environment flags. | Community favourite | 2,138 | +41 | 63 days ago | 79.8 | |
| 3 | Running one MCP server across MySQL, PostgreSQL and SQLite instead of one per engine: a single install covers all three, with read-only mode for production. | Community favourite | 3,556 | +153 | today | 69.7 | |
| 4 | Read-only MySQL schema inspection and querying: it exposes list_databases, list_tables, describe_table, and execute_query, with no write tools. | Community favourite | 72 | 0 | 6 days ago | 69.0 | |
| 5 | AI assistants needing MariaDB SQL and vector search: it documents database, schema, read-only query, and optional embedding-backed vector store tools. | Steady | 205 | +9 | 49 days ago | 63.8 | |
| 6 | Running MySQL and PostgreSQL side by side: one JSON config lists multiple connections, and per-database query, execute, transaction, schema and performance tools are generated. | Community favourite | 431 | +16 | 35 days ago | 59.7 | |
| 7 | Using MySQL inside VS Code with an AI agent: DBCode runs an MCP server over existing connections, exposing schemas and query execution. | Community favourite | 351 | +14 | 5 days ago | 59.1 | |
| 8 | When one MCP client must reach many database engines: it is an MCP server for DBX supporting 70+ databases with natural language queries. | Community favourite | 20,736 | +3,839 | today | 57.5 | |
| 9 | Connecting an AI agent to a MySQL database this afternoon: the README documents an npx-installed server with prebuilt database tools. | Community favourite | 16,492 | +251 | today | 54.9 | |
| 10 | Teams needing controlled DDL and DML access to MySQL with auditability: it exposes sql_query, database information, permission checks, and operation and DDL SQL logs. | Abandoned but popular | 14 | 0 | 129 days ago | 52.9 | |
| 11 | Multi-agent writes against a shared MySQL table: it ships optimistic concurrency tools such as enable_versioning and conditional_update that reject stale updates by version check. | Steady | 11 | +1 | 41 days ago | 52.7 | |
| 12 | Auditing a MySQL schema before a migration: it exposes whodb_audit for null-rate, missing primary key, and duplicate-row checks alongside schema and table listing tools. | Community favourite | 5,030 | +17 | today | 52.5 | |
| 13 | Querying MySQL alongside PostgreSQL and Redis from one Claude Desktop config: it takes connection details as command-line flags and defaults to read-only mode. | Abandoned but popular | 936 | +20 | 195 days ago | 52.4 | |
| 14 | New Prisma 8 projects on PostgreSQL or MongoDB: its CLI installs per-runtime SKILL.md files that let an editor agent drive schema changes and queries. | Community favourite | 47,677 | +104 | today | 52.0 | |
| 15 | Running audited agent queries on MySQL: its README documents MCP tools for catalog discovery, guarded query execution, watch subscriptions, and a built-in agent. | Community favourite | 3,173 | +22 | 13 days ago | 49.8 | |
| 16 | Read and write MySQL workflows: it exposes connect, query, execute, list_tables and describe_table tools, with prepared statement parameters. | Abandoned but popular | 168 | 0 | 318 days ago | 49.3 | |
| 17 | Read-only investigation of production MySQL data: it exposes three tools for queries, database info and environment listing, and no write operations. | Steady | 13 | 0 | 54 days ago | 47.0 | |
| 18 | Read-only SQL analysis against an AnalyticDB for MySQL cluster: three tools run queries, fetch query plans, and retrieve execution plans with runtime statistics. | Steady | 32 | 0 | 61 days ago | 43.8 | |
| 19 | Read-only querying of a MySQL database from an LLM: the query tool accepts only SELECT statements and runs inside READ ONLY transactions. | Dormant | 15 | +1 | 133 days ago | 43.4 | |
| 20 | Managing several MySQL databases in one assistant session: it documents connection tools for adding, listing, selecting, and removing connections. | Dormant | 81 | +1 | 286 days ago | 42.4 |
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: Ad-hoc MySQL exploration from an AI assistant: it exposes execute_sql, get_schema_info, and get_table_sample for inspecting schemas and querying data.
MySQL MCP Server exposes three tools: execute_sql for SELECT, DML, SHOW, and DESCRIBE statements, get_schema_info for column metadata, and get_table_sample for reading a small number of rows. Before installing, note that it expects MySQL credentials (host, user, password) as environment variables and accepts only single SQL statements, so multi-statement queries such as
USE db; SELECT ...will not run.GitHub stars1,393Stars / 30 days+16npm / typical weekShips no npm packagePyPI / typical week9.4Kmysql-mcp-serverTools exposed3Last commit57 days agoCommits / 12 weeks5Maintenance gradeATool descriptionsAScore 84.7: show every number behind it
- Adoption96 / 100 · weight 40%
- GitHub stars79
- PyPI downloads85
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance86 / 100 · weight 24%
- Last commit touching this server88
- Repository maintenance grade100
- Commit cadence65
- Momentum33 / 100 · weight 14%
- Stars gained, relative to size41
- Stars gained, absolute49
- PyPI download trend0
- 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
- 84.7
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 84.7
Best for: Read-only schema inspection and querying of a MySQL database, including remote databases over SSH tunnels: writes stay off unless enabled by environment flags.
MCP Server for MySQL documents a
mysql_querytool and amysql://tablesresource that lists tables and column metadata, with insert, update and delete operations disabled unless their environment flags are set. Before installing it, note that it requires Node.js v20+ and a MySQL user with appropriate privileges, and that remote databases are reached through its SSH tunnel support or its HTTP transport with bearer token auth.GitHub stars2,138Stars / 30 days+41npm / typical week13.3KPyPI / typical weekno attributed packageTools exposednever inspectedLast commit63 days agoCommits / 12 weeks4Maintenance gradeDTool descriptionsNot gradedScore 79.8: 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
- Maintenance64 / 100 · weight 24%
- Last commit touching this server88
- Repository maintenance grade30
- Commit cadence40
- Momentum48 / 100 · weight 14%
- Stars gained, relative to size55
- Stars gained, absolute65
- npm download trend15
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool 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
- 79.8
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 79.8
Best for: Running one MCP server across MySQL, PostgreSQL and SQLite instead of one per engine: a single install covers all three, with read-only mode for production.
DBHub documents SQL execution and schema search tools, optional explain and health check tools, and parameterized custom tools defined in a TOML config, driven from MCP clients or a built-in web workbench. It runs from the npm package @bytebase/dbhub and expects a DSN or TOML connection configuration pointing at an existing database, so credentials and reachable network access are prerequisites.
GitHub stars3,556Stars / 30 days+153npm / typical weekdownloads not countedPyPI / typical weekno attributed packageTools exposednever inspectedLast committodayCommits / 12 weeks87Maintenance gradeATool descriptionsNot gradedScore 69.7: show every number behind it
- Adoption89 / 100 · weight 40%
- GitHub stars89
- 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
- Momentum86 / 100 · weight 14%
- Stars gained, relative to size85
- Stars gained, absolute88
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool 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.4
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 69.7
Best for: Read-only MySQL schema inspection and querying: it exposes list_databases, list_tables, describe_table, and execute_query, with no write tools.
MySQL Database Access is an MCP server exposing list_databases, list_tables, describe_table, and execute_query for read-only schema inspection and querying. Before choosing it, note that it is distributed as the npm package mysql-mcp-server and expects MySQL connection environment variables such as MYSQL_HOST, MYSQL_USER, and optional MYSQL_PASSWORD and MYSQL_DATABASE.
GitHub stars72Stars / 30 days0npm / typical week571PyPI / typical weekno attributed packageTools exposed4Last commit6 days agoCommits / 12 weeks7Maintenance gradeATool descriptionsAScore 69.0: show every number behind it
- Adoption66 / 100 · weight 40%
- GitHub stars47
- npm downloads59
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance93 / 100 · weight 24%
- Last commit touching this server100
- Repository maintenance grade100
- Commit cadence65
- Momentum14 / 100 · weight 14%
- Stars gained, relative to size0
- Stars gained, absolute0
- npm download trend56
- Tool quality73 / 100 · weight 13%
- Tool description quality65
- 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
- 69.0
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 69.0
Best for: AI assistants needing MariaDB SQL and vector search: it documents database, schema, read-only query, and optional embedding-backed vector store tools.
MCP MariaDB Server documents tools to list databases and tables, retrieve table schemas and foreign-key relations, run read-only SQL queries, create databases, and, when an embedding provider is configured, create, list, delete, populate, and search vector stores. Before choosing it, note that it requires MariaDB connection variables such as DB_HOST, DB_USER, and DB_PASSWORD, and its vector and embedding tools are disabled unless EMBEDDING_PROVIDER is set with the corresponding provider credentials.
GitHub stars205Stars / 30 days+9npm / typical weekShips no npm packagePyPI / typical weekno attributed packageTools exposednever inspectedLast commit49 days agoCommits / 12 weeks2Maintenance gradeDTool descriptionsNot gradedScore 63.8: show every number behind it
- Adoption58 / 100 · weight 40%
- GitHub stars58
- npm downloadsnot measuredno npm package
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance64 / 100 · weight 24%
- Last commit touching this server88
- Repository maintenance grade30
- Commit cadence40
- Momentum54 / 100 · weight 14%
- Stars gained, relative to size64
- Stars gained, absolute40
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool 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
- 63.8
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 63.8
Best for: Running MySQL and PostgreSQL side by side: one JSON config lists multiple connections, and per-database query, execute, transaction, schema and performance tools are generated.
It is a Go MCP server configured through a JSON list of database connections that auto-generates per-database tools named query_, execute_, transaction_, schema_ and performance_ plus the connection id. Installation is from source, since no npm or PyPI package is published, and the server is built on the FreePeak/cortex framework.
GitHub stars431Stars / 30 days+16npm / typical weekShips no npm packagePyPI / typical weekno attributed packageTools exposednever inspectedLast commit35 days agoCommits / 12 weeks102Maintenance gradeATool descriptionsNot gradedScore 59.7: 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
- Momentum60 / 100 · weight 14%
- Stars gained, relative to size68
- Stars gained, absolute49
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool 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
- 76.5
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 59.7
Best for: Using MySQL inside VS Code with an AI agent: DBCode runs an MCP server over existing connections, exposing schemas and query execution.
DBCode is a VS Code database client that can run an MCP server over its configured connections, giving AI agents access to databases such as MySQL, their schemas, and query execution. Before adopting it, note that the MCP server depends on the DBCode extension and preconfigured connections, with per-connection AI permissions; external agents connect through the DBCode: Connect an AI Agent command.
GitHub stars351Stars / 30 days+14npm / typical weekdownloads not countedPyPI / typical weekno attributed packageTools exposednever inspectedLast commit5 days agoCommits / 12 weeks70Maintenance gradeATool descriptionsNot gradedScore 59.1: show every number behind it
- Adoption64 / 100 · weight 40%
- GitHub stars64
- 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
- Momentum61 / 100 · weight 14%
- Stars gained, relative to size70
- Stars gained, absolute48
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool 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.8
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 59.1
Best for: When one MCP client must reach many database engines: it is an MCP server for DBX supporting 70+ databases with natural language queries.
The README documents an MCP server for DBX, alongside a desktop app, Docker, a CLI, and a built-in AI assistant, for natural language queries and database management. Its MCP tools are not measured, so the exact operations exposed through MCP cannot be confirmed before installation.
GitHub stars20,736Stars / 30 days+3,839npm / typical weekdownloads not countedPyPI / typical weekno attributed packageTools exposednever inspectedLast committodayCommits / 12 weeks4,437Maintenance gradeATool descriptionsNot gradedScore 57.5: 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 download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool 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.8
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 57.5
Best for: Connecting an AI agent to a MySQL database this afternoon: the README documents an npx-installed server with prebuilt database tools.
MCP Toolbox for Databases ships prebuilt generic database tools, including schema listing and SQL execution, that connect MCP clients such as Gemini CLI, Claude Code and Codex to databases, and it also acts as a framework for defining custom tools. Its quick start relies on running the published @toolbox-sdk/server package through npx with a --prebuilt flag, so an environment with Node.js and the appropriate database connection variables is assumed.
GitHub stars16,492Stars / 30 days+251npm / typical weekShips no npm packagePyPI / typical weekno attributed packageTools exposednever inspectedLast committodayCommits / 12 weeks247Maintenance gradeATool descriptionsNot gradedScore 54.9: 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
- Momentum69 / 100 · weight 14%
- Stars gained, relative to size50
- Stars gained, absolute97
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool 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
- 91.5
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 54.9
Best for: Teams needing controlled DDL and DML access to MySQL with auditability: it exposes sql_query, database information, permission checks, and operation and DDL SQL logs.
MCP MySQL Server exposes five tools for SQL query execution with DDL and DML support, database information retrieval, permission checking, operation logs, and DDL SQL logs. The server requires MySQL connection environment variables and npm or npx to run, and its permission behavior depends on settings such as READONLY, ALLOW_DDL, ALLOW_DROP, and ALLOW_DELETE.
GitHub stars14Stars / 30 days0npm / typical week322PyPI / typical weekno attributed packageTools exposed5Last commit129 days agoCommits / 12 weeks0Maintenance gradeCTool descriptionsBScore 52.9: show every number behind it
- Adoption58 / 100 · weight 40%
- GitHub stars29
- npm downloads53
- 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
- Momentum1 / 100 · weight 14%
- Stars gained, relative to size0
- Stars gained, absolute0
- npm download trend3
- 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.9
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 52.9
- 11
Best for: Multi-agent writes against a shared MySQL table: it ships optimistic concurrency tools such as enable_versioning and conditional_update that reject stale updates by version check.
MySQL MCP Server exposes 43 tools for reading and writing queries through prepared statements, plus schema and index management, transactions with savepoints, JSON path operations, and optimistic concurrency control, and its README documents a stateless HTTP transport, resources for schema and performance telemetry, and OAuth 2.1 access control. Before installing, note that it ships as the npm package @neverinfamous/mysql-mcp and a Docker image, so adoption assumes a Node runtime or a container, and it is written specifically for MySQL rather than other database engines.
GitHub stars11Stars / 30 days+1npm / typical week77PyPI / typical weekno attributed packageTools exposed43Last commit41 days agoCommits / 12 weeks2,577Maintenance gradeATool descriptionsBScore 52.7: show every number behind it
- Adoption44 / 100 · weight 40%
- GitHub stars27
- npm downloads40
- 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
- Momentum22 / 100 · weight 14%
- Stars gained, relative to size39
- Stars gained, absolute16
- npm download trend0
- 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.0
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: modest but real audience
- 0.85
- Composite score
- 52.7
Best for: Auditing a MySQL schema before a migration: it exposes whodb_audit for null-rate, missing primary key, and duplicate-row checks alongside schema and table listing tools.
whodb-cli exposes 12 tools over a database connection: schema, table, and column listing, connection discovery, ERD metadata, query execution, EXPLAIN plans, schema diffing between two connections, data-quality audits, and a confirm-writes queue. The write path is gated, since writes go through whodb_pending and whodb_confirm for approval rather than running directly, and no npm or PyPI package is published, so installation comes from the repository or Docker rather than a package manager.
GitHub stars5,030Stars / 30 days+17npm / typical weekShips no npm packagePyPI / typical weekno attributed packageTools exposed12Last committodayCommits / 12 weeks546Maintenance gradeATool descriptionsAScore 52.5: 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
- Momentum34 / 100 · weight 14%
- Stars gained, relative to size24
- Stars gained, absolute51
- npm download trendnot measuredno download history for the selected registry
- 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
- 87.5
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 52.5
Best for: Querying MySQL alongside PostgreSQL and Redis from one Claude Desktop config: it takes connection details as command-line flags and defaults to read-only mode.
Universal DB MCP runs as a stdio MCP server for Claude Desktop or as an HTTP service that also exposes SSE and Streamable HTTP endpoints, with each database connection described by command-line flags or request headers. Before choosing it, note that it assumes Node.js 20 or later, ships only as the npm package universal-db-mcp, and starts in read-only mode.
GitHub stars936Stars / 30 days+20npm / typical week112PyPI / typical weekno attributed packageTools exposednever inspectedLast commit195 days agoCommits / 12 weeks0Maintenance gradeDTool descriptionsNot gradedScore 52.4: show every number behind it
- Adoption81 / 100 · weight 40%
- GitHub stars74
- npm downloads44
- 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
- Momentum44 / 100 · weight 14%
- Stars gained, relative to size56
- Stars gained, absolute53
- npm download trend10
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool 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
- 67.2
- × relevance: the keyword is declared here
- 0.78
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 52.4
Best for: New Prisma 8 projects on PostgreSQL or MongoDB: its CLI installs per-runtime SKILL.md files that let an editor agent drive schema changes and queries.
Prisma MCP Server describes itself as managing Prisma Postgres databases, and its repository README documents an agent-facing CLI workflow:
npm create prismascaffolds an app,npx prisma orm initadds Prisma 8 to an existing project, andnpx prisma skills syncinstalls one SKILL.md per workflow into the directories Claude Code, Cursor, Copilot Agent and Devin read. Choosing it assumes Node.js 24 or newer, and the README's database coverage is PostgreSQL and MongoDB, so MySQL is not among its documented targets.GitHub stars47,677Stars / 30 days+104npm / typical weekdownloads not countedPyPI / typical weekno attributed packageTools exposednever inspectedLast committodayCommits / 12 weeks405Maintenance gradeBTool descriptionsNot gradedScore 52.0: 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
- Momentum44 / 100 · weight 14%
- Stars gained, relative to size19
- Stars gained, absolute82
- npm download trendnot measuredno download history for the selected registry
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool 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
- 86.7
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 52.0
Best for: Running audited agent queries on MySQL: its README documents MCP tools for catalog discovery, guarded query execution, watch subscriptions, and a built-in agent.
GraphJin documents an MCP endpoint at /api/v1/mcp with tools such as ask_graphjin_agent, query_catalog, gj_config, gj_security, gj_runtime, and gj_watch, and it lists MySQL among the databases it supports. Its built-in agent requires a model API key in ./.env (OPENAI_API_KEY, ANTHROPIC_API_KEY, or GOOGLE_APIKEY), and the binary installs through npm, Homebrew, Scoop, Linux packages, or Docker.
GitHub stars3,173Stars / 30 days+22npm / typical week522PyPI / typical weekno attributed packageTools exposednever inspectedLast commit13 days agoCommits / 12 weeks513Maintenance gradeATool descriptionsNot gradedScore 49.8: show every number behind it
- Adoption92 / 100 · weight 40%
- GitHub stars88
- npm downloads29downloads show none of the weekday rhythm human traffic has; halved
- 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
- Momentum31 / 100 · weight 14%
- Stars gained, relative to size33
- Stars gained, absolute55
- npm download trend0
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool 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
- 83.0
- × relevance: the keyword is tagged here
- 0.60
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 49.8
Best for: Read and write MySQL workflows: it exposes connect, query, execute, list_tables and describe_table tools, with prepared statement parameters.
The server exposes five tools (connect_db, query, execute, list_tables, describe_table) that hold a MySQL session, run SELECT statements through query and INSERT, UPDATE, or DELETE statements through execute. Before choosing it, note that connection details must be supplied either as a mysql:// URL argument or as MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD and MYSQL_DATABASE environment variables, and that it is distributed on npm as @f4ww4z/mcp-mysql-server with no PyPI package attributed.
GitHub stars168Stars / 30 days0npm / typical week364PyPI / typical weekno attributed packageTools exposed5Last commit318 days agoCommits / 12 weeks0Maintenance gradeFTool descriptionsBScore 49.3: show every number behind it
- Adoption64 / 100 · weight 40%
- GitHub stars56
- npm downloads55
- 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
- Momentum3 / 100 · weight 14%
- Stars gained, relative to size0
- Stars gained, absolute0
- npm download trend13
- 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
- 49.3
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: widely adopted
- 1.00
- Composite score
- 49.3
Best for: Read-only investigation of production MySQL data: it exposes three tools for queries, database info and environment listing, and no write operations.
The server exposes three tools, query, info and environments, which run read-only SELECT, SHOW and DESCRIBE statements against MySQL databases configured per environment in an MCP client config such as .cursor/mcp.json. Before installing, note that environment names are fixed to local, development, staging and production (abbreviations such as DEV_ or PROD_ are rejected), and that INSERT, UPDATE, DELETE, CREATE and ALTER are not supported.
GitHub stars13Stars / 30 days0npm / typical week49PyPI / typical weekno attributed packageTools exposed3Last commit54 days agoCommits / 12 weeks4Maintenance gradeCTool descriptionsAScore 47.0: show every number behind it
- Adoption40 / 100 · weight 40%
- GitHub stars29
- npm downloads36
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance70 / 100 · weight 24%
- Last commit touching this server88
- Repository maintenance grade55
- Commit cadence40
- Momentum25 / 100 · weight 14%
- Stars gained, relative to size0
- Stars gained, absolute0
- npm download trend100
- 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
- 55.3
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: modest but real audience
- 0.85
- Composite score
- 47.0
- 18
Best for: Read-only SQL analysis against an AnalyticDB for MySQL cluster: three tools run queries, fetch query plans, and retrieve execution plans with runtime statistics.
Adb MySQL MCP Server exposes three tools, execute_sql for running SQL against an AnalyticDB for MySQL cluster plus get_query_plan and get_execution_plan for query planning, and it documents two tool groups, a SQL group for direct database access and an OpenAPI group for cluster administration. The requirement worth knowing before installing is the setup it assumes: Python 3.13 or newer, an Alibaba Cloud AccessKey whenever OpenAPI tools or temporary-account mode are used, and the explicit ENABLE_SQL_WRITE_TOOLS=true setting to lift execute_sql out of its default read-only mode.
GitHub stars32Stars / 30 days0npm / typical weekShips no npm packagePyPI / typical week22adb-mysql-mcp-serverTools exposed3Last commit61 days agoCommits / 12 weeks6Maintenance gradeCTool descriptionsBScore 43.8: show every number behind it
- Adoption42 / 100 · weight 40%
- GitHub stars38
- PyPI downloads29
- Used through Glamanot measurednot used through Glama in the last 30 days
- Maintenance75 / 100 · weight 24%
- Last commit touching this server88
- Repository maintenance grade55
- Commit cadence65
- Momentum0 / 100 · weight 14%
- Stars gained, relative to size0
- Stars gained, absolute0
- PyPI download trendnot measuredno download history for the selected registry
- Tool quality58 / 100 · weight 13%
- Tool description quality50
- Built and inspected by Glama100
- Trust100 / 100 · weight 9%
- License100
- Published by the vendor it integrates100
- Weighted mean of the five
- 51.5
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: modest but real audience
- 0.85
- Composite score
- 43.8
Best for: Read-only querying of a MySQL database from an LLM: the query tool accepts only SELECT statements and runs inside READ ONLY transactions.
MySQL MCP Server speaks JSON-RPC over stdio as an MCP server, exposing a query tool that executes read-only SQL and publishing per-table schema information as resources under a mysql:// URI. Choosing it means passing the full MySQL connection string as a launch argument, credentials included, on Node v18 or later, and accepting that its scope stops at reading: it supports no INSERT, UPDATE, DELETE or schema-changing statements.
GitHub stars15Stars / 30 days+1npm / typical week109PyPI / typical weekno attributed packageTools exposednever inspectedLast commit133 days agoCommits / 12 weeks0Maintenance gradeDTool descriptionsNot gradedScore 43.4: show every number behind it
- Adoption48 / 100 · weight 40%
- GitHub stars30
- npm downloads43
- 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
- Momentum22 / 100 · weight 14%
- Stars gained, relative to size38
- Stars gained, absolute16
- npm download trend0
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool 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
- 51.1
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: modest but real audience
- 0.85
- Composite score
- 43.4
- 20
Best for: Managing several MySQL databases in one assistant session: it documents connection tools for adding, listing, selecting, and removing connections.
MySQL MCP Server exposes a StreamableHTTP interface to AI clients for connecting to MySQL, with header-based preconfigured credentials or dynamically added connections, plus tools for connection management, SQL execution, table listing, table description, and database listing. Before choosing it, note that it must be cloned, built, and started locally, and its README says session state is kept in memory so restarting the server clears sessions.
GitHub stars81Stars / 30 days+1npm / typical week7PyPI / typical weekno attributed packageTools exposednever inspectedLast commit286 days agoCommits / 12 weeks0Maintenance gradeCTool descriptionsNot gradedScore 42.4: show every number behind it
- Adoption51 / 100 · weight 40%
- GitHub stars48
- npm downloads19
- 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
- Momentum19 / 100 · weight 14%
- Stars gained, relative to size32
- Stars gained, absolute16
- npm download trend0
- Tool quality≈68 / 100 · weight 13%
- Tool description quality≈68tool 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
- 49.9
- × relevance: the keyword is dedicated here
- 1.00
- × continuity: actively changing
- 1.00
- × evidence: modest but real audience
- 0.85
- Composite score
- 42.4
Questions people ask
Should I choose MySQL MCP Server (designcomputer/mysql_mcp_server) or MCP Server for MySQL (benborla/mcp-server-mysql)?
Choose MySQL MCP Server (designcomputer/mysql_mcp_server) for ad-hoc exploration: it exposes execute_sql, get_schema_info, and get_table_sample, has 3 tools with a tool description grade of A, and its PyPI package mysql-mcp-server had 9,377 downloads in a typical week. Choose MCP Server for MySQL (benborla/mcp-server-mysql) when you need read-only access, including remote databases over SSH tunnels. That server keeps writes off unless enabled by environment flags, and its npm package @benborla29/mcp-server-mysql had 13,262 downloads in a typical week.
What databases does DBHub cover besides MySQL?
DBHub (bytebase/dbhub) is a universal database MCP server connecting to MySQL, PostgreSQL, SQLite, DuckDB and etc. A single install covers MySQL, PostgreSQL and SQLite, and it has read-only mode for production. It had 3,556 GitHub stars, gained 153 stars per 30 days, and its last commit was 0 days ago.
Does MCP Server for MySQL (benborla/mcp-server-mysql) allow writes?
MCP Server for MySQL (benborla/mcp-server-mysql) provides read-only access, and writes stay off unless enabled by environment flags. It can reach remote databases over SSH tunnels. It had 2,138 GitHub stars, and its npm package @benborla29/mcp-server-mysql had 13,262 downloads in a typical week.
Which server can manage several MySQL databases in one assistant session?
MySQL MCP Server (guangxiangdebizi/MySQL_MCP) documents connection tools for adding, listing, selecting, and removing connections. It had 81 GitHub stars, its last commit was 286 days ago, and it had 0 commits on its default branch in the last 12 weeks. It is labeled Dormant, so check whether that matters before pointing an agent at it.
Which server is best for auditing a MySQL schema before a migration?
whodb-cli (clidey/whodb) exposes whodb_audit for null-rate, missing primary key, and duplicate-row checks alongside schema and table listing tools. It has 12 tools and a tool description grade of A, and its last commit was 0 days ago. It had 5,030 GitHub stars, gained 17 stars per 30 days, and had 546 commits on its default branch in the last 12 weeks.
How do I handle multi-agent writes against a shared MySQL table?
MySQL MCP Server (neverinfamous/mysql-mcp) ships optimistic concurrency tools such as enable_versioning and conditional_update that reject stale updates by version check. It exposes 43 tools with a tool description grade of B. It had 11 GitHub stars, gained 1 star per 30 days, and its last commit was 41 days ago.