Skip to main content
Glama

20 Best MySQL MCP Servers, Compared (September 2026)

Updated 20 of 551 MySQL servers in the Glama registryRebuilt weekly

The short answer

For most readers, the server to install is MySQL MCP Server (designcomputer/mysql_mcp_server). It is a community favourite, had a commit 43 days ago, exposes three tools (execute_sql, get_schema_info, get_table_sample) with a tool description grade of A, and has a PyPI package with 9,926 downloads in a typical week. If your goal is strictly read-only access from Claude Code, MCP Server for MySQL (benborla/mcp-server-mysql) is the better answer: it is read-only, a community favourite, and its npm package had 13,650 downloads in a typical week.

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 : Developers wiring an AI assistant to MySQL for schema inspection and ad-hoc queries: it exposes execute_sql, get_schema_info, and get_table_sample.
  • 2MCP Server for MySQL : Read-only schema inspection and querying of a MySQL database from Claude Code: it documents a mysql_query tool and a mysql://tables resource.
  • 3DBHub : Local development or multi-database consolidation: it exposes a single MCP gateway to PostgreSQL, MySQL, SQL Server, MariaDB, and SQLite.
  • 4MCP MariaDB Server : A MariaDB app that needs both SQL access and embedding-based search through one MCP server: it exposes query, schema, and vector store tools.
  • 5DBCode : For MySQL users already working in VS Code/Cursor with DBCode connections: its built-in MCP server gives AI agents schema access and query execution.

Which one, for your situation

Your situationWhat to use
I need read-only MySQL access for an AI assistantUse MCP Server for MySQL (benborla/mcp-server-mysql), because it is read-only, a community favourite, and had 13,650 npm downloads in a typical week.
I need one server for MySQL plus Postgres, SQL Server, or SQLiteUse DBHub (bytebase/dbhub), because it exposes a single MCP gateway to PostgreSQL, MySQL, SQL Server, MariaDB, and SQLite and had a commit 0 days ago with 77 commits in the last 12 weeks.
I need auditable DDL and operation logs for a shared MySQLUse MCP MySQL Server (liliangshan/mcp-server-mysql), because it combines sql_query, permission checks, and operation log tools, though it is profiled Abandoned but popular and had 0 commits in the last 12 weeks.
I need MySQL in production with OAuth 2.1 and connection poolingUse MySQL MCP Server (neverinfamous/mysql-mcp) for production MySQL workloads that require OAuth 2.1 and connection pooling; it is profiled Steady, exposes 43 tools, and had a commit 27 days ago.
I need natural language access to many database typesUse dbx (t8y2/dbx), because it is a community favourite universal database manager that provides natural language queries and database management through MCP and had a commit 0 days ago.
I need read-only investigation across fixed environmentsUse MySQL Query MCP Server (devakone/mysql-query-mcp-server), because it exposes query, info, and environments tools, blocks write operations, and is profiled Steady with a commit 40 days ago.

Top MCP servers for MySQL

