Skip to main content
Glama

20 Best MySQL MCP Servers, Compared (September 2026)

Updated 20 of 533 MySQL servers in the Glama registryRebuilt weekly

The short answer

Most readers should use MCP Server for MySQL (benborla/mcp-server-mysql). It is read-only, so an LLM can inspect schemas and execute read-only queries without write access, and it is active: 23 commits on its default branch in the last 12 weeks, with a last commit 43 days ago. It also publishes an npm package that had 13,885 downloads in a typical week. If you need an agent to write to the database, the better answer is MySQL MCP Server (neverinfamous/mysql-mcp), which exposes read/write query, schema, JSON, transaction, and monitoring tools.

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 analytics on a live MySQL database: it exposes query and schema inspection tools without write access.
  • 2MySQL MCP Server : For AI assistants that need to query and inspect MySQL databases: it exposes SQL execution, schema introspection, and table sampling tools.
  • 3DBHub : Read-only querying across PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite: it exposes execute_sql and search_objects while supporting read-only mode.
  • 4MCP MariaDB Server : Teams needing both relational SQL and vector similarity search in MariaDB, with read-only query enforcement and optional embedding providers.
  • 5DBCode : AI agents in VS Code-family editors needing database access: it exposes an MCP server with schema access and query execution.

Which one, for your situation

Your situationWhat to use
I need read-only access to a live MySQL databaseUse MCP Server for MySQL (benborla/mcp-server-mysql): it exposes query and schema inspection without write access, had 23 commits in the last 12 weeks, and has an npm package.
I need an agent to run writes and transactionsUse MySQL MCP Server (neverinfamous/mysql-mcp): it exposes read/write query, schema, JSON, transaction, and monitoring tools.
I want to query MySQL in plain languageUse XiYan MCP Server: it exposes a get_data tool that converts natural language to SQL, though it had no commits in the last 12 weeks.
I need one MCP server for MySQL and several other databasesUse DBHub: it is for read-only querying across PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite.
I need ad-hoc exploration and editing from a terminalUse whodb-cli: it exposes schema, query, and write tools.

Top MCP servers for MySQL

Best forProfile
1Read-only analytics on a live MySQL database: it exposes query and schema inspection tools without write access.Community favourite2,108+8343 days ago87.7
2For AI assistants that need to query and inspect MySQL databases: it exposes SQL execution, schema introspection, and table sampling tools.Community favourite1,382+3037 days ago82.7
3Read-only querying across PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite: it exposes execute_sql and search_objects while supporting read-only mode.Community favourite3,480+167today70.0
4Teams needing both relational SQL and vector similarity search in MariaDB, with read-only query enforcement and optional embedding providers.Emerging201+1429 days ago67.5
5AI agents in VS Code-family editors needing database access: it exposes an MCP server with schema access and query execution.Community favourite345+21today60.4
6Teams running AI assistants against several SQL databases at once: it exposes per-database query, execute, transaction, schema, and performance tools.Community favourite420+1115 days ago58.8
7Database management across many engines from an MCP client: it exposes natural language query and management tools.Community favourite18,438+3,644today57.5
8Interactive SQL administration of a MySQL database from an MCP client: it exposes query, schema-inspection, permission-checking, and logging tools.Abandoned but popular140109 days ago57.0
9Operational work on a live MySQL database: it exposes read/write query, schema, JSON, transaction, and monitoring tools through MCP.Steady10+221 days ago54.6
10Connecting AI agents and IDEs to Google Cloud databases: it provides prebuilt generic tools and a framework for custom database tools.Community favourite16,332+192today54.4
11Querying and analyzing data across multiple database types via natural language, with a read-only mode for safety.Abandoned but popular926+22175 days ago53.5
12Ad-hoc exploration and editing of a database through an AI assistant: it exposes schema, query, and write tools.Community favourite5,020+19today52.7
13Organizations that want AI agents to query databases and APIs through a single GraphQL and MCP endpoint, using its built-in agent for validated, policy-aware access.Community favourite3,162+292 days ago51.8
14Managing Prisma Postgres databases through an MCP server, since that is the task this server's interface is built around.Community favourite47,609+56today51.4
15For using AI models to query and modify a MySQL database safely, this server exposes five tools for connections, queries, and schema inspection.Abandoned but popular1680298 days ago48.9
16Teams needing one MCP server across several database engines: it exposes tools for Postgres, Redis, Elasticsearch, MySQL, MongoDB, and LDAP.Emerging82+825 days ago48.3
17Read-only schema discovery and SELECT queries against a MySQL database: it exposes a query tool and table schema resources.Dormant140113 days ago43.5
18MySQL users who want to query by asking plain-language questions: it exposes a get_data tool that converts natural language to SQL. For text-to-SQL queries, it is a strong choice.Abandoned but popular242+1209 days ago43.1
19Database developers and admins who need to query, modify, and alter a MySQL schema from an AI assistant: it exposes query, write, and DDL tools.Dormant330239 days ago40.7
20Managing multiple MySQL connections from an AI assistant: it exposes tools to add, select, and remove connections plus SQL execution.Dormant810266 days ago40.4

