10 picks · ranked by GitHub stars
Best MCP servers for databases
The best MCP servers for databases are Dbx, DBHub and LINQ to DB; Dbx leads with 27,979 GitHub stars.
The list covers 51 MCP servers in the appsgit catalog, one entry per repository.
Updated · data from GitHub, refreshed daily
Top picks
- Rank 1:
Dbx
t8y2/dbx
Query databases from AI agents using connections configured in DBX.
Active · last commit Oct 28, 2026
DatabasesRustStands out for the most GitHub stars. Dbx has 27,979 GitHub stars and runs without an API key.
- Rank 2:
DBHub
bytebase/dbhub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite.
Active · last commit Oct 26, 2026
DatabasesTypeScriptStands out for a permissive MIT license. DBHub has 3,741 GitHub stars and needs an API key or token.
- Rank 3:
LINQ to DB
linq2db/linq2db
Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
Active · last commit Oct 28, 2026
DatabasesC#Stands out for running without an API key. LINQ to DB has 3,336 GitHub stars and runs without an API key.
At a glance
MCP servers for databases compared
Ranked by GitHub stars, at most one entry per repository so one project cannot fill the list. Only projects that are MCP servers: listed in the official MCP registry, or described or tagged as an MCP server by the project itself. MCP clients and AI agents that merely support MCP are left out.
| App | Stands out for | License | GitHub stars | Last commit | API key |
|---|---|---|---|---|---|
| Dbx | the most GitHub stars | Apache-2.0 | 27,979 | Oct 28, 2026 | Not needed |
| DBHub | a permissive MIT license | MIT | 3,741 | Oct 26, 2026 | Needed |
| LINQ to DB | running without an API key | MIT | 3,336 | Oct 28, 2026 | Not needed |
| Butterbase AI MCP Server | a permissive Apache-2.0 license | Apache-2.0 | 3,031 | Oct 27, 2026 | Needed |
| Supabase | being published by the vendor itself | Apache-2.0 | 2,982 | Oct 27, 2026 | Needed |
| Mindwtr | – | AGPL-3.0 | 2,336 | Oct 28, 2026 | Needed |
| MCP Server MySQL | – | MIT | 2,186 | Jul 27, 2026 | Not needed |
| MCP Memory Service | – | Apache-2.0 | 2,052 | Oct 28, 2026 | Not needed |
| Pg Aiguide | – | Apache-2.0 | 1,879 | Oct 22, 2026 | Needed |
| MySQL MCP Server | – | MIT | 1,403 | Aug 2, 2026 | Needed |
Full ranking
All 10 picks, ranked
Ranked by GitHub stars, at most one entry per repository so one project cannot fill the list. Only projects that are MCP servers: listed in the official MCP registry, or described or tagged as an MCP server by the project itself. MCP clients and AI agents that merely support MCP are left out.
- 1
Dbxt8y2/dbx
Query databases from AI agents using connections configured in DBX.
RustStands out for the most GitHub stars. Dbx has 27,979 GitHub stars and runs without an API key.
- 2
DBHubbytebase/dbhub
Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite.
TypeScriptStands out for a permissive MIT license. DBHub has 3,741 GitHub stars and needs an API key or token.
- 3
LINQ to DBlinq2db/linq2db
Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.
C#Stands out for running without an API key. LINQ to DB has 3,336 GitHub stars and runs without an API key.
- 4
Butterbase AI MCP Serverbutterbase-ai/butterbase
Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.
TypeScriptStands out for a permissive Apache-2.0 license. Butterbase AI MCP Server has 3,031 GitHub stars and needs an API key or token.
- 5
Supabasesupabase/mcp
MCP server for interacting with the Supabase platform.
TypeScriptStands out for being published by the vendor itself. Supabase has 2,982 GitHub stars, is published by the vendor itself and needs an API key or token.
- 6
Mindwtrdongdongbh/Mindwtr
Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.
TypeScriptMindwtr has 2,336 GitHub stars and needs an API key or token.
- 7
MCP Server MySQLbenborla/mcp-server-mysql
A Model Context Protocol server that provides read-only access to MySQL databases.
JavaScriptMCP Server MySQL has 2,186 GitHub stars and runs without an API key.
- 8
MCP Memory Servicedoobidoo/mcp-memory-service
Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude.
PythonMCP Memory Service has 2,052 GitHub stars and runs without an API key.
- 9
Pg Aiguidetimescale/pg-aiguide
Comprehensive PostgreSQL documentation and best practices, including ecosystem tools.
PythonPg Aiguide has 1,879 GitHub stars and needs an API key or token.
- 10
MySQL MCP Serverdesigncomputer/mysql_mcp_server
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases.
PythonMySQL MCP Server has 1,403 GitHub stars and needs an API key or token.
Do these MCP servers need an API key?
6 of the 10 picks need an API key or token, for example DBHub; 4 run without one. Each page on appsgit lists the environment variables a MCP server expects.
Which AI clients work with these MCP servers?
Claude Code (all), Claude Desktop (all), Cursor (all) and VS Code (all). The client list comes from each project's published transport and package data; appsgit does not guess it.
Are any of these MCP servers official?
Yes: Supabase is published by the vendor itself.
How is this list ranked?
Ranked by GitHub stars, at most one entry per repository so one project cannot fill the list. Only projects that are MCP servers: listed in the official MCP registry, or described or tagged as an MCP server by the project itself. MCP clients and AI agents that merely support MCP are left out.
The weekly digest
New self-hosted apps, every week
Fresh releases, rising projects and one deploy guide a week. Join home labbers and engineers who self-host.