Best forProfile
1Developers wiring an AI assistant to MySQL for schema inspection and ad-hoc queries: it exposes execute_sql, get_schema_info, and get_table_sample.Community favourite1,389+3143 days ago88.4
2Read-only schema inspection and querying of a MySQL database from Claude Code: it documents a mysql_query tool and a mysql://tables resource.Community favourite2,119+7549 days ago83.4
3Local development or multi-database consolidation: it exposes a single MCP gateway to PostgreSQL, MySQL, SQL Server, MariaDB, and SQLite.Community favourite3,493+168today69.8
4A MariaDB app that needs both SQL access and embedding-based search through one MCP server: it exposes query, schema, and vector store tools.Steady202+1235 days ago66.5
5For MySQL users already working in VS Code/Cursor with DBCode connections: its built-in MCP server gives AI agents schema access and query execution.Community favourite347+17yesterday59.4
6Teams running several MySQL and PostgreSQL databases at once: it generates per-database query, execute, transaction, schema, and performance tools.Community favourite423+1221 days ago58.6
7When you need to manage and query multiple database types via natural language: it provides an MCP server for universal database access.Community favourite19,200+4,291today57.3
8Shared MySQL environments needing auditable DDL and DML: it combines sql_query, permission checks, and operation log tools.Abandoned but popular140115 days ago55.7
9Connecting Gemini CLI, Claude Code, or Codex to a Cloud SQL MySQL database: it provides prebuilt generic tools and a custom tools framework.Community favourite16,371+200today54.3
10Production MySQL workloads requiring OAuth 2.1 and connection pooling: this server offers both.Steady10+127 days ago53.0
11A developer who needs to inspect and modify MySQL data from a terminal: it exposes query, schema, and write-confirmation tools through a CLI and MCP server.Community favourite5,024+19today52.6
12For read-only MySQL schema exploration from Claude Desktop: it connects through MCP with a default read-only mode for natural-language queries.Abandoned but popular929+20182 days ago51.9
13Teams adopting Prisma 8 on new projects: it scaffolds apps, wires PostgreSQL or MongoDB, and installs agent skills for AI-driven ORM workflows.Community favourite47,603+67today51.4
14Teams that want one governed GraphQL and MCP surface over MySQL plus other data systems: it compiles natural language to SQL with schema discovery.Community favourite3,165+293 days ago49.8
15For an AI assistant that must run both SELECT and write queries against MySQL: it exposes query, execute, list_tables, and describe_table with prepared statement support.Abandoned but popular1680305 days ago48.8
16Read-only schema inspection and SELECT queries against a MySQL database, enforced by SQL validation and READ ONLY transactions.Dormant140119 days ago43.1
17Natural-language querying of MySQL and PostgreSQL databases: it turns plain English into SQL via XiYanSQL and returns results.Abandoned but popular240-1215 days ago40.8
18Managing several MySQL databases from an AI assistant while keeping credentials out of the model: it supports multiple header-configured connections and dynamic switching.Dormant810272 days ago40.1
19When one MCP server must cover MySQL alongside Postgres, Redis, Elasticsearch, MongoDB, and LDAP: its per-connection read-only mode makes mixed read/write environments safe.Steady82011 days ago39.0
20For teams that need read-only MySQL investigation across fixed environments: it exposes query, info, and environments tools and blocks write operations.Steady13040 days ago38.9

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: Developers wiring an AI assistant to MySQL for schema inspection and ad-hoc queries: it exposes execute_sql, get_schema_info, and get_table_sample.

    The server exposes execute_sql, get_schema_info, and get_table_sample, and supports STDIO and SSE transports, SSH tunneling, and optional multi-database mode. It accepts only single SQL statements, so multi-statement queries such as USE db; SELECT ... are not supported.

    GitHub stars
    1,389
    Stars over the last 90 days: 1,305 at the earliest of 83 readings and 1,389 at the latest, up 84.
    Stars / 30 days
    +31
    npm / typical week
    Ships no npm package
    PyPI / typical week
    9.9K
    mysql-mcp-server
    Tools exposed
    3
    Last commit
    43 days ago
    Commits / 12 weeks
    5
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0. 5 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    A
    Score 88.4: show every number behind it
    • Adoption97 / 100 · weight 40%
      • GitHub stars79
      • PyPI downloads85
      • Used through Glamanot measured
        not used through Glama in the last 30 days
    • Maintenance93 / 100 · weight 24%
      • Last commit touching this server100
      • Repository maintenance grade100
      • Commit cadence65
    • Momentum47 / 100 · weight 14%
      • Stars gained, relative to size59
      • Stars gained, absolute61
      • PyPI download trend9
    • 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
    88.4
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    88.4
  • Best for: Read-only schema inspection and querying of a MySQL database from Claude Code: it documents a mysql_query tool and a mysql://tables resource.

    Its README documents a mysql_query tool for executing SQL and a mysql://tables resource listing tables and column metadata. It requires Node.js v20+ and MySQL 5.7+ (8.0+ recommended).

    GitHub stars
    2,119
    Stars over the last 90 days: 1,869 at the earliest of 9 readings and 2,119 at the latest, up 250.
    Stars / 30 days
    +75
    npm / typical week
    13.7K
    PyPI / typical week
    no attributed package
    Tools exposed
    never inspected
    Last commit
    49 days ago
    Commits / 12 weeks
    7
    Weekly commits over the last 12 weeks, oldest first: 2, 1, 0, 0, 0, 4, 0, 0, 0, 0, 0, 0. 7 in total, and the last figure is the current week so far.
    Maintenance grade
    C
    Tool descriptions
    Not graded
    Score 83.4: 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
    • Maintenance75 / 100 · weight 24%
      • Last commit touching this server88
      • Repository maintenance grade55
      • Commit cadence65
    • Momentum57 / 100 · weight 14%
      • Stars gained, relative to size76
      • Stars gained, absolute76
      • npm download trend0
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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
    83.4
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    83.4
  • 3

    DBHub

    Community favouriteNo change
    bytebase/dbhub

    Best for: Local development or multi-database consolidation: it exposes a single MCP gateway to PostgreSQL, MySQL, SQL Server, MariaDB, and SQLite.

    DBHub is an MCP server that connects to PostgreSQL, MySQL, SQL Server, MariaDB, and SQLite, with README-documented tools including execute_sql, search_objects, opt-in explain_sql and health_check, and configurable custom tools. Before choosing it, note that npx installation requires Node.js >= 22.5.0 because DBHub uses the built-in node:sqlite module.

    GitHub stars
    3,493
    Stars over the last 90 days: 3,013 at the earliest of 16 readings and 3,525 at the latest, up 512.
    Stars / 30 days
    +168
    npm / typical week
    downloads not counted
    PyPI / typical week
    no attributed package
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    77
    Weekly commits over the last 12 weeks, oldest first: 10, 1, 6, 9, 3, 34, 2, 1, 4, 0, 6, 3. 79 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 69.8: show every number behind it
    • Adoption89 / 100 · weight 40%
      • GitHub stars89
      • 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
    • Momentum90 / 100 · weight 14%
      • Stars gained, relative to size90
      • Stars gained, absolute90
      • npm download trendnot measured
        no download history for the selected registry
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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
    89.5
    × relevance: the keyword is declared here
    0.78
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    69.8
  • Best for: A MariaDB app that needs both SQL access and embedding-based search through one MCP server: it exposes query, schema, and vector store tools.

    It implements an MCP interface for MariaDB with tools to list databases and tables, fetch table schemas, execute SQL, create databases, and manage vector stores if an embedding provider is configured. Before choosing it, know that it has no published npm or PyPI package, and execute_sql is read-only only when MCP_READ_ONLY is enabled.

    GitHub stars
    202
    Stars over the last 90 days: 177 at the earliest of 9 readings and 202 at the latest, up 25.
    Stars / 30 days
    +12
    npm / typical week
    Ships no npm package
    PyPI / typical week
    no attributed package
    Tools exposed
    never inspected
    Last commit
    35 days ago
    Commits / 12 weeks
    2
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0. 2 in total, and the last figure is the current week so far.
    Maintenance grade
    D
    Tool descriptions
    Not graded
    Score 66.5: show every number behind it
    • Adoption58 / 100 · weight 40%
      • GitHub stars58
      • npm downloadsnot measured
        no npm package
      • Used through Glamanot measured
        not used through Glama in the last 30 days
    • Maintenance71 / 100 · weight 24%
      • Last commit touching this server100
      • Repository maintenance grade30
      • Commit cadence40
    • Momentum65 / 100 · weight 14%
      • Stars gained, relative to size77
      • Stars gained, absolute45
      • npm download trendnot measured
        no download history for the selected registry
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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.5
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    66.5
  • 5

    DBCode

    Community favouriteNo change
    dbcodeio/public

    Best for: For MySQL users already working in VS Code/Cursor with DBCode connections: its built-in MCP server gives AI agents schema access and query execution.

    DBCode is a VS Code extension that can run an MCP server exposing configured databases, schemas, and query execution to AI agents. It is not a standalone server: it depends on the DBCode extension, an existing editor connection, and per-connection AI permissions.

    GitHub stars
    347
    Stars over the last 90 days: 306 at the earliest of 33 readings and 347 at the latest, up 41.
    Stars / 30 days
    +17
    npm / typical week
    downloads not counted
    PyPI / typical week
    no attributed package
    Tools exposed
    never inspected
    Last commit
    yesterday
    Commits / 12 weeks
    71
    Weekly commits over the last 12 weeks, oldest first: 3, 3, 1, 3, 11, 15, 5, 2, 4, 7, 12, 5. 71 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 59.4: show every number behind it
    • Adoption64 / 100 · weight 40%
      • GitHub stars64
      • 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
    • Momentum66 / 100 · weight 14%
      • Stars gained, relative to size76
      • Stars gained, absolute51
      • npm download trendnot measured
        no download history for the selected registry
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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
    76.2
    × relevance: the keyword is declared here
    0.78
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    59.4
  • Best for: Teams running several MySQL and PostgreSQL databases at once: it generates per-database query, execute, transaction, schema, and performance tools.

    It is a Go MCP server that connects to multiple databases concurrently and auto-generates database-specific tools for querying, executing statements, managing transactions, exploring schemas, and analyzing performance. Before choosing it, note that the README also lists SQLite and Oracle in its multi-database examples, but the description and supported-databases scope only confirm MySQL and PostgreSQL.

    GitHub stars
    423
    Stars over the last 90 days: 393 at the earliest of 10 readings and 423 at the latest, up 30.
    Stars / 30 days
    +12
    npm / typical week
    Ships no npm package
    PyPI / typical week
    no attributed package
    Tools exposed
    never inspected
    Last commit
    21 days ago
    Commits / 12 weeks
    102
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 0, 0, 26, 0, 0, 0, 76, 0, 0. 102 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 58.6: 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
    • Momentum53 / 100 · weight 14%
      • Stars gained, relative to size59
      • Stars gained, absolute44
      • npm download trendnot measured
        no download history for the selected registry
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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.1
    × relevance: the keyword is declared here
    0.78
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    58.6
  • 7

    dbx

    Community favouriteNo change
    t8y2/dbx

    Best for: When you need to manage and query multiple database types via natural language: it provides an MCP server for universal database access.

    The README documents a desktop app, Docker, CLI, a built-in AI assistant, and an MCP server that handles natural language queries and database management. Its MCP tool list has not been inspected, so you must check the repository to see exactly what tools it exposes before choosing it.

    GitHub stars
    19,200
    Stars over the last 90 days: 12,562 at the earliest of 30 readings and 19,592 at the latest, up 7,030.
    Stars / 30 days
    +4,291
    npm / typical week
    downloads not counted
    PyPI / typical week
    no attributed package
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    4,210
    Weekly commits over the last 12 weeks, oldest first: 345, 326, 380, 325, 350, 394, 299, 415, 396, 311, 368, 365. 4,274 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 57.3: 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 download history for the selected registry
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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.5
    × relevance: the keyword is tagged here
    0.60
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    57.3
  • Best for: Shared MySQL environments needing auditable DDL and DML: it combines sql_query, permission checks, and operation log tools.

    The server exposes five tools: sql_query for DDL/DML, get_database_info, get_operation_logs, check_permissions, and get_ddl_sql_logs, and its README documents npm installation with environment-variable configuration. It assumes a MySQL connection configured through MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE, and it is available as an npm package, not PyPI.

    GitHub stars
    14
    Stars over the last 90 days: 14 at the earliest of 8 readings and 14 at the latest, unchanged.
    Stars / 30 days
    0
    npm / typical week
    326
    PyPI / typical week
    no attributed package
    Tools exposed
    5
    Last commit
    115 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    C
    Tool descriptions
    B
    Score 55.7: show every number behind it
    • Adoption58 / 100 · weight 40%
      • GitHub stars29
      • npm downloads53
      • 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
    • Momentum1 / 100 · weight 14%
      • Stars gained, relative to size0
      • Stars gained, absolute0
      • npm download trend6
    • Tool quality63 / 100 · weight 13%
      • Tool description quality55
      • Built and inspected by Glama100
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not published by the vendor it integrates
    Weighted mean of the five
    55.7
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    55.7
  • Best for: Connecting Gemini CLI, Claude Code, or Codex to a Cloud SQL MySQL database: it provides prebuilt generic tools and a custom tools framework.

    MCP Toolbox for Databases connects AI agents, IDEs, and applications to databases over MCP; its README documents prebuilt generic tools (list_tables, execute_sql) and a framework for building custom database tools. Before choosing it for MySQL, note that the quick start's only run command shown in the README is for PostgreSQL, so check the Prebuilt Tools Reference for the Cloud SQL MySQL configuration.

    GitHub stars
    16,371
    Stars over the last 90 days: 15,645 at the earliest of 54 readings and 16,371 at the latest, up 726.
    Stars / 30 days
    +200
    npm / typical week
    Ships no npm package
    PyPI / typical week
    no attributed package
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    238
    Weekly commits over the last 12 weeks, oldest first: 20, 8, 21, 10, 24, 30, 12, 29, 13, 25, 25, 21. 238 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 download history for the selected registry
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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
  • Best for: Production MySQL workloads requiring OAuth 2.1 and connection pooling: this server offers both.

    It exposes 43 tools for CRUD, JSON operations, transactions, optimistic versioning, and schema management, plus resources for schema, performance, process lists, replication, and InnoDB diagnostics. It is built for MCP v2 streamable or stateless HTTP transport.

    GitHub stars
    10
    Stars over the last 90 days: 6 at the earliest of 16 readings and 10 at the latest, up 4.
    Stars / 30 days
    +1
    npm / typical week
    81
    PyPI / typical week
    no attributed package
    Tools exposed
    43
    Last commit
    27 days ago
    Commits / 12 weeks
    2,582
    Weekly commits over the last 12 weeks, oldest first: 3, 2, 293, 514, 526, 587, 400, 253, 4, 0, 0, 0. 2,582 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    B
    Score 53.0: show every number behind it
    • Adoption45 / 100 · weight 40%
      • GitHub stars26
      • npm downloads41
      • 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
    • Momentum24 / 100 · weight 14%
      • Stars gained, relative to size36
      • Stars gained, absolute14
      • npm download trend12
    • 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
    62.4
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: modest but real audience
    0.85
    Composite score
    53.0
  • 11

    whodb-cli

    Community favourite 1
    clidey/whodb

    Best for: A developer who needs to inspect and modify MySQL data from a terminal: it exposes query, schema, and write-confirmation tools through a CLI and MCP server.

    WhoDB CLI exposes 12 MCP tools for listing connections, schemas, tables, and columns, running queries, explaining plans, diffing schemas, auditing data quality, and confirming pending writes. It is a Go and TypeScript project that also ships as a browser app, desktop app, and Docker image, so the MCP server is one interface to a larger self-hosted database workspace.

    GitHub stars
    5,024
    Stars over the last 90 days: 4,858 at the earliest of 54 readings and 5,028 at the latest, up 170.
    Stars / 30 days
    +19
    npm / typical week
    Ships no npm package
    PyPI / typical week
    no attributed package
    Tools exposed
    12
    Last commit
    today
    Commits / 12 weeks
    550
    Weekly commits over the last 12 weeks, oldest first: 71, 24, 69, 65, 43, 46, 51, 33, 55, 26, 8, 7. 498 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    A
    Score 52.6: 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
    • Momentum36 / 100 · weight 14%
      • Stars gained, relative to size24
      • Stars gained, absolute52
      • npm download trendnot measured
        no 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.7
    × relevance: the keyword is tagged here
    0.60
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    52.6
  • Best for: For read-only MySQL schema exploration from Claude Desktop: it connects through MCP with a default read-only mode for natural-language queries.

    It is a Node.js MCP server that installs via npm and exposes MCP stdio, MCP SSE, Streamable HTTP, and REST API interfaces for natural-language database access. It requires Node.js 20+ and installation as a global npm package.

    GitHub stars
    929
    Stars over the last 90 days: 848 at the earliest of 9 readings and 929 at the latest, up 81.
    Stars / 30 days
    +20
    npm / typical week
    126
    PyPI / typical week
    no attributed package
    Tools exposed
    never inspected
    Last commit
    182 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    D
    Tool descriptions
    Not graded
    Score 51.9: show every number behind it
    • Adoption81 / 100 · weight 40%
      • GitHub stars74
      • npm downloads45
      • 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
    • Momentum41 / 100 · weight 14%
      • Stars gained, relative to size56
      • Stars gained, absolute53
      • npm download trend0
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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
    66.5
    × relevance: the keyword is declared here
    0.78
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    51.9
  • 13

    Prisma MCP Server

    Community favourite 1
    prisma/orm

    Best for: Teams adopting Prisma 8 on new projects: it scaffolds apps, wires PostgreSQL or MongoDB, and installs agent skills for AI-driven ORM workflows.

    The server is the Prisma 8 ORM toolchain, documented as scaffolding projects, initializing Prisma in existing apps, and installing agent skills for AI-driven database workflows. Its tool list was not measured, and it requires Node.js 24 or newer, so it is not a drop-in for older runtimes.

    GitHub stars
    47,603
    Stars over the last 90 days: 46,407 at the earliest of 32 readings and 47,608 at the latest, up 1,201.
    Stars / 30 days
    +67
    npm / typical week
    downloads not counted
    PyPI / typical week
    no attributed package
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    357
    Weekly commits over the last 12 weeks, oldest first: 16, 14, 34, 32, 45, 35, 32, 64, 36, 23, 5, 27. 363 in total, and the last figure is the current week so far.
    Maintenance grade
    B
    Tool descriptions
    Not graded
    Score 51.4: 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
    • Momentum39 / 100 · weight 14%
      • Stars gained, relative to size15
      • Stars gained, absolute74
      • npm download trendnot measured
        no download history for the selected registry
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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
    85.7
    × relevance: the keyword is tagged here
    0.60
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    51.4
  • 14

    GraphJin

    Community favourite 1
    dosco/graphjin

    Best for: Teams that want one governed GraphQL and MCP surface over MySQL plus other data systems: it compiles natural language to SQL with schema discovery.

    GraphJin is a compiler and runtime that exposes databases, warehouses, files, and workflows through GraphQL and MCP, with tools for catalog discovery, query validation, and runtime status. It supports MySQL among many systems, but the MCP tool list was not measured, so verify the actual exposed tools before relying on it for a specific workflow.

    GitHub stars
    3,165
    Stars over the last 90 days: 3,082 at the earliest of 38 readings and 3,165 at the latest, up 83.
    Stars / 30 days
    +29
    npm / typical week
    518
    PyPI / typical week
    no attributed package
    Tools exposed
    never inspected
    Last commit
    3 days ago
    Commits / 12 weeks
    502
    Weekly commits over the last 12 weeks, oldest first: 0, 2, 12, 27, 15, 21, 52, 103, 74, 110, 75, 11. 502 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 49.8: show every number behind it
    • Adoption92 / 100 · weight 40%
      • GitHub stars88
      • npm downloads29
        downloads show none of the weekday rhythm human traffic has; halved
      • 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
    • Momentum35 / 100 · weight 14%
      • Stars gained, relative to size38
      • Stars gained, absolute59
      • npm download trend0
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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
    83.0
    × relevance: the keyword is tagged here
    0.60
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    49.8
  • 15

    mcp-mysql-server

    Abandoned but popularNo change
    f4ww4z/mcp-mysql-server

    Best for: For an AI assistant that must run both SELECT and write queries against MySQL: it exposes query, execute, list_tables, and describe_table with prepared statement support.

    The server exposes five tools: connect_db, query for SELECT, execute for INSERT, UPDATE, or DELETE, list_tables, and describe_table, with optional prepared statement parameters documented for query and execute. Before choosing it, note that its connection configuration comes either from a mysql:// URL passed as an argument or from MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE environment variables.

    GitHub stars
    168
    Stars over the last 90 days: 162 at the earliest of 82 readings and 168 at the latest, up 6.
    Stars / 30 days
    0
    npm / typical week
    364
    PyPI / typical week
    no attributed package
    Tools exposed
    5
    Last commit
    305 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    F
    Tool descriptions
    B
    Score 48.8: show every number behind it
    • Adoption64 / 100 · weight 40%
      • GitHub stars56
      • npm downloads55
      • 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
    • Momentum0 / 100 · weight 14%
      • Stars gained, relative to size0
      • Stars gained, absolute0
      • 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 measured
        not published by the vendor it integrates
    Weighted mean of the five
    48.8
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    48.8
  • Best for: Read-only schema inspection and SELECT queries against a MySQL database, enforced by SQL validation and READ ONLY transactions.

    The server exposes a single query tool and table schema resources, all executed within READ ONLY transactions. Its tool list was not measured at publication, so verify the installed package before relying on it.

    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
    0
    npm / typical week
    123
    PyPI / typical week
    no attributed package
    Tools exposed
    never inspected
    Last commit
    119 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    D
    Tool descriptions
    Not graded
    Score 43.1: show every number behind it
    • Adoption49 / 100 · weight 40%
      • GitHub stars29
      • npm downloads45
      • 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
    • Momentum0 / 100 · weight 14%
      • Stars gained, relative to size0
      • Stars gained, absolute0
      • npm download trend0
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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
    50.7
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: modest but real audience
    0.85
    Composite score
    43.1
  • Best for: Natural-language querying of MySQL and PostgreSQL databases: it turns plain English into SQL via XiYanSQL and returns results.

    It exposes a get_data tool that converts natural language to SQL and executes it, plus resources that list databases and sample table contents. It requires Python 3.11+, and its default remote mode needs an API key, while the local mode uses a local model instead.

    GitHub stars
    240
    Stars over the last 90 days: 236 at the earliest of 10 readings and 240 at the latest, up 4.
    Stars / 30 days
    -1
    npm / typical week
    Ships no npm package
    PyPI / typical week
    downloads not counted
    xiyan-mcp-server
    Tools exposed
    never inspected
    Last commit
    215 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    D
    Tool descriptions
    Not graded
    Score 40.8: 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
    • Momentum0 / 100 · weight 14%
      • Stars gained, relative to size0
      • Stars gained, absolute0
      • npm download trendnot measured
        no download history for the selected registry
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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
    52.3
    × relevance: the keyword is declared here
    0.78
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    40.8
  • Best for: Managing several MySQL databases from an AI assistant while keeping credentials out of the model: it supports multiple header-configured connections and dynamic switching.

    This server provides a StreamableHTTP MCP endpoint for MySQL, and its README documents connection-management tools and SQL query tools. Before choosing it, the key requirement is Node.js 18+ and MySQL 5.7+ or 8.0+, with startup from a cloned TypeScript source tree after npm install and build.

    GitHub stars
    81
    Stars over the last 90 days: 80 at the earliest of 8 readings and 81 at the latest, up 1.
    Stars / 30 days
    0
    npm / typical week
    14
    PyPI / typical week
    no attributed package
    Tools exposed
    never inspected
    Last commit
    272 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    C
    Tool descriptions
    Not graded
    Score 40.1: show every number behind it
    • Adoption52 / 100 · weight 40%
      • GitHub stars48
      • npm downloads25
      • Used through Glamanot measured
        not used through Glama in the last 30 days
    • Maintenance38 / 100 · weight 24%
      • Last commit touching this server42
      • Repository maintenance grade55
      • Commit cadence5
    • Momentum0 / 100 · weight 14%
      • Stars gained, relative to size0
      • Stars gained, absolute0
      • npm download trend0
    • Tool quality65 / 100 · weight 13%
      • Tool description quality65
        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
    47.2
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: modest but real audience
    0.85
    Composite score
    40.1
  • Best for: When one MCP server must cover MySQL alongside Postgres, Redis, Elasticsearch, MongoDB, and LDAP: its per-connection read-only mode makes mixed read/write environments safe.

    Exposed tools cover system management (db_status, db_reload_config), Postgres queries and schema inspection, and Redis key operations, while the README documents MySQL, Elasticsearch, MongoDB, and LDAP support and setup by environment variables. The thing to know before choosing it: it runs through npx/npm and loads database drivers on demand, so a local --no-optional install requires the driver for each engine in use.

    GitHub stars
    82
    Stars / 30 days
    0
    npm / typical week
    downloads not counted
    PyPI / typical week
    no attributed package
    Tools exposed
    100
    Last commit
    11 days ago
    Commits / 12 weeks
    43
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 15, 3, 3, 16, 0, 0, 5, 0, 1, 0. 43 in total, and the last figure is the current week so far.
    Maintenance grade
    B
    Tool descriptions
    B
    Score 39.0: 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
    • Momentum0 / 100 · weight 14%
      • Stars gained, relative to size0
      • Stars gained, absolute0
      • npm download trendnot measured
        no download history for the selected registry
    • Tool quality61 / 100 · weight 13%
      • Tool description quality53
      • 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
    58.8
    × relevance: the keyword is declared here
    0.78
    × continuity: actively changing
    1.00
    × evidence: modest but real audience
    0.85
    Composite score
    39.0
  • Best for: For teams that need read-only MySQL investigation across fixed environments: it exposes query, info, and environments tools and blocks write operations.

    The server exposes three tools: query for read-only SQL, info for database metadata, and environments for listing available MySQL environments. It requires configuration of at least one of four predefined environments (local, development, staging, production) via environment variables, and it does not support custom environment names.

    GitHub stars
    13
    Stars over the last 90 days: 13 at the earliest of 9 readings and 13 at the latest, unchanged.
    Stars / 30 days
    0
    npm / typical week
    42
    PyPI / typical week
    no attributed package
    Tools exposed
    3
    Last commit
    40 days ago
    Commits / 12 weeks
    4
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 0, 0, 0, 4, 0, 0, 0, 0, 0. 4 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    A
    Score 38.9: show every number behind it
    • Adoption39 / 100 · weight 40%
      • GitHub stars29
      • npm downloads35
      • 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
    • Momentum0 / 100 · weight 14%
      • Stars gained, relative to size0
      • Stars gained, absolute0
      • npm download trend0
    • 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
    55.6
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: small audience
    0.70
    Composite score
    38.9

