Best MySQL & MariaDB MCP servers

Query MySQL or MariaDB in plain language: list tables, describe schemas and run SQL. Use a read-only database user unless you really want the assistant to write. We compared 12 MySQL & MariaDB MCP servers — 12 updated in the last 90 days, 4 with one-click install — ranked by relevance and GitHub stars.

Quick comparison

Top 12 by relevance. Status: maintained = commit in the last 90 days.

ServerStarsStatusUpdatedInstallAPI key
mcp-server-mysqlbenborla★ 2.2kMaintained2 months agoCommandNot mentioned
mysql_mcp_serverdesigncomputer★ 1.4kMaintained2 months agoCommandNot mentioned
dbxt8y2★ 26.4kMaintainedtodayOne-clickLikely
mcp-toolboxgoogleapis★ 16.7kMaintainedyesterdayOne-clickLikely
tabularisTabularisDB★ 5.2kMaintainedtodayCommandLikely
prestprest★ 4.6kMaintainedtodaySee READMENot mentioned
dbhubbytebase★ 3.6kMaintainedtodayOne-clickNot mentioned
FlyEnvxpf0000★ 3.3kMaintainedtodayCommandNot mentioned
GoNaviSyngnat★ 2.1kMaintainedtodayCommandLikely
AgentChatShy2593666979★ 914Maintained2 days agoSee READMELikely
envkit-releasesEnv-Kit★ 551MaintainedtodaySee READMENot mentioned
mcp-alchemyrunekaagaard★ 420Maintained4 days agoOne-clickNot mentioned

All 12 MySQL & MariaDB MCP servers

Showing all 12 servers

mcp-server-mysql

by benborla · JavaScript

A Model Context Protocol server that provides read-only access to MySQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.

DatabasesMaintained2.2k

mysql_mcp_server

by designcomputer · Python

A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases

DatabasesMaintainedRemote1.4k

dbx

by t8y2 · Rust

25 MB lightweight cross-platform database client for 100+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker. | 轻量级跨平台数据库管理工具,支持 MySQL、PostgreSQL、SQLite、Redis、MongoDB、达梦等 100+ 数据库,提供桌面端、Docker、CLI、内置 AI 助手和 MCP。

DatabasesMaintained26.4k

mcp-toolbox

by googleapis · Go

MCP Toolbox for Databases is an open source MCP server for databases.

DatabasesMaintained16.7k

tabularis

by TabularisDB · TypeScript

Open-source desktop SQL workspace with 3 built-in database drivers and 16 shipped plugins, including SQL Server, DuckDB, ClickHouse and Redis. Built-in MCP server for Claude, Cursor and Devin, SQL notebooks and visual EXPLAIN.

DatabasesMaintained5.2k

prest

by prest · Go

Instant REST and MCP APIs for PostgreSQL and MySQL 8, on existing or new databases. CRUD, custom SQL routes, auth and ACL without writing a backend. Low-code, ⚡ realtime, high-performance. Native MySQL support since v2.5.

DatabasesMaintained4.6k

dbhub

by bytebase · TypeScript

Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.

DatabasesMaintained3.6k

FlyEnv

by xpf0000 · TypeScript

Native local development environment for Windows, macOS & Linux. A modern alternative to XAMPP, MAMP, Laragon and Laravel Herd, with runtimes, databases, web servers, local sites, HTTPS, AI coding tools and MCP.

Developer ToolsMaintained3.3k

GoNavi

by Syngnat · TypeScript

High-performance multi-data-source database client — ~30MB, AI & MCP ready, zero Electron bloat. | 高性能多数据源数据库客户端:约 30MB,AI 与 MCP 就绪,告别 Electron 膨胀。

DatabasesMaintainedRemote2.1k

AgentChat

by Shy2593666979 · Python

AgentChat 是一个基于 LLM 的智能体交流平台,内置默认 Agent 并支持用户自定义 Agent。通过多轮对话和任务协作,Agent 可以理解并协助完成复杂任务。项目集成 LangChain、Function Call、MCP 协议、RAG、Memory、HITL、Skill、Milvus 和 ElasticSearch 等技术,实现高效的知识检索与工具调用,使用 FastAPI 构建高性能后端服务。

Agents & OrchestrationMaintained914

envkit-releases

by Env-Kit · Shell

EnvKit — free local development environment for Windows & macOS: nginx/Apache, multiple PHP versions, MySQL/MariaDB, PostgreSQL, Redis, MongoDB, Mailpit, Node.js, trusted .test HTTPS, and a built-in MCP server for AI-assistant control. A Laragon/XAMPP/Herd alternative.

Developer ToolsMaintained551

mcp-alchemy

by runekaagaard · Python

A MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.

DatabasesMaintainedRemote420

MySQL & MariaDB MCP server FAQ

What is the best MySQL & MariaDB MCP server?

Based on GitHub stars and recent activity, mcp-server-mysql by benborla (★ 2.2k, updated 2 months ago) is the most popular actively maintained option on HookMCP, followed by mysql_mcp_server and dbx. The right choice depends on whether you need write access, a hosted (remote) endpoint, or a server that runs locally without an API key.

How do I install a MySQL & MariaDB MCP server in Claude, Cursor or VS Code?

Open the server's page on HookMCP, choose your client tab (Claude Desktop, Cursor, VS Code or Claude Code) and copy the config — 4 of the 12 servers here have one-click install links for Cursor and VS Code. Restart your AI app and the new tools appear automatically.

Do MySQL & MariaDB MCP servers need an API key?

5 of 12 servers here mention API keys or tokens in their README; 7 don't mention any. Check each listing's Details panel, and pass keys as environment variables rather than pasting them into chat.

Related integrations

Or browse by category: Developer Tools, Agents & Orchestration, Databases.