The ranking, with the evidence

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

  • Abandoned but popular: People use it, but its default branch has stopped moving. Fine to keep running, risky to adopt.
  • Community favourite: Widely adopted and still actively maintained.
  • Dormant: Neither changing nor widely adopted. Here because it still matches the search.
  • Emerging: Small audience, growing quickly, maintained. The bet with the most upside.
  • Steady: Maintained, modest audience, no surprises in either direction.
  • Best for: Read-only analytics on a live MySQL database: it exposes query and schema inspection tools without write access.

    The server provides a mysql_query tool for executing SQL and a mysql://tables resource for listing tables and column metadata, with write operations off by default. It requires Node.js 20 or newer and a MySQL 5.7+ instance.

    GitHub stars
    2,108
    Stars over the last 90 days: 1,828 at the earliest of 9 readings and 2,108 at the latest, up 280.
    Stars / 30 days
    +83
    npm / typical week
    13.9K
    Tools exposed
    never inspected
    Last commit
    43 days ago
    Commits / 12 weeks
    23
    Weekly commits over the last 12 weeks, oldest first: 16, 2, 1, 0, 0, 0, 4, 0, 0, 0, 0, 0. 23 in total, and the last figure is the current week so far.
    Maintenance grade
    C
    Tool descriptions
    Not graded
    Score 87.7: 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
    • Maintenance86 / 100 · weight 24%
      • Last commit touching this server100
      • Repository maintenance grade55
      • Commit cadence85
    • Momentum67 / 100 · weight 14%
      • Stars gained, relative to size79
      • Stars gained, absolute78
      • npm download trend32
    • Tool quality68 / 100 · weight 13%
      • Tool description quality68
        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
    87.7
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    87.7
  • Best for: For AI assistants that need to query and inspect MySQL databases: it exposes SQL execution, schema introspection, and table sampling tools.

    The server exposes three tools: execute_sql for running SQL statements, get_schema_info for column metadata, and get_table_sample for previewing rows. Before choosing it, note that it accepts only single SQL statements and does not support multi-statement queries.

    GitHub stars
    1,382
    Stars over the last 90 days: 1,295 at the earliest of 79 readings and 1,382 at the latest, up 87.
    Stars / 30 days
    +30
    npm / typical week
    Ships no npm package
    Tools exposed
    3
    Last commit
    37 days ago
    Commits / 12 weeks
    8
    Weekly commits over the last 12 weeks, oldest first: 3, 0, 0, 0, 0, 0, 5, 0, 0, 0, 0, 0. 8 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    A
    Score 82.7: show every number behind it
    • Adoption79 / 100 · weight 40%
      • GitHub stars79
      • npm downloadsnot measured
        no npm package
      • 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
    • Momentum59 / 100 · weight 14%
      • Stars gained, relative to size58
      • Stars gained, absolute60
      • npm download trendnot measured
        no npm download history
    • Tool quality91 / 100 · weight 13%
      • Tool description quality83
      • Built and inspected by Glama100
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not published by the vendor it integrates
    Weighted mean of the five
    82.7
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    82.7
  • 3

    DBHub

    Community favouriteNo change
    bytebase/dbhub

    Best for: Read-only querying across PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite: it exposes execute_sql and search_objects while supporting read-only mode.

    DBHub is an MCP server that connects to five database engines and exposes tools for executing SQL, searching schema objects, explaining queries, and checking health. Note that it requires Node.js 22.5.0 or newer, as it relies on the built-in node:sqlite module.

    GitHub stars
    3,480
    Stars over the last 90 days: 3,013 at the earliest of 14 readings and 3,480 at the latest, up 467.
    Stars / 30 days
    +167
    npm / typical week
    downloads not counted
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    76
    Weekly commits over the last 12 weeks, oldest first: 0, 10, 1, 6, 9, 3, 34, 2, 1, 4, 0, 6. 76 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 70.0: 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 size89
      • Stars gained, absolute90
      • npm download trendnot measured
        no npm download history
    • Tool quality68 / 100 · weight 13%
      • Tool description quality68
        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.7
    × relevance: the keyword is declared here
    0.78
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    70.0
  • Best for: Teams needing both relational SQL and vector similarity search in MariaDB, with read-only query enforcement and optional embedding providers.

    This server exposes tools for database and schema inspection, read-only SQL execution, database creation, and optional vector store management with embedding providers. Note that the vector store tools require configuring an embedding provider such as OpenAI, Gemini, or HuggingFace.

    GitHub stars
    201
    Stars over the last 90 days: 177 at the earliest of 8 readings and 201 at the latest, up 24.
    Stars / 30 days
    +14
    npm / typical week
    Ships no npm package
    Tools exposed
    never inspected
    Last commit
    29 days ago
    Commits / 12 weeks
    2
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 0, 0, 0, 0, 2, 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 67.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
    • Momentum70 / 100 · weight 14%
      • Stars gained, relative to size84
      • Stars gained, absolute48
      • npm download trendnot measured
        no npm download history
    • Tool quality68 / 100 · weight 13%
      • Tool description quality68
        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
    67.5
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    67.5
  • 5

    DBCode

    Community favouriteNo change
    dbcodeio/public

    Best for: AI agents in VS Code-family editors needing database access: it exposes an MCP server with schema access and query execution.

    It runs an MCP server that gives AI agents access to connected databases, their schemas, and query execution. It is packaged as a VS Code extension, so agents reach the MCP tools through VS Code, Cursor, Antigravity, Windsurf, Kiro, or the DBCode: Connect an AI Agent command.

    GitHub stars
    345
    Stars over the last 90 days: 304 at the earliest of 32 readings and 346 at the latest, up 42.
    Stars / 30 days
    +21
    npm / typical week
    downloads not counted
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    68
    Weekly commits over the last 12 weeks, oldest first: 3, 2, 3, 1, 3, 19, 7, 5, 2, 4, 11, 8. 68 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 60.4: show every number behind it
    • Adoption63 / 100 · weight 40%
      • GitHub stars63
      • npm downloadsnot measured
        npm names no repository for dbcode, so its downloads cannot be attributed
      • Used through Glamanot measured
        not used through Glama in the last 30 days
    • Maintenance100 / 100 · weight 24%
      • Last commit touching this server100
      • Repository maintenance grade100
      • Commit cadence100
    • Momentum73 / 100 · weight 14%
      • Stars gained, relative to size86
      • Stars gained, absolute54
      • npm download trendnot measured
        no npm download history
    • Tool quality68 / 100 · weight 13%
      • Tool description quality68
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never built and inspected by Glama
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not published by the vendor it integrates
    Weighted mean of the five
    77.4
    × relevance: the keyword is declared here
    0.78
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    60.4
  • Best for: Teams running AI assistants against several SQL databases at once: it exposes per-database query, execute, transaction, schema, and performance tools.

    It generates a distinct set of query, execute, transaction, schema, and performance tools for each configured database connection, with per-database guards for read-only access, row limits, masking, and query timeouts. It is distributed as a Go module, so an installer should expect to build or fetch a Go binary rather than install an npm package.

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

    dbx

    Community favourite 1
    t8y2/dbx

    Best for: Database management across many engines from an MCP client: it exposes natural language query and management tools.

    DBX is an MCP server that lets clients query and manage databases through natural language. Its README does not enumerate the MCP tools it exposes, so the exact tool set is unknown until run.

    GitHub stars
    18,438
    Stars over the last 90 days: 12,562 at the earliest of 26 readings and 18,438 at the latest, up 5,876.
    Stars / 30 days
    +3,644
    npm / typical week
    downloads not counted
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    4,169
    Weekly commits over the last 12 weeks, oldest first: 232, 356, 334, 354, 365, 325, 377, 325, 431, 386, 297, 387. 4,169 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 57.5: show every number behind it
    • Adoption100 / 100 · weight 40%
      • GitHub stars100
      • npm downloadsnot measured
        npm publishes dbx from samt/node-dbx
      • Used through Glamanot measured
        not used through Glama in the last 30 days
    • Maintenance100 / 100 · weight 24%
      • Last commit touching this server100
      • Repository maintenance grade100
      • Commit cadence100
    • Momentum100 / 100 · weight 14%
      • Stars gained, relative to size100
      • Stars gained, absolute100
      • npm download trendnot measured
        no npm download history
    • Tool quality68 / 100 · weight 13%
      • Tool description quality68
        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.8
    × relevance: the keyword is tagged here
    0.60
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    57.5
  • Best for: Interactive SQL administration of a MySQL database from an MCP client: it exposes query, schema-inspection, permission-checking, and logging tools.

    The server exposes five MCP tools for running SQL DDL/DML queries, retrieving database information, checking permissions, and reading operation and DDL logs. Before choosing it, note that it expects MySQL connection details to be supplied as environment variables.

    GitHub stars
    14
    Stars / 30 days
    0
    npm / typical week
    333
    Tools exposed
    5
    Last commit
    109 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    C
    Tool descriptions
    B
    Score 57.0: 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
    • Momentum10 / 100 · weight 14%
      • Stars gained, relative to size0
      • Stars gained, absolute0
      • npm download trend41
    • 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.0
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    57.0
  • Best for: Operational work on a live MySQL database: it exposes read/write query, schema, JSON, transaction, and monitoring tools through MCP.

    The server exposes MCP tools for MySQL read and write queries, table and schema operations, indexes, transactions, JSON manipulation, and resources for schema, status, processlist, and performance. Before choosing it, note that it includes write and schema-altering tools, so it is not read-only.

    GitHub stars
    10
    Stars over the last 90 days: 6 at the earliest of 15 readings and 10 at the latest, up 4.
    Stars / 30 days
    +2
    npm / typical week
    84
    Tools exposed
    43
    Last commit
    21 days ago
    Commits / 12 weeks
    2,585
    Weekly commits over the last 12 weeks, oldest first: 3, 3, 2, 293, 514, 526, 587, 400, 253, 4, 0, 0. 2,585 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    B
    Score 54.6: 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
    • Momentum36 / 100 · weight 14%
      • Stars gained, relative to size48
      • Stars gained, absolute20
      • 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
    64.2
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: modest but real audience
    0.85
    Composite score
    54.6
  • Best for: Connecting AI agents and IDEs to Google Cloud databases: it provides prebuilt generic tools and a framework for custom database tools.

    The server exposes prebuilt generic tools for direct database interaction and doubles as a framework for building custom tools with structured queries, semantic search, and NL2SQL. It targets Google Cloud database services, which are the supported set listed in its documentation.

    GitHub stars
    16,332
    Stars over the last 90 days: 15,643 at the earliest of 52 readings and 16,341 at the latest, up 698.
    Stars / 30 days
    +192
    npm / typical week
    Ships no npm package
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    250
    Weekly commits over the last 12 weeks, oldest first: 38, 16, 9, 15, 19, 33, 18, 12, 25, 13, 29, 21. 248 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 54.4: 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
    • Momentum63 / 100 · weight 14%
      • Stars gained, relative to size44
      • Stars gained, absolute92
      • npm download trendnot measured
        no npm download history
    • Tool quality68 / 100 · weight 13%
      • Tool description quality68
        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.7
    × relevance: the keyword is tagged here
    0.60
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    54.4
  • Best for: Querying and analyzing data across multiple database types via natural language, with a read-only mode for safety.

    The server exposes MCP and HTTP interfaces for natural-language querying and schema analysis across supported databases. It assumes a Node.js runtime, as it is installed and launched through npm.

    GitHub stars
    926
    Stars over the last 90 days: 841 at the earliest of 9 readings and 926 at the latest, up 85.
    Stars / 30 days
    +22
    npm / typical week
    130
    Tools exposed
    never inspected
    Last commit
    175 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    C
    Tool descriptions
    Not graded
    Score 53.5: 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
    • Maintenance52 / 100 · weight 24%
      • Last commit touching this server68
      • Repository maintenance grade55
      • Commit cadence5
    • Momentum43 / 100 · weight 14%
      • Stars gained, relative to size58
      • Stars gained, absolute55
      • npm download trend0
    • Tool quality68 / 100 · weight 13%
      • Tool description quality68
        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
    68.6
    × relevance: the keyword is declared here
    0.78
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    53.5
  • 12

    whodb-cli

    Community favouriteNo change
    clidey/whodb

    Best for: Ad-hoc exploration and editing of a database through an AI assistant: it exposes schema, query, and write tools.

    The server exposes 12 tools for running SQL, inspecting schemas and tables, explaining query plans, and confirming writes. It lists existing database connections but does not include a tool for creating or managing them.

    GitHub stars
    5,020
    Stars over the last 90 days: 4,858 at the earliest of 50 readings and 5,022 at the latest, up 164.
    Stars / 30 days
    +19
    npm / typical week
    Ships no npm package
    Tools exposed
    12
    Last commit
    today
    Commits / 12 weeks
    601
    Weekly commits over the last 12 weeks, oldest first: 140, 38, 35, 66, 66, 43, 45, 46, 35, 60, 17, 8. 599 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    A
    Score 52.7: 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 size25
      • Stars gained, absolute52
      • 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
    87.8
    × relevance: the keyword is tagged here
    0.60
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    52.7
  • 13

    GraphJin

    Community favouriteNo change
    dosco/graphjin

    Best for: Organizations that want AI agents to query databases and APIs through a single GraphQL and MCP endpoint, using its built-in agent for validated, policy-aware access.

    GraphJin exposes GraphQL and MCP interfaces that compile natural-language agent instructions into queries across databases, warehouses, files, and other systems, and it includes a built-in agent that performs discovery before acting. It can run as a standalone service or Docker image and expects a model API key for the agentic mode.

    GitHub stars
    3,162
    Stars over the last 90 days: 3,082 at the earliest of 37 readings and 3,162 at the latest, up 80.
    Stars / 30 days
    +29
    npm / typical week
    518
    Tools exposed
    never inspected
    Last commit
    2 days ago
    Commits / 12 weeks
    496
    Weekly commits over the last 12 weeks, oldest first: 3, 2, 3, 28, 12, 30, 28, 57, 121, 92, 116, 4. 496 in total, and the last figure is the current week so far.
    Maintenance grade
    A
    Tool descriptions
    Not graded
    Score 51.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
    • Momentum56 / 100 · weight 14%
      • Stars gained, relative to size38
      • Stars gained, absolute59
      • npm download trend86
    • Tool quality68 / 100 · weight 13%
      • Tool description quality68
        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
    86.3
    × relevance: the keyword is tagged here
    0.60
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    51.8
  • 14

    Prisma MCP Server

    Community favouriteNo change
    prisma/orm

    Best for: Managing Prisma Postgres databases through an MCP server, since that is the task this server's interface is built around.

    The server exposes an MCP interface for managing Prisma Postgres databases. Its README documents Prisma Next, a TypeScript rewrite of Prisma ORM, and does not list the server's tools.

    GitHub stars
    47,609
    Stars over the last 90 days: 46,407 at the earliest of 29 readings and 47,600 at the latest, up 1,193.
    Stars / 30 days
    +56
    npm / typical week
    downloads not counted
    Tools exposed
    never inspected
    Last commit
    today
    Commits / 12 weeks
    353
    Weekly commits over the last 12 weeks, oldest first: 13, 16, 17, 33, 42, 35, 36, 41, 66, 28, 15, 8. 350 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
    • Momentum37 / 100 · weight 14%
      • Stars gained, relative to size14
      • Stars gained, absolute71
      • npm download trendnot measured
        no npm download history
    • Tool quality68 / 100 · weight 13%
      • Tool description quality68
        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
  • 15

    mcp-mysql-server

    Abandoned but popularNo change
    f4ww4z/mcp-mysql-server

    Best for: For using AI models to query and modify a MySQL database safely, this server exposes five tools for connections, queries, and schema inspection.

    This server gives AI models access to a MySQL database through five tools: connect_db, query, execute, list_tables, and describe_table. The main setup requirement is a MySQL connection string and a Node.js runtime to run via npx.

    GitHub stars
    168
    Stars over the last 90 days: 162 at the earliest of 78 readings and 168 at the latest, up 6.
    Stars / 30 days
    0
    npm / typical week
    396
    Tools exposed
    5
    Last commit
    298 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    F
    Tool descriptions
    B
    Score 48.9: 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.9
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    48.9
  • Best for: Teams needing one MCP server across several database engines: it exposes tools for Postgres, Redis, Elasticsearch, MySQL, MongoDB, and LDAP.

    It exposes connection status and config reload tools, plus Postgres tools for querying, schema inspection, and write SQL, and Redis tools for key operations. Note that the package exposes 100 tools, fewer than its README advertises.

    GitHub stars
    82
    Stars / 30 days
    +82
    npm / typical week
    downloads not counted
    Tools exposed
    100
    Last commit
    5 days ago
    Commits / 12 weeks
    43
    Weekly commits over the last 12 weeks, oldest first: 0, 0, 0, 15, 3, 3, 16, 0, 0, 5, 0, 1. 43 in total, and the last figure is the current week so far.
    Maintenance grade
    B
    Tool descriptions
    A
    Score 48.3: show every number behind it
    • Adoption48 / 100 · weight 40%
      • GitHub stars48
      • npm downloadsnot measured
        npm publishes mcp-server-db from Nam088/mcp-database-server-v2
      • Used through Glamanot measured
        not used through Glama in the last 30 days
    • Maintenance95 / 100 · weight 24%
      • Last commit touching this server100
      • Repository maintenance grade80
      • Commit cadence100
    • Momentum91 / 100 · weight 14%
      • Stars gained, relative to size100
      • Stars gained, absolute77
      • npm download trendnot measured
        no npm download history
    • Tool quality71 / 100 · weight 13%
      • Tool description quality63
      • Built and inspected by Glama100
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not published by the vendor it integrates
    Weighted mean of the five
    72.9
    × relevance: the keyword is declared here
    0.78
    × continuity: actively changing
    1.00
    × evidence: modest but real audience
    0.85
    Composite score
    48.3
  • Best for: Read-only schema discovery and SELECT queries against a MySQL database: it exposes a query tool and table schema resources.

    The server exposes a query tool for read-only SQL and table schema resources discovered from database metadata. It requires Node.js v18 or newer and is configured with a MySQL connection string.

    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
    130
    Tools exposed
    never inspected
    Last commit
    113 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    D
    Tool descriptions
    Not graded
    Score 43.5: 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 quality68 / 100 · weight 13%
      • Tool description quality68
        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
    51.2
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: modest but real audience
    0.85
    Composite score
    43.5
  • Best for: MySQL users who want to query by asking plain-language questions: it exposes a get_data tool that converts natural language to SQL. For text-to-SQL queries, it is a strong choice.

    The README documents a get_data tool that turns natural language into SQL and returns query results, plus resources that list databases and sample table contents. It requires Python 3.11+, and the default remote mode needs an API key for the XiYanSQL model, though a local mode is available.

    GitHub stars
    242
    Stars over the last 90 days: 236 at the earliest of 9 readings and 242 at the latest, up 6.
    Stars / 30 days
    +1
    npm / typical week
    Ships no npm package
    Tools exposed
    never inspected
    Last commit
    209 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    D
    Tool descriptions
    Not graded
    Score 43.1: 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
    • Momentum19 / 100 · weight 14%
      • Stars gained, relative to size23
      • Stars gained, absolute14
      • npm download trendnot measured
        no npm download history
    • Tool quality68 / 100 · weight 13%
      • Tool description quality68
        tool descriptions not yet scored
      • Built and inspected by Glamanot measured
        never built and inspected by Glama
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not published by the vendor it integrates
    Weighted mean of the five
    55.3
    × relevance: the keyword is declared here
    0.78
    × continuity: actively changing
    1.00
    × evidence: widely adopted
    1.00
    Composite score
    43.1
  • Best for: Database developers and admins who need to query, modify, and alter a MySQL schema from an AI assistant: it exposes query, write, and DDL tools.

    The server exposes tools for connecting to a MySQL database, running SELECT and write queries, and managing tables, columns, indexes, and foreign keys. It requires an existing MySQL connection with credentials and can perform both data changes and schema modifications.

    GitHub stars
    33
    Stars over the last 90 days: 32 at the earliest of 8 readings and 33 at the latest, up 1.
    Stars / 30 days
    0
    npm / typical week
    91
    Tools exposed
    7
    Last commit
    239 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    D
    Tool descriptions
    B
    Score 40.7: show every number behind it
    • Adoption48 / 100 · weight 40%
      • GitHub stars38
      • npm downloads42
      • Used through Glamanot measured
        not used through Glama in the last 30 days
    • Maintenance46 / 100 · weight 24%
      • Last commit touching this server68
      • Repository maintenance grade30
      • Commit cadence5
    • Momentum0 / 100 · weight 14%
      • Stars gained, relative to size0
      • Stars gained, absolute0
      • npm download trend0
    • Tool quality68 / 100 · weight 13%
      • Tool description quality60
      • Built and inspected by Glama100
    • Trust100 / 100 · weight 9%
      • License100
      • Published by the vendor it integratesnot measured
        not published by the vendor it integrates
    Weighted mean of the five
    47.9
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: modest but real audience
    0.85
    Composite score
    40.7
  • Best for: Managing multiple MySQL connections from an AI assistant: it exposes tools to add, select, and remove connections plus SQL execution.

    The server exposes connection-management tools (add_connection, list_connections, select_database, remove_connection) and SQL tools (execute_query, show_tables, describe_table, show_databases) over the StreamableHTTP MCP protocol. It keeps session state in memory, so restarting the server requires reinitializing the MCP client.

    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
    Tools exposed
    never inspected
    Last commit
    266 days ago
    Commits / 12 weeks
    0
    Maintenance grade
    C
    Tool descriptions
    Not graded
    Score 40.4: 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 quality68 / 100 · weight 13%
      • Tool description quality68
        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.5
    × relevance: the keyword is dedicated here
    1.00
    × continuity: actively changing
    1.00
    × evidence: modest but real audience
    0.85
    Composite score
    40.4