Questions people ask

Which one should I install if I use Claude Code and only want read-only access?

Use MCP Server for MySQL (benborla/mcp-server-mysql). It is read-only, a community favourite, and its npm package had 13,650 downloads in a typical week. It had a commit 49 days ago.

Which server should I use if I need MySQL and PostgreSQL together?

DBHub (bytebase/dbhub) is the active multi-database option: it exposes a single MCP gateway to PostgreSQL, MySQL, SQL Server, MariaDB, and SQLite and had a commit 0 days ago with 77 commits in the last 12 weeks. Multi Database MCP Server (FreePeak/db-mcp-server) also supports MySQL and PostgreSQL now, with per-database query, execute, transaction, schema, and performance tools, and had a commit 21 days ago.

Which servers can execute write queries and which are read-only?

mcp-mysql-server (f4ww4z/mcp-mysql-server) is described as best for an AI assistant that must run both SELECT and write queries and exposes query, execute, list_tables, and describe_table with prepared statement support. It is profiled Abandoned but popular, with a commit 305 days ago and 0 commits in the last 12 weeks. MCP Server for MySQL (benborla/mcp-server-mysql) and MySQL Query MCP Server (devakone/mcp-query-mcp-server) are the read-only options among these servers.

What should I be careful about with MySQL MCP Server (neverinfamous/mysql-mcp) in production?

It is the option described for production MySQL workloads requiring OAuth 2.1 and connection pooling. It exposes 43 tools and had a commit 27 days ago, and it is profiled Steady. It also had 10 GitHub stars and 81 npm downloads in a typical week.

Other comparisons