Skip to content
appsgit

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

  1. Rank 1:

    Dbx

    t8y2/dbx

    Query databases from AI agents using connections configured in DBX.

    Active · last commit Oct 28, 2026

    DatabasesRust

    Stands out for the most GitHub stars. Dbx has 27,979 GitHub stars and runs without an API key.

  2. Rank 2:

    DBHub

    bytebase/dbhub

    Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite.

    Active · last commit Oct 26, 2026

    DatabasesTypeScript

    Stands out for a permissive MIT license. DBHub has 3,741 GitHub stars and needs an API key or token.

  3. 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.

Top 10 picks compared, data as of Oct 28, 2026
AppStands out forLicenseGitHub starsLast commitAPI key
Dbxthe most GitHub starsApache-2.027,979Oct 28, 2026Not needed
DBHuba permissive MIT licenseMIT3,741Oct 26, 2026Needed
LINQ to DBrunning without an API keyMIT3,336Oct 28, 2026Not needed
Butterbase AI MCP Servera permissive Apache-2.0 licenseApache-2.03,031Oct 27, 2026Needed
Supabasebeing published by the vendor itselfApache-2.02,982Oct 27, 2026Needed
Mindwtr–AGPL-3.02,336Oct 28, 2026Needed
MCP Server MySQL–MIT2,186Jul 27, 2026Not needed
MCP Memory Service–Apache-2.02,052Oct 28, 2026Not needed
Pg Aiguide–Apache-2.01,879Oct 22, 2026Needed
MySQL MCP Server–MIT1,403Aug 2, 2026Needed

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. 1

    Dbx

    Query databases from AI agents using connections configured in DBX.

    Stands out for the most GitHub stars. Dbx has 27,979 GitHub stars and runs without an API key.

  2. 2

    DBHub

    Token-efficient database MCP server for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, SQLite.

    Stands out for a permissive MIT license. DBHub has 3,741 GitHub stars and needs an API key or token.

  3. 3

    LINQ to DB

    Inspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.

    Stands out for running without an API key. LINQ to DB has 3,336 GitHub stars and runs without an API key.

  4. 4

    Butterbase AI MCP Server

    Butterbase MCP server — manage your backend: schemas, auth, functions, storage, RAG, deploys.

    Stands 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. 5

    Supabase

    MCP server for interacting with the Supabase platform.

    Stands 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. 6

    Mindwtr

    Task automation via SQLite, desktop Local API, or Mindwtr Cloud; read-only by default.

    Mindwtr has 2,336 GitHub stars and needs an API key or token.

  7. 7

    MCP Server MySQL

    A Model Context Protocol server that provides read-only access to MySQL databases.

    MCP Server MySQL has 2,186 GitHub stars and runs without an API key.

  8. 8

    MCP Memory Service

    Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude.

    MCP Memory Service has 2,052 GitHub stars and runs without an API key.

  9. 9

    Pg Aiguide

    Comprehensive PostgreSQL documentation and best practices, including ecosystem tools.

    Pg Aiguide has 1,879 GitHub stars and needs an API key or token.

  10. 10

    MySQL MCP Server

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

    MySQL MCP Server has 1,403 GitHub stars and needs an API key or token.

FAQ

Questions and answers

Still curious? Email info@appsgit.com.

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.

One email a week. No spam, unsubscribe anytime.