Skip to main content
Glama

20 Best MySQL MCP Servers, Compared (August 2026)

Updated 20 of 506 MySQL servers in the Glama registryRebuilt weekly

The short answer

For most developers, I would reach for benborla/mcp-server-mysql: it is a community favourite, has 96 stars gained per 30 days and 25 commits in the last 12 weeks, and its npm package had 12,807 downloads in a typical week. It provides read-only queries and schema access with writes disabled by default, which is the safest common setup. If you need one MCP gateway across MySQL, PostgreSQL, SQL Server, and SQLite instead of MySQL alone, DBHub is the better answer: it had a commit 5 days ago and 83 commits in the last 12 weeks.

Whichever you choose, give it the narrowest access that still works — a read-only credential, a replica, a scratch account — and widen it only once you have watched what your agent actually asks for.

Glama operates the MCP registry these numbers are measured from, and sells MCP hosting and a gateway. No position on this page is paid for. How the registry is built.

Quick picks

  • 1MCP Server for MySQL Read-only database analysis for LLMs — it offers a query tool and schema resource, with writes disabled by default.
  • 2MySQL MCP Server For AI-assisted MySQL exploration and ad-hoc SQL, it exposes query, schema, and sampling tools.
  • 3DBHub Multi-database MySQL work through a single lightweight MCP gateway—DBHub connects Claude Desktop, Cursor, and VS Code to MySQL, PostgreSQL, SQL Server, and SQLite with read-only guardrails.
  • 4MCP MariaDB Server AI assistants that need to query and manage MariaDB databases, including vector stores, through the MCP protocol.
  • 5DBCode For MySQL developers already working in VS Code who need schema inspection and query execution over MCP, DBCode offers this through its database client extension.

Which one, for your situation

Your situationWhat to use
I need a read-only MCP server you can install from npm.Use benborla/mcp-server-mysql because it is read-only with writes disabled by default and published as an npm package.
I need one MCP server for MySQL, PostgreSQL, and SQL Server.Use DBHub because it connects to MySQL, PostgreSQL, SQL Server, and SQLite through one MCP gateway with read-only guardrails.
I need transparent tool descriptions and a small tool surface.Use designcomputer/mysql_mcp_server, which exposes 3 tools and has a tool description grade of A.
I need schema diff and data-quality checks in my agent.Use whodb-cli, which exposes 12 tools including diff, audit, and query tools, with a tool description grade of A.
I need controlled admin DDL and DML with permission checks.Use liliangshan/mcp-server-mysql because it is designed for DDL and DML with permission control and operation logs.
I already spend most of my day in VS Code.Use DBCode, which is built as a VS Code extension and had a commit 0 days ago.

Top MCP servers for MySQL

Best forProfile
1Read-only database analysis for LLMs — it offers a query tool and schema resource, with writes disabled by default.Community favourite2,039+9624 days ago90.2
2For AI-assisted MySQL exploration and ad-hoc SQL, it exposes query, schema, and sampling tools.Community favourite1,361+2118 days ago83.3
3Multi-database MySQL work through a single lightweight MCP gateway—DBHub connects Claude Desktop, Cursor, and VS Code to MySQL, PostgreSQL, SQL Server, and SQLite with read-only guardrails.Community favourite3,319+1845 days ago70.1
4AI assistants that need to query and manage MariaDB databases, including vector stores, through the MCP protocol.Steady189+810 days ago66.2
5For MySQL developers already working in VS Code who need schema inspection and query execution over MCP, DBCode offers this through its database client extension.Community favourite326+10today57.8
6Administering MySQL from an MCP client when you need controlled DDL and DML, permission checks, and a record of operations.Steady14090 days ago57.4
7Operations touching several MySQL databases concurrently — per-connection auto-generated query, transaction, schema, and performance tools make it fit.Community favourite411+1223 days ago57.1
8For a MySQL database that needs schema drift detection and data-quality checks alongside SQL queries, it exposes diff, audit, and query tools.Community favourite5,009+107today55.4
9Natural-language querying and schema analysis of MySQL, PostgreSQL, or Redis from Claude Desktop — it defaults to read-only mode.Abandoned but popular908+33156 days ago55.0
10Connecting an MCP client to Google Cloud databases — it offers prebuilt exploration tools such as list_tables and execute_sql.Community favourite16,198+224today54.5
11Developers using Prisma ORM against PostgreSQL who want AI agents to handle schema and queries — it provides agent skills for those workflows.Community favourite47,569+209today53.4
12AI agents that need to run iterative SQL and JavaScript against MySQL — it exposes 43 tools including a code execution mode in a sandboxed V8 isolate.Steady8+12 days ago53.0
13Teams that need one governed surface for multiple data sources — it runs its own discovery loop as an auditable, policy-checked agent rather than exposing raw credentials.Community favourite3,144+19today52.4
14For a MySQL MCP server that handles both reads and writes — it exposes five tools: connect_db, query, execute, list_tables, describe_table.Abandoned but popular168+1279 days ago52.4
15Read-only database inspection in any MCP client—its query, info, and environments tools expose read-only access with no write operations.Steady13014 days ago49.2
16MySQL databases with Chinese table/field comments — it can find tables by Chinese description and generate pinyin initials for field names.Abandoned but popular247+1357 days ago49.2
17Setting up a single model to handle both MySQL and a couple of other databases — MCP exposes query tools for 70+ of them.Community favourite15,887No snapshot historytoday48.9
18A team with a mixed database stack (MySQL plus Postgres or Redis) that wants a single MCP server with per-connection read-only mode.Emerging82+82today48.3
19For giving an LLM read-only access to a MySQL database — it executes only SELECT queries and exposes table schemas.Dormant14+194 days ago45.2
20For teams that want AI to operate MySQL without seeing credentials — header-based preconfiguration keeps passwords out of model context while still enabling full CRUD via SQL execution.Dormant81+1246 days ago44.2

The ranking, with the evidence

Each position is a weighted mean of adoption (40%), maintenance (24%), momentum (14%), tool description quality (13%) and trust (9%), multiplied by three attenuators: how directly the server is about MySQL — named for it, declaring it, tagged with it, or merely mentioning it — whether its repository is still moving, and how much independent evidence of adoption it has. Open the score on any entry to see every number, including the ones marked ≈, which were imputed from the median of the other candidates rather than measured. The maintenance grade on each entry is mostly issue responsiveness, release recency and open security alerts rather than commits, so a recent commit beside a low grade is two different measurements rather than a contradiction.

  • Abandoned but popularPeople use it, but its default branch has stopped moving. Fine to keep running, risky to adopt.
  • Community favouriteWidely adopted and still actively maintained.
  • DormantNeither changing nor widely adopted. Here because it still matches the search.
  • EmergingSmall audience, growing quickly, maintained. The bet with the most upside.
  • SteadyMaintained, modest audience, no surprises in either direction.
  • Best for: Read-only database analysis for LLMs — it offers a query tool and schema resource, with writes disabled by default.

    It executes SQL queries through a mysql_query tool and exposes a mysql://tables resource for schema metadata, with write operations gated behind environment flags. Choose it only if you can run Node.js v20+ and connect to a MySQL 5.7+ database.

    GitHub stars
    2,039
    Stars over the last 90 days: 1,719 at the earliest of 10 readings and 2,039 at the latest, up 320.
    Stars / 30 days
    +96
    npm / typical week
    12.8K
    Tools exposed
    never inspected
    Last commit
    24 days ago
    Commits / 12 weeks
    25
    Weekly commits over the last 12 weeks, oldest first: 1, 0, 1, 0, 18, 1, 0, 0, 0, 4, 0, 0. 25 in total, and the last figure is the current week so far.
    Maintenance grade
    B
    Tool descriptions
    Not graded
    Score 90.2 — show every number behind it
    • Adoption100 / 100 · weight 40%
      • GitHub stars83
      • npm downloads87
      • 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
    • Momentum77 / 100 · weight 14%
      • Stars gained, relative to size87
      • Stars gained, absolute80
      • npm download trend54
    • 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.2
    × relevance — the keyword is dedicated here
    1.00
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    90.2
  • Best for: For AI-assisted MySQL exploration and ad-hoc SQL, it exposes query, schema, and sampling tools.

    The server lists database tables as resources and exposes three tools: execute_sql for arbitrary queries and DML, get_schema_info for column metadata, and get_table_sample for previewing rows. Before using it, note that it only accepts single SQL statements, so multi-statement queries are not supported.

    GitHub stars
    1,361
    Stars over the last 90 days: 1,257 at the earliest of 70 readings and 1,361 at the latest, up 104.
    Stars / 30 days
    +21
    npm / typical week
    Ships no npm package
    Tools exposed
    3
    Last commit
    18 days ago
    Commits / 12 weeks
    44
    Weekly commits over the last 12 weeks, oldest first: 25, 11, 0, 3, 0, 0, 0, 0, 0, 5, 0, 0. 44 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    A
    Score 83.3 — 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
    • Maintenance100 / 100 · weight 24%
      • Last commit touching this server100
      • Repository maintenance grade100
      • Commit cadence100
    • Momentum51 / 100 · weight 14%
      • Stars gained, relative to size49
      • Stars gained, absolute54
      • npm download trendnot 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.3
    × relevance — the keyword is dedicated here
    1.00
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    83.3
  • 3

    DBHub

    Community favourite
    bytebase/dbhub

    Best for: Multi-database MySQL work through a single lightweight MCP gateway—DBHub connects Claude Desktop, Cursor, and VS Code to MySQL, PostgreSQL, SQL Server, and SQLite with read-only guardrails.

    DBHub exposes at least execute_sql and search_objects by default, with opt-in explain_sql and health_check tools, and connects to MySQL among other databases via a single MCP interface. Its zero-dependency design requires Node.js 22.5 or higher, and while the default is read-only and token-efficient, the README emphasizes the need for a TOML configuration to manage multiple database connections.

    GitHub stars
    3,319
    Stars over the last 90 days: 2,835 at the earliest of 13 readings and 3,319 at the latest, up 484.
    Stars / 30 days
    +184
    npm / typical week
    downloads not counted
    Tools exposed
    never inspected
    Last commit
    5 days ago
    Commits / 12 weeks
    83
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 14, 4, 0, 10, 1, 6, 8, 3, 33, 4. 83 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 70.1 — 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
    • Momentum95 / 100 · weight 14%
      • Stars gained, relative to size97
      • Stars gained, absolute91
      • npm download trendnot measured
        no npm download history
    • 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.9
    × relevance — the keyword is declared here
    0.78
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    70.1
  • Best for: AI assistants that need to query and manage MariaDB databases, including vector stores, through the MCP protocol.

    This server exposes tools for listing, querying, and creating databases, tables, and vector stores, along with read-only SQL execution. It requires setting database connection environment variables and, for vector features, an embedding provider API key.

    GitHub stars
    189
    Stars over the last 90 days: 168 at the earliest of 9 readings and 189 at the latest, up 21.
    Stars / 30 days
    +8
    npm / typical week
    Ships no npm package
    Tools exposed
    never inspected
    Last commit
    10 days ago
    Commits / 12 weeks
    2
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2. 2 in total, and the last figure is the current week so far.
    Maintenance grade
    C
    Tool descriptions
    Not graded
    Score 66.2 — 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 164 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 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.2
    × relevance — the keyword is dedicated here
    1.00
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    66.2
  • 5

    DBCode

    Community favourite
    dbcodeio/public

    Best for: For MySQL developers already working in VS Code who need schema inspection and query execution over MCP, DBCode offers this through its database client extension.

    DBCode is a VS Code extension whose optional MCP server provides access to supported databases, their schemas, and query execution. Its MCP server is not a standalone process, so choosing it means running DBCode inside VS Code, Cursor, or Windsurf.

    GitHub stars
    326
    Stars over the last 90 days: 292 at the earliest of 27 readings and 326 at the latest, up 34.
    Stars / 30 days
    +10
    npm / typical week
    downloads not counted
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    93
    Weekly commits over the last 12 weeks, oldest first: 1, 2, 35, 12, 3, 2, 3, 1, 3, 19, 7, 5. 93 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 57.8 — 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
    • Momentum53 / 100 · weight 14%
      • Stars gained, relative to size61
      • Stars gained, absolute43
      • npm download trendnot measured
        no npm download history
    • 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
    74.1
    × relevance — the keyword is declared here
    0.78
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    57.8
  • Best for: Administering MySQL from an MCP client when you need controlled DDL and DML, permission checks, and a record of operations.

    It connects to MySQL and exposes SQL execution for DDL and DML, database info, permission checks, operation logs, and DDL-specific logs. Before installing, note that access is governed by environment variables such as READONLY, ALLOW_DDL, ALLOW_DROP, and ALLOW_DELETE, so those must be set deliberately.

    GitHub stars
    14
    Stars / 30 days
    0
    npm / typical week
    333
    Tools exposed
    5
    Last commit
    90 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    C
    Tool descriptions
    B
    Score 57.4 — 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
    • Momentum13 / 100 · weight 14%
      • Stars gained, relative to size0
      • Stars gained, absolute0
      • npm download trend53
    • Tool quality63 / 100 · weight 13%
      • Tool description quality55
      • Built and inspected by Glama100
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot 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 — widely adopted
    1.00
    Composite score
    57.4
  • Best for: Operations touching several MySQL databases concurrently — per-connection auto-generated query, transaction, schema, and performance tools make it fit.

    Its README documents a unified MCP interface that auto-generates database-specific tools for queries, transactions, schema exploration, and performance across configured connections. Choose it knowing the actual exposed tool list has not been verified, so plan to confirm tool names in your client before relying on the documented set.

    GitHub stars
    411
    Stars over the last 90 days: 382 at the earliest of 8 readings and 411 at the latest, up 29.
    Stars / 30 days
    +12
    npm / typical week
    Ships no npm package
    Tools exposed
    never inspected
    Last commit
    23 days ago
    Commits / 12 weeks
    26
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 0, 0, 0, 0, 0, 0, 26, 0, 0. 26 in total, and the last figure is the current week so far.
    Maintenance grade
    B
    Tool descriptions
    Not graded
    Score 57.1 — show every number behind it
    • Adoption65 / 100 · weight 40%
      • GitHub stars65
      • npm downloadsnot measured
        no npm package
      • 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
    • Momentum54 / 100 · weight 14%
      • Stars gained, relative to size60
      • Stars gained, absolute45
      • npm download trendnot measured
        no npm download history
    • 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
    73.2
    × relevance — the keyword is declared here
    0.78
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    57.1
  • 8

    whodb-cli

    Community favourite
    clidey/whodb

    Best for: For a MySQL database that needs schema drift detection and data-quality checks alongside SQL queries, it exposes diff, audit, and query tools.

    It exposes 12 tools covering SQL querying, schema metadata, schema diffing, ERD metadata, query explain, and write confirmations. It is not an npm package—you must run the CLI, Docker image, or desktop app to use this MCP server.

    GitHub stars
    5,009
    Stars over the last 90 days: 4,836 at the earliest of 47 readings and 5,009 at the latest, up 173.
    Stars / 30 days
    +107
    npm / typical week
    Ships no npm package
    Tools exposed
    12
    Last commit
    today
    Commits / 12 weeks
    715
    Weekly commits over the last 12 weeks, oldest first: 99, 64, 42, 140, 38, 35, 66, 66, 43, 45, 46, 31. 715 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    A
    Score 55.4 — show every number behind it
    • Adoption92 / 100 · weight 40%
      • GitHub stars92
      • 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
    • Momentum68 / 100 · weight 14%
      • Stars gained, relative to size59
      • Stars gained, absolute82
      • 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
    92.3
    × relevance — the keyword is tagged here
    0.60
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    55.4
  • Best for: Natural-language querying and schema analysis of MySQL, PostgreSQL, or Redis from Claude Desktop — it defaults to read-only mode.

    Universal DB MCP is a Node.js MCP server that connects AI assistants to MySQL, PostgreSQL, Redis, and other databases through MCP stdio, MCP SSE, MCP Streamable HTTP, and a REST API. The one thing worth knowing is that it defaults to read-only mode, so it is for querying and schema analysis rather than modifications.

    GitHub stars
    908
    Stars over the last 90 days: 796 at the earliest of 9 readings and 908 at the latest, up 112.
    Stars / 30 days
    +33
    npm / typical week
    144
    Tools exposed
    never inspected
    Last commit
    156 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    C
    Tool descriptions
    Not graded
    Score 55.0 — 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 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
    70.5
    × relevance — the keyword is declared here
    0.78
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    55.0
  • Best for: Connecting an MCP client to Google Cloud databases — it offers prebuilt exploration tools such as list_tables and execute_sql.

    The README describes an MCP server with prebuilt generic database tools such as list_tables and execute_sql, plus a custom-tools framework for structured queries, semantic search, and NL2SQL. Before choosing it, note that the supported databases are all Google Cloud services, so MySQL is supported only via Cloud SQL.

    GitHub stars
    16,198
    Stars over the last 90 days: 15,320 at the earliest of 52 readings and 16,198 at the latest, up 878.
    Stars / 30 days
    +224
    npm / typical week
    Ships no npm package
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    289
    Weekly commits over the last 12 weeks, oldest first: 26, 37, 41, 38, 16, 9, 15, 19, 33, 18, 12, 25. 289 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 54.5 — 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
    • Momentum67 / 100 · weight 14%
      • Stars gained, relative to size48
      • Stars gained, absolute95
      • npm download trendnot measured
        no npm download history
    • 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.8
    × relevance — the keyword is tagged here
    0.60
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    54.5
  • Best for: Developers using Prisma ORM against PostgreSQL who want AI agents to handle schema and queries — it provides agent skills for those workflows.

    It ships agent skills that let AI assistants load Prisma contracts and drive schema and query changes end-to-end. It does not support MySQL; PostgreSQL is the only database at general availability.

    GitHub stars
    47,569
    Stars over the last 90 days: 46,060 at the earliest of 23 readings and 47,569 at the latest, up 1,509.
    Stars / 30 days
    +209
    npm / typical week
    downloads not counted
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    1,139
    Weekly commits over the last 12 weeks, oldest first: 499, 299, 42, 13, 16, 17, 33, 42, 35, 36, 41, 66. 1,139 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 53.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
    • Maintenance100 / 100 · weight 24%
      • Last commit touching this server100
      • Repository maintenance grade100
      • Commit cadence100
    • Momentum54 / 100 · weight 14%
      • Stars gained, relative to size27
      • Stars gained, absolute94
      • npm download trendnot measured
        no npm download history
    • 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
    89.0
    × relevance — the keyword is tagged here
    0.60
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    53.4
  • Best for: AI agents that need to run iterative SQL and JavaScript against MySQL — it exposes 43 tools including a code execution mode in a sandboxed V8 isolate.

    The server exposes 43 tools covering SQL read/write, schema management, transactions, JSON operations, and a sandboxed code execution mode. It requires Node.js 24+ and a running MySQL server to operate.

    GitHub stars
    8
    Stars over the last 90 days: 3 at the earliest of 15 readings and 8 at the latest, up 5.
    Stars / 30 days
    +1
    npm / typical week
    98
    Tools exposed
    43
    Last commit
    2 days ago
    Commits / 12 weeks
    31
    Weekly commits over the last 12 weeks, oldest first: 1, 3, 5, 3, 3, 3, 2, 11, 0, 0, 0, 0. 31 in total, and the last figure is the current week so far.
    Maintenance grade
    B
    Tool descriptions
    B
    Score 53.0 — show every number behind it
    • Adoption46 / 100 · weight 40%
      • GitHub stars24
      • npm downloads42
      • 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
    • Momentum28 / 100 · weight 14%
      • Stars gained, relative to size34
      • Stars gained, absolute13
      • npm download trend35
    • Tool quality63 / 100 · weight 13%
      • Tool description quality55
      • Built and inspected by Glama100
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot 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
  • 13

    GraphJin

    Community favourite
    dosco/graphjin

    Best for: Teams that need one governed surface for multiple data sources — it runs its own discovery loop as an auditable, policy-checked agent rather than exposing raw credentials.

    GraphJin is a compiler and runtime that exposes GraphQL and MCP interfaces, letting agents discover before acting, validate queries, and run approved work with an execution ledger. Worth knowing: it ships a built-in agent that requires an API key for OpenAI, Anthropic, or Google to run in agentic mode, and the MCP tool list was not measured at publication.

    GitHub stars
    3,144
    Stars over the last 90 days: 3,081 at the earliest of 30 readings and 3,144 at the latest, up 63.
    Stars / 30 days
    +19
    npm / typical week
    336
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    337
    Weekly commits over the last 12 weeks, oldest first: 18, 25, 10, 3, 2, 3, 28, 12, 30, 28, 57, 121. 337 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 52.4 — show every number behind it
    • Adoption96 / 100 · weight 40%
      • GitHub stars87
      • npm downloads54
      • 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 size31
      • Stars gained, absolute53
      • npm download trend100
    • 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
    87.3
    × relevance — the keyword is tagged here
    0.60
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    52.4
  • Best for: For a MySQL MCP server that handles both reads and writes — it exposes five tools: connect_db, query, execute, list_tables, describe_table.

    The server exposes tools to connect to a MySQL database, run SELECT queries, execute INSERT/UPDATE/DELETE statements, list tables, and describe table structure. MySQL credentials must be provided either as environment variables or as a connection URI.

    GitHub stars
    168
    Stars over the last 90 days: 162 at the earliest of 61 readings and 168 at the latest, up 6.
    Stars / 30 days
    +1
    npm / typical week
    525
    Tools exposed
    5
    Last commit
    279 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    F
    Tool descriptions
    B
    Score 52.4 — show every number behind it
    • Adoption66 / 100 · weight 40%
      • GitHub stars56
      • npm downloads58
      • 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
    • Momentum19 / 100 · weight 14%
      • Stars gained, relative to size27
      • Stars gained, absolute16
      • npm download trend6
    • Tool quality63 / 100 · weight 13%
      • Tool description quality55
      • Built and inspected by Glama100
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not published by the vendor it integrates
    Weighted mean of the five
    52.4
    × relevance — the keyword is dedicated here
    1.00
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    52.4
  • Best for: Read-only database inspection in any MCP client—its query, info, and environments tools expose read-only access with no write operations.

    The server exposes three tools: query for read-only SQL, info for database information, and environments for listing configured MySQL environments. Before choosing it, note that environments are limited to local, development, staging, and production, and write operations are not supported.

    GitHub 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
    63
    Tools exposed
    3
    Last commit
    14 days ago
    Commits / 12 weeks
    4
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4, 0. 4 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    A
    Score 49.2 — show every number behind it
    • Adoption43 / 100 · weight 40%
      • GitHub stars29
      • npm downloads38
      • 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
    • Momentum6 / 100 · weight 14%
      • Stars gained, relative to size0
      • Stars gained, absolute0
      • npm download trend25
    • Tool quality76 / 100 · weight 13%
      • Tool description quality68
      • Built and inspected by Glama100
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not published by the vendor it integrates
    Weighted mean of the five
    57.9
    × relevance — the keyword is dedicated here
    1.00
    × continuity — actively changing
    1.00
    × evidence — modest but real audience
    0.85
    Composite score
    49.2
  • Best for: MySQL databases with Chinese table/field comments — it can find tables by Chinese description and generate pinyin initials for field names.

    It exposes five tools: execute_sql, get_chinese_initials, get_table_name, get_table_desc, and get_table_index. It is a Python package installed with pip and configured through a .env file containing MYSQL_* variables; no npm package is published.

    GitHub stars
    247
    Stars over the last 90 days: 244 at the earliest of 8 readings and 247 at the latest, up 3.
    Stars / 30 days
    +1
    npm / typical week
    Ships no npm package
    Tools exposed
    5
    Last commit
    357 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    F
    Tool descriptions
    B
    Score 49.2 — 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
    • Maintenance25 / 100 · weight 24%
      • Last commit touching this server42
      • Repository maintenance grade5
      • Commit cadence5
    • Momentum17 / 100 · weight 14%
      • Stars gained, relative to size20
      • Stars gained, absolute12
      • npm download trendnot measured
        no npm download history
    • Tool quality61 / 100 · weight 13%
      • Tool description quality53
      • Built and inspected by Glama100
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not published by the vendor it integrates
    Weighted mean of the five
    49.2
    × relevance — the keyword is dedicated here
    1.00
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    49.2
  • 17

    dbx

    Community favourite
    t8y2/dbx

    Best for: Setting up a single model to handle both MySQL and a couple of other databases — MCP exposes query tools for 70+ of them.

    dbx is an MCP server that exposes the tables of a connected database to an MCP client. Before choosing it, note that the tool list was not measured here, so nothing about its actual tools can be confirmed.

    GitHub stars
    15,887
    Stars / 30 days
    no snapshot history
    npm / typical week
    downloads not counted
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    3,980
    Weekly commits over the last 12 weeks, oldest first: 306, 257, 318, 232, 356, 334, 354, 365, 325, 377, 325, 431. 3,980 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 48.9 — 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
    • Momentum0 / 100 · weight 14%
      • Stars gained, relative to sizenot measured
        no snapshot history yet
      • Stars gained, absolutenot measured
        no snapshot history yet
      • npm download trendnot measured
        no npm download history
    • 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
    81.5
    × relevance — the keyword is tagged here
    0.60
    × continuity — actively changing
    1.00
    × evidence — widely adopted
    1.00
    Composite score
    48.9
  • Best for: A team with a mixed database stack (MySQL plus Postgres or Redis) that wants a single MCP server with per-connection read-only mode.

    The server exposes 100 tools for querying and managing Postgres, Redis, Elasticsearch, MySQL, MongoDB, and LDAP, with schema inspection, query execution, and health checks. It expects connections to be configured through environment variables or a YAML file, and it loads database drivers on demand, so the needed driver must be installed.

    GitHub stars
    82
    Stars / 30 days
    +82
    npm / typical week
    downloads not counted
    Tools exposed
    100
    Last commit
    today
    Commits / 12 weeks
    31
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 0, 0, 0, 18, 3, 10, 0, 0, 0. 31 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: For giving an LLM read-only access to a MySQL database — it executes only SELECT queries and exposes table schemas.

    The README documents the query tool for executing read-only SQL and table schema resources. Before choosing it, note that it requires Node 18 or newer.

    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
    130
    Tools exposed
    never inspected
    Last commit
    94 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    D
    Tool descriptions
    Not graded
    Score 45.2 — 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
    • Momentum17 / 100 · weight 14%
      • Stars gained, relative to size30
      • Stars gained, absolute11
      • 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
    53.2
    × relevance — the keyword is dedicated here
    1.00
    × continuity — actively changing
    1.00
    × evidence — modest but real audience
    0.85
    Composite score
    45.2
  • Best for: For teams that want AI to operate MySQL without seeing credentials — header-based preconfiguration keeps passwords out of model context while still enabling full CRUD via SQL execution.

    It exposes tools for connection management (add, list, select, remove) and for query and schema inspection (execute_query, show_tables, describe_table, show_databases). It runs as a standalone HTTP server and stores sessions in memory, so a server restart forces MCP clients to reconnect and credentials must be provided via headers or dynamic input.

    GitHub stars
    81
    Stars over the last 90 days: 76 at the earliest of 8 readings and 81 at the latest, up 5.
    Stars / 30 days
    +1
    npm / typical week
    21
    Tools exposed
    never inspected
    Last commit
    246 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    C
    Tool descriptions
    Not graded
    Score 44.2 — show every number behind it
    • Adoption52 / 100 · weight 40%
      • GitHub stars48
      • npm downloads29
      • 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
    • Momentum33 / 100 · weight 14%
      • Stars gained, relative to size26
      • Stars gained, absolute11
      • npm download trend72
    • 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.0
    × relevance — the keyword is dedicated here
    1.00
    × continuity — actively changing
    1.00
    × evidence — modest but real audience
    0.85
    Composite score
    44.2

Questions people ask

How do benborla/mcp-server-mysql and designcomputer/mysql_mcp_server differ?

benborla/mcp-server-mysql is read-only with writes disabled by default, had 96 stars gained per 30 days, 25 commits in the last 12 weeks, and an npm package. designcomputer/mysql_mcp_server exposes 3 tools with a tool description grade of A, had 44 commits in the last 12 weeks, and has no published npm package. Choose benborla for a read-only default and npm install; choose designcomputer if you want a small server with clearly described tools.

Which server should I choose if I need write access to MySQL?

liliangshan/mcp-server-mysql is the one specifically described for controlled DDL and DML, with permission checks and operation logs. Its 5 tools have a tool description grade of B. It had a commit 90 days ago and 0 commits in the last 12 weeks, so be expect it as a stable but quiet option.

Does DBHub only support MySQL?

No. DBHub connects to MySQL, PostgreSQL, SQL Server, and SQLite through one MCP gateway with read-only guardrails. It also works with Claude Desktop, Cursor, and VS Code, so it suits a mixed database stack.

What should I be careful about with f4ww4z/mcp-mysql-server?

It handles both reads and writes, and its 5 exposed tools include connect_db, query, execute, list_tables, and describe_table. Since execute is not read-only, point it at a database where the agent is allowed to make changes. It also had a last commit 279 days ago and 0 commits in the last 12 weeks.

Does MCP MariaDB Server work with MySQL?

MCP MariaDB Server is for managing MariaDB databases, not MySQL specifically. It supports standard SQL and adds vector and embedding-based search. It had a commit 10 days ago and 2 commits in the last 12 weeks; for a MySQL-specific setup, use a MySQL server instead.

What does Abandoned but popular mean for Universal DB MCP?

Universal DB MCP is labeled Abandoned but popular. It had a last commit 156 days ago and 0 commits in the last 12 weeks, but it still has 908 stars, 33 stars gained per 30 days, and 144 downloads in a typical week. Use it if you accept that its upstream is not actively changing.

Other comparisons