SkillAgentSearch skills...

The 14 Best MCP Servers for Databases

Ranked by quality, maintenance and a safety scan of every file · Updated

MCP servers that let an agent query and manage Postgres, MySQL, SQLite, MongoDB, Redis and hosted databases. We compared 14 MCP Servers for Databases that pass our quality bar, 100% of which came up clean on our safety scan; these are the top 14, no more than three from any one repository.

  1. 1

    mcp-toolbox

    by googleapis

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

    Quality 95/100Safety scan clean★ 16,821Updated today

    Why it is here: updated in the last day; clean safety scan; 16,821 GitHub stars.

    claude mcp add googleapis -- npx -y github:googleapis/mcp-toolbox
  2. 2

    dbx

    by t8y2

    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.

    Quality 90/100Safety scan clean★ 29,518Updated today

    Why it is here: updated in the last day; clean safety scan; 29,518 GitHub stars.

    claude mcp add t8y2 -- npx -y github:t8y2/dbx
  3. 3

    mysql_mcp_server

    by designcomputer

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

    Quality 90/100Safety scan clean★ 1,408Updated 10 days ago

    Why it is here: updated 10 days ago; clean safety scan; 1,408 GitHub stars.

    claude mcp add designcomputer -- npx -y github:designcomputer/mysql_mcp_server
  4. 4

    tabularis

    by TabularisDB

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

    Quality 96/100Safety scan clean★ 5,405Updated today

    Why it is here: highest quality score in this list; updated in the last day; clean safety scan.

    claude mcp add TabularisDB -- npx -y github:TabularisDB/tabularis
  5. 5

    Open-source persistent memory for AI agent pipelines (LangGraph, CrewAI, AutoGen) and Claude. REST API + knowledge graph + autonomous consolidation.

    Quality 94/100Safety scan clean★ 2,095Updated today

    Why it is here: updated in the last day; clean safety scan; 2,095 GitHub stars.

    claude mcp add doobidoo -- npx -y github:doobidoo/mcp-memory-service
  6. 6

    supabase-mcp-server

    by alexander-zuev

    Query MCP enables end-to-end management of Supabase via chat interface: read & write query executions, management API support, automatic migration versioning, access to logs and much more.

    Quality 92/100Safety scan clean★ 836Updated 2026-08-21

    Why it is here: clean safety scan.

    claude mcp add alexander-zuev -- npx -y github:alexander-zuev/supabase-mcp-server
  7. 7

    nightingale

    by ccfos

    Open-source, self-hosted alerting for metrics, logs, and databases. Includes a built-in AI agent and MCP server.

    Quality 91/100Safety scan clean★ 13,466Updated today

    Why it is here: updated in the last day; clean safety scan; 13,466 GitHub stars.

    claude mcp add ccfos -- npx -y github:ccfos/nightingale
  8. 8

    dbhub

    by bytebase

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

    Quality 89/100Safety scan clean★ 3,805Updated today

    Why it is here: updated in the last day; clean safety scan; 3,805 GitHub stars.

    claude mcp add bytebase -- npx -y github:bytebase/dbhub
  9. 9

    pg-aiguide

    by timescale

    MCP server and Claude plugin for Postgres skills and documentation. Helps AI coding tools generate better PostgreSQL code.

    Quality 92/100Safety scan clean★ 1,885Updated today

    Why it is here: updated in the last day; clean safety scan; 1,885 GitHub stars.

    claude mcp add timescale -- npx -y github:timescale/pg-aiguide
  10. 10

    anythingmcp

    by HelpCode-ai

    Enterprise Agent Harness & MCP Gateway: connect APIs, databases, file servers and 600+ connectors (SAP, Odoo, Etsy…) to Claude, ChatGPT, Microsoft Copilot and your agents. Memory, skills, knowledge graph, SSO/RBAC, audit log and governance built in. Your AI company brain.

    Quality 91/100Safety scan clean★ 759Updated today

    Why it is here: updated in the last day; clean safety scan.

    claude mcp add HelpCode-ai -- npx -y github:HelpCode-ai/anythingmcp
  11. 11

    carbon

    by crbnos

    Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.

    Quality 95/100Safety scan clean★ 2,812Updated today

    Why it is here: updated in the last day; clean safety scan; 2,812 GitHub stars.

    claude mcp add crbnos -- npx -y github:crbnos/carbon
  12. 12

    okf-agent-memory

    by okf-memory

    Git-native persistent memory for AI coding agents. Implements Google OKF v0.2 with sub-300µs in-memory BM25 search, embedded MCP server, and progressive disclosure. Slashes token bloat by 80% with zero external databases or dependencies. Built in pure Go.

    Quality 91/100Safety scan clean★ 858Updated 2 days ago

    Why it is here: updated 2 days ago; clean safety scan.

    claude mcp add okf-memory -- npx -y github:okf-memory/okf-agent-memory
  13. 13

    mcp-sqlserver

    by bilims

    MCP server for Microsoft SQL Server

    Quality 74/100Safety scan clean★ 47Updated 2026-03-31

    Why it is here: clean safety scan.

    claude mcp add bilims -- npx -y github:bilims/mcp-sqlserver
  14. 14

    sharedcontext

    by Eversmile12

    MCP server that gives AI coding assistants persistent cross-client memory. Facts and conversations stored in SQLite, encrypted with AES-256-GCM, synced to Arweave. No server, no account, recoverable with a 12-word phrase.

    Quality 81/100Safety scan clean★ 50Updated 2026-02-24

    Why it is here: clean safety scan.

    claude mcp add Eversmile12 -- npx -y github:Eversmile12/sharedcontext

Side by side

#NameQualitySafetyStarsUpdated
1mcp-toolbox95Clean16,821today
2dbx90Clean29,518today
3mysql_mcp_server90Clean1,40810 days ago
4tabularis96Clean5,405today
5mcp-memory-service94Clean2,095today
6supabase-mcp-server92Clean8362026-08-21
7nightingale91Clean13,466today
8dbhub89Clean3,805today
9pg-aiguide92Clean1,885today
10anythingmcp91Clean759today
11carbon95Clean2,812today
12okf-agent-memory91Clean8582 days ago
13mcp-sqlserver74Clean472026-03-31
14sharedcontext81Clean502026-02-24

How we rank

Only skills we have read make the list: the file itself was fetched, it has a real description, it scores at least 55 of 100 on quality, its source still exists, its repository has at least 20 GitHub stars, and our safety scan found nothing high-risk. The order then follows adoption (GitHub stars, on a log scale), how squarely it fits this topic, and its quality score (how substantial and well structured the file is and how recently it changed), moved up for a clean safety scan and for real installs through the SkillAgent MCP server, and down for safety notes. At most three come from any one repository, and tools sold on evading bot detection are never listed. We do not rank by install counts reported by a command-line tool: they are easy to inflate, and our research found repositories with no stars claiming hundreds of thousands of installs. The list is recomputed on every visit.

Questions

What is the best MCP Server for Databases?

mcp-toolbox by googleapis ranks first: updated in the last day, clean safety scan, 16,821 GitHub stars. The full ranking above lists 14 alternatives with their trade-offs.

How do I install one?

Each entry shows a one-line command. For Claude Code that is `claude mcp add`; Cursor, Claude Desktop and other clients take the same server in their MCP settings.

Are these safe to install?

Every file is scanned for instructions that work against you: hidden text, data sent to outside servers, disabled approval prompts, leaked keys. Skills with a warning are never listed here, and 100% of the 14 we compared for this guide came up clean. Read a skill before installing it all the same: it runs with your permissions.