Questions people ask

Does MCP Server for MySQL allow writes?

No. It is read-only: its tools let an LLM inspect schemas and execute read-only queries, without write access. For write operations, use a server such as MySQL MCP Server (neverinfamous/mysql-mcp), which exposes read/write query, schema, JSON, transaction, and monitoring tools.

Which MCP server has the most tools?

mcp-server-db exposed 100 tools. Those tools cover Postgres, Redis, Elasticsearch, MySQL, MongoDB, and LDAP, so not all of them are MySQL-specific. Among MySQL-focused servers, MySQL MCP Server (neverinfamous/mysql-mcp) exposed 43 tools.

Is XiYan MCP Server actively maintained?

XiYan MCP Server is marked Abandoned but popular. Its last commit was 209 days ago and it had 0 commits in the last 12 weeks, so it is not receiving regular maintenance. It still exposes a get_data tool that converts natural language to SQL, but review it carefully before pointing it at a live database.

How do DBHub and Multi Database MCP Server differ?

DBHub is for read-only querying across PostgreSQL, MySQL, MariaDB, SQL Server, and SQLite. Multi Database MCP Server supports MySQL and PostgreSQL and exposes per-database query, execute, transaction, schema, and performance tools. Choose DBHub for read-only multi-engine access, and Multi Database MCP Server when you need transactions and execution across MySQL and PostgreSQL.

Other comparisons