Skip to content
appsgit

10 picks · ranked by GitHub stars

Best MCP servers for databases

The best MCP servers for databases are Dbx, Butterbase AI MCP Server and DBHub, ranked by GitHub stars; Dbx leads with 24,945 stars. The list covers 45 MCP servers in the appsgit catalog, one entry per repository.

Updated · data from GitHub, refreshed nightly

Top picks

  1. Rank 1:

    Dbx

    t8y2/dbx

    Query databases from AI agents using connections configured in DBX.

    DatabasesRust

    Dbx has 24,945 GitHub stars, runs without an API key, is written in Rust and was last updated in October 2026.

  2. Rank 2:

    Butterbase AI MCP Server

    butterbase-ai/butterbase

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

    DatabasesTypeScript

    Butterbase AI MCP Server has 3,686 GitHub stars, needs an API key or token, is written in TypeScript and was last updated in October 2026.

  3. Rank 3:

    DBHub

    bytebase/dbhub

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

    DatabasesTypeScript

    DBHub has 3,610 GitHub stars, needs an API key or token, is written in TypeScript and was last updated in October 2026.

Full ranking

All 10 picks, ranked

Ranked by GitHub stars and recent activity. Open any pick for live stats and licence details.

  1. 1

    Dbx

    Query databases from AI agents using connections configured in DBX.

    Dbx has 24,945 GitHub stars, runs without an API key, is written in Rust and was last updated in October 2026.

  2. 2

    Butterbase AI MCP Server

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

    Butterbase AI MCP Server has 3,686 GitHub stars, needs an API key or token, is written in TypeScript and was last updated in October 2026.

  3. 3

    DBHub

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

    DBHub has 3,610 GitHub stars, needs an API key or token, is written in TypeScript and was last updated in October 2026.

  4. 4

    LINQ to DB

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

    LINQ to DB has 3,332 GitHub stars, runs without an API key, is written in C# and was last updated in October 2026.

  5. 5

    Mindwtr

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

    Mindwtr has 2,211 GitHub stars, needs an API key or token, is written in TypeScript and was last updated in October 2026.

  6. 6

    MCP Memory Service

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

    MCP Memory Service has 1,988 GitHub stars, runs without an API key, is written in Python and was last updated in October 2026.

  7. 7

    Pg Aiguide

    Comprehensive PostgreSQL documentation and best practices, including ecosystem tools.

    Pg Aiguide has 1,857 GitHub stars, needs an API key or token, is written in Python and was last updated in September 2026.

  8. 8

    MySQL MCP Server

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

    MySQL MCP Server has 1,398 GitHub stars, needs an API key or token, is written in Python and was last updated in August 2026.

  9. 9

    MongoDB MCP Server

    MongoDB Model Context Protocol Server.

    MongoDB MCP Server has 1,140 GitHub stars, needs an API key or token, is written in TypeScript and was last updated in October 2026.

  10. 10

    CloudBase

    CloudBase MCP: DB, functions, storage, hosting via @cloudbase/cloudbase-mcp.

    CloudBase has 1,132 GitHub stars, runs without an API key, is written in TypeScript and was last updated in October 2026.

FAQ

Questions and answers

Still curious? Email info@appsgit.com.

What are the best MCP servers for databases?

The best MCP servers for databases are Dbx, Butterbase AI MCP Server and DBHub, ranked by GitHub stars; Dbx leads with 24,945 stars. The list covers 45 MCP servers in the appsgit catalog, one entry per repository.

Do these MCP servers need an API key?

6 of the 10 picks need an API key or token, for example Butterbase AI MCP Server; 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?

None of the picks is published by the vendor itself; they are community projects.

How do I install an MCP server?

Local servers run as a command such as npx, uvx or docker run that you add to your client's MCP configuration; remote servers only need their URL. Every server page on appsgit has ready-made snippets for Claude Desktop, Claude Code, Cursor and VS Code.

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.