Skip to main content
Glama

20 Best MySQL MCP Servers, Compared (September 2026)

Updated 20 of 520 MySQL servers in the Glama registryRebuilt weekly

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 situationWhat 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 forProfile
1Read-only schema inspection and querying against MySQL: it documents a mysql_query tool and mysql://tables resource, with writes off by default.Community favourite2,039+9634 days ago90.9
2An AI assistant exploring or analyzing MySQL can rely on schema metadata, table samples, and SQL execution with DML flagged as destructive.Community favourite1,374+3028 days ago83.6
3An engineer consolidating MySQL, PostgreSQL, SQL Server, MariaDB, and SQLite behind one MCP server: it provides SQL execution and schema search tools.Community favourite3,388+18310 days ago70.2
4MariaDB deployments needing both SQL querying and embedding-based semantic search: it exposes schema/query tools and optional vector store tools.Steady189+820 days ago66.4
5VS Code users already on DBCode who want AI access to MySQL: the MCP server provides schema access and query execution over existing connections.Community favourite340+213 days ago60.2
6In 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 popular140100 days ago59.1
7Operators managing several MySQL and PostgreSQL databases concurrently: it generates a specialized query, execute, transaction, schema, and performance tool for each connection.Community favourite417+136 days ago58.9
8When you need natural-language queries and database management across many database engines: it exposes DBX's support for 70+ databases through MCP.Community favourite17,423+5,035today57.4
9Production MySQL environments with multiple agents: optimistic versioning and conditional updates prevent lost updates.Steady10+312 days ago57.3
10For 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 popular908+33166 days ago55.2
11Google Cloud MySQL users who want MCP access from an IDE or CLI: it ships prebuilt tools like list_tables and execute_sql.Community favourite16,272+1963 days ago54.3
12A developer exploring an unfamiliar MySQL database before writing queries: it exposes schema, table, column, ERD, audit, and starter-query tools.Community favourite5,017+31today53.3
13MySQL-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 favourite3,152+23today52.9
14PostgreSQL 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 favourite47,566+272 days ago50.7
15Developers 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 popular167-1289 days ago50.2
16Read-only investigation of MySQL data across predefined environments: its query tool executes SELECT/SHOW/DESCRIBE and no write tools are exposed.Steady13025 days ago48.8
17MySQL plus five other engines in one MCP server: per-connection read-only enforcement and db_status tools make it the pick.Emerging82+8210 days ago48.3
18Read-only querying and schema inspection on an existing MySQL database: it exposes a query tool and schema resources, with no write tools.Dormant14+1104 days ago47.3
19A 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.Dormant330230 days ago43.7
20Ad 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 popular241+2200 days ago43.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 stars
    2,039
    Stars over the last 90 days: 1,796 at the earliest of 9 readings and 2,091 at the latest, up 295.
    Stars / 30 days
    +96
    npm / typical week
    13.6K
    Tools exposed
    never inspected
    Last commit
    34 days ago
    Commits / 12 weeks
    25
    Weekly commits over the last 12 weeks, oldest first: 1, 16, 2, 1, 0, 0, 0, 4, 0, 0, 0, 0. 24 in total, and the last figure is the current week so far.
    Maintenance grade
    B
    Tool descriptions
    Not graded
    Score 90.9: show every number behind it
    • Adoption100 / 100 · weight 40%
      • GitHub stars83
      • npm downloads88
      • Used through Glamanot measured
        not 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 quality66 / 100 · weight 13%
      • Tool description quality66
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never built and inspected by Glama
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not 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 stars
    1,374
    Stars over the last 90 days: 1,290 at the earliest of 78 readings and 1,381 at the latest, up 91.
    Stars / 30 days
    +30
    npm / typical week
    Ships no npm package
    Tools exposed
    3
    Last commit
    28 days ago
    Commits / 12 weeks
    16
    Weekly commits over the last 12 weeks, oldest first: 0, 3, 0, 0, 0, 0, 4, 1, 0, 0, 0, 0. 8 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    A
    Score 83.6: show every number behind it
    • Adoption78 / 100 · weight 40%
      • GitHub stars78
      • npm downloadsnot measured
        no npm package
      • Used through Glamanot measured
        not 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 measured
        no 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 measured
        not 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
  • 3

    DBHub

    Community favouriteNo change
    bytebase/dbhub

    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 stars
    3,388
    Stars over the last 90 days: 2,933 at the earliest of 14 readings and 3,456 at the latest, up 523.
    Stars / 30 days
    +183
    npm / typical week
    downloads not counted
    Tools exposed
    never inspected
    Last commit
    10 days ago
    Commits / 12 weeks
    84
    Weekly commits over the last 12 weeks, oldest first: 0, 9, 2, 1, 5, 11, 17, 19, 1, 1, 4, 6. 76 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 70.2: show every number behind it
    • Adoption88 / 100 · weight 40%
      • GitHub stars88
      • npm downloadsnot measured
        npm names no repository for dbhub, so its downloads cannot be attributed
      • Used through Glamanot measured
        not 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 measured
        no npm download history
    • Tool quality66 / 100 · weight 13%
      • Tool description quality66
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never built and inspected by Glama
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not 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 stars
    189
    Stars over the last 90 days: 173 at the earliest of 8 readings and 199 at the latest, up 26.
    Stars / 30 days
    +8
    npm / typical week
    Ships no npm package
    Tools exposed
    never inspected
    Last commit
    20 days ago
    Commits / 12 weeks
    2
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 0, 0, 0, 0, 0, 2, 0, 0, 0. 2 in total, and the last figure is the current week so far.
    Maintenance grade
    C
    Tool descriptions
    Not graded
    Score 66.4: show every number behind it
    • Adoption57 / 100 · weight 40%
      • GitHub stars57
      • npm downloadsnot measured
        no npm package
      • Used through Glamanot measured
        not used through Glama in the last 30 days
    • Maintenance77 / 100 · weight 24%
      • Last commit touching this server100
        dated 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 measured
        no npm download history
    • Tool quality66 / 100 · weight 13%
      • Tool description quality66
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never 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
  • 5

    DBCode

    Community favouriteNo change
    dbcodeio/public

    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 stars
    340
    Stars over the last 90 days: 301 at the earliest of 31 readings and 340 at the latest, up 39.
    Stars / 30 days
    +21
    npm / typical week
    downloads not counted
    Tools exposed
    never inspected
    Last commit
    3 days ago
    Commits / 12 weeks
    79
    Weekly commits over the last 12 weeks, oldest first: 2, 3, 3, 2, 0, 4, 23, 6, 2, 2, 8, 11. 66 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 60.2: show every number behind it
    • Adoption63 / 100 · weight 40%
      • GitHub stars63
      • npm downloadsnot measured
        npm names no repository for dbcode, so its downloads cannot be attributed
      • Used through Glamanot measured
        not 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 measured
        no npm download history
    • Tool quality66 / 100 · weight 13%
      • Tool description quality66
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never built and inspected by Glama
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not 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 stars
    14
    Stars / 30 days
    0
    npm / typical week
    336
    Tools exposed
    5
    Last commit
    100 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    C
    Tool descriptions
    B
    Score 59.1: show every number behind it
    • Adoption58 / 100 · weight 40%
      • GitHub stars29
      • npm downloads54
      • Used through Glamanot measured
        not 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 measured
        not 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 stars
    417
    Stars over the last 90 days: 390 at the earliest of 10 readings and 420 at the latest, up 30.
    Stars / 30 days
    +13
    npm / typical week
    Ships no npm package
    Tools exposed
    never inspected
    Last commit
    6 days ago
    Commits / 12 weeks
    102
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 0, 0, 0, 26, 0, 0, 0, 76, 0. 102 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 58.9: show every number behind it
    • Adoption66 / 100 · weight 40%
      • GitHub stars66
      • npm downloadsnot measured
        no npm package
      • Used through Glamanot measured
        not 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 measured
        no npm download history
    • Tool quality66 / 100 · weight 13%
      • Tool description quality66
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never built and inspected by Glama
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not 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
  • 8

    dbx

    Community favourite 1
    t8y2/dbx

    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 stars
    17,423
    Stars over the last 90 days: 12,562 at the earliest of 24 readings and 18,049 at the latest, up 5,487.
    Stars / 30 days
    +5,035
    npm / typical week
    downloads not counted
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    4,093
    Weekly commits over the last 12 weeks, oldest first: 272, 300, 326, 347, 366, 348, 363, 322, 421, 346, 375, 351. 4,137 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 57.4: show every number behind it
    • Adoption100 / 100 · weight 40%
      • GitHub stars100
      • npm downloadsnot measured
        npm publishes dbx from samt/node-dbx
      • Used through Glamanot measured
        not 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 measured
        no npm download history
    • Tool quality66 / 100 · weight 13%
      • Tool description quality66
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never built and inspected by Glama
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not 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 stars
    10
    Stars over the last 90 days: 6 at the earliest of 14 readings and 10 at the latest, up 4.
    Stars / 30 days
    +3
    npm / typical week
    91
    Tools exposed
    43
    Last commit
    12 days ago
    Commits / 12 weeks
    2,588
    Weekly commits over the last 12 weeks, oldest first: 3, 3, 3, 2, 293, 514, 526, 587, 400, 253, 4, 0. 2,588 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    B
    Score 57.3: show every number behind it
    • Adoption46 / 100 · weight 40%
      • GitHub stars26
      • npm downloads42
      • Used through Glamanot measured
        not 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 measured
        not 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 stars
    908
    Stars over the last 90 days: 841 at the earliest of 8 readings and 922 at the latest, up 81.
    Stars / 30 days
    +33
    npm / typical week
    140
    Tools exposed
    never inspected
    Last commit
    166 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    C
    Tool descriptions
    Not graded
    Score 55.2: show every number behind it
    • Adoption81 / 100 · weight 40%
      • GitHub stars74
      • npm downloads46
      • Used through Glamanot measured
        not 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 quality66 / 100 · weight 13%
      • Tool description quality66
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never built and inspected by Glama
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not 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 stars
    16,272
    Stars over the last 90 days: 15,533 at the earliest of 52 readings and 16,316 at the latest, up 783.
    Stars / 30 days
    +196
    npm / typical week
    Ships no npm package
    Tools exposed
    never inspected
    Last commit
    3 days ago
    Commits / 12 weeks
    264
    Weekly commits over the last 12 weeks, oldest first: 54, 20, 8, 21, 10, 24, 30, 12, 29, 13, 25, 25. 271 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 54.3: show every number behind it
    • Adoption100 / 100 · weight 40%
      • GitHub stars100
      • npm downloadsnot measured
        no npm package
      • Used through Glamanot measured
        not 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 measured
        no npm download history
    • Tool quality66 / 100 · weight 13%
      • Tool description quality66
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never built and inspected by Glama
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not 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
  • 12

    whodb-cli

    Community favourite 2
    clidey/whodb

    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 stars
    5,017
    Stars over the last 90 days: 4,853 at the earliest of 50 readings and 5,018 at the latest, up 165.
    Stars / 30 days
    +31
    npm / typical week
    Ships no npm package
    Tools exposed
    12
    Last commit
    today
    Commits / 12 weeks
    672
    Weekly commits over the last 12 weeks, oldest first: 66, 106, 40, 72, 44, 48, 37, 60, 42, 61, 24, 8. 608 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    A
    Score 53.3: show every number behind it
    • Adoption93 / 100 · weight 40%
      • GitHub stars93
      • npm downloadsnot measured
        no npm package
      • Used through Glamanot measured
        not 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 measured
        no 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
  • 13

    GraphJin

    Community favouriteNo change
    dosco/graphjin

    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 stars
    3,152
    Stars over the last 90 days: 3,081 at the earliest of 36 readings and 3,158 at the latest, up 77.
    Stars / 30 days
    +23
    npm / typical week
    714
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    451
    Weekly commits over the last 12 weeks, oldest first: 10, 0, 2, 9, 30, 4, 32, 38, 96, 95, 91, 94. 501 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 52.9: show every number behind it
    • Adoption97 / 100 · weight 40%
      • GitHub stars87
      • npm downloads61
      • Used through Glamanot measured
        not 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 quality66 / 100 · weight 13%
      • Tool description quality66
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never 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
  • 14

    Prisma MCP Server

    Community favouriteNo change
    prisma/orm

    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 stars
    47,566
    Stars over the last 90 days: 46,250 at the earliest of 28 readings and 47,590 at the latest, up 1,340.
    Stars / 30 days
    +27
    npm / typical week
    downloads not counted
    Tools exposed
    never inspected
    Last commit
    2 days ago
    Commits / 12 weeks
    498
    Weekly commits over the last 12 weeks, oldest first: 42, 13, 16, 17, 33, 42, 35, 36, 41, 66, 28, 15. 384 in total, and the last figure is the current week so far.
    Maintenance grade
    B
    Tool descriptions
    Not graded
    Score 50.7: show every number behind it
    • Adoption100 / 100 · weight 40%
      • GitHub stars100
      • npm downloadsnot measured
        npm names no repository for dev-env, so its downloads cannot be attributed
      • Used through Glamanot measured
        not 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 measured
        no npm download history
    • Tool quality66 / 100 · weight 13%
      • Tool description quality66
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never 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
  • 15

    mcp-mysql-server

    Abandoned but popularNo change
    f4ww4z/mcp-mysql-server

    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 stars
    167
    Stars over the last 90 days: 162 at the earliest of 76 readings and 168 at the latest, up 6.
    Stars / 30 days
    -1
    npm / typical week
    452
    Tools exposed
    5
    Last commit
    289 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    F
    Tool descriptions
    B
    Score 50.2: show every number behind it
    • Adoption65 / 100 · weight 40%
      • GitHub stars56
      • npm downloads57
      • Used through Glamanot measured
        not 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 measured
        not 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 stars
    13
    Stars over the last 90 days: 13 at the earliest of 8 readings and 13 at the latest, unchanged.
    Stars / 30 days
    0
    npm / typical week
    53
    Tools exposed
    3
    Last commit
    25 days ago
    Commits / 12 weeks
    4
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 0, 0, 0, 0, 0, 4, 0, 0, 0. 4 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    A
    Score 48.8: show every number behind it
    • Adoption41 / 100 · weight 40%
      • GitHub stars29
      • npm downloads37
      • Used through Glamanot measured
        not 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 measured
        not 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 stars
    82
    Stars / 30 days
    +82
    npm / typical week
    downloads not counted
    Tools exposed
    100
    Last commit
    10 days ago
    Commits / 12 weeks
    42
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 15, 3, 3, 16, 0, 0, 5, 0, 1. 43 in total, and the last figure is the current week so far.
    Maintenance grade
    B
    Tool descriptions
    A
    Score 48.3: show every number behind it
    • Adoption48 / 100 · weight 40%
      • GitHub stars48
      • npm downloadsnot measured
        npm publishes mcp-server-db from Nam088/mcp-database-server-v2
      • Used through Glamanot measured
        not 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 measured
        no 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 measured
        not 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: 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 stars
    14
    Stars over the last 90 days: 12 at the earliest of 8 readings and 14 at the latest, up 2.
    Stars / 30 days
    +1
    npm / typical week
    147
    Tools exposed
    never inspected
    Last commit
    104 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    D
    Tool descriptions
    Not graded
    Score 47.3: show every number behind it
    • Adoption51 / 100 · weight 40%
      • GitHub stars29
      • npm downloads46
      • Used through Glamanot measured
        not 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 quality66 / 100 · weight 13%
      • Tool description quality66
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never built and inspected by Glama
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not 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
  • 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 stars
    33
    Stars over the last 90 days: 32 at the earliest of 8 readings and 33 at the latest, up 1.
    Stars / 30 days
    0
    npm / typical week
    91
    Tools exposed
    7
    Last commit
    230 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    D
    Tool descriptions
    B
    Score 43.7: show every number behind it
    • Adoption48 / 100 · weight 40%
      • GitHub stars38
      • npm downloads42
      • Used through Glamanot measured
        not 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 measured
        not 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 stars
    241
    Stars over the last 90 days: 236 at the earliest of 9 readings and 242 at the latest, up 6.
    Stars / 30 days
    +2
    npm / typical week
    Ships no npm package
    Tools exposed
    never inspected
    Last commit
    200 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    D
    Tool descriptions
    Not graded
    Score 43.6: show every number behind it
    • Adoption60 / 100 · weight 40%
      • GitHub stars60
      • npm downloadsnot measured
        no npm package
      • Used through Glamanot measured
        not 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 measured
        no npm download history
    • Tool quality66 / 100 · weight 13%
      • Tool description quality66
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never built and inspected by Glama
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not 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.

Other comparisons