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
mcp-toolbox
by googleapis
MCP Toolbox for Databases is an open source MCP server for databases.
Quality 95/100Safety scan clean★ 16,821Updated todayWhy 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
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 todayWhy 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
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 agoWhy 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
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 todayWhy 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
mcp-memory-service
by doobidoo
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 todayWhy 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
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-21Why it is here: clean safety scan.
claude mcp add alexander-zuev -- npx -y github:alexander-zuev/supabase-mcp-server - 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 todayWhy 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
dbhub
by bytebase
Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
Quality 89/100Safety scan clean★ 3,805Updated todayWhy 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
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 todayWhy 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
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 todayWhy it is here: updated in the last day; clean safety scan.
claude mcp add HelpCode-ai -- npx -y github:HelpCode-ai/anythingmcp - 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 todayWhy 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
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 agoWhy it is here: updated 2 days ago; clean safety scan.
claude mcp add okf-memory -- npx -y github:okf-memory/okf-agent-memory - 13
mcp-sqlserver
by bilims
MCP server for Microsoft SQL Server
Quality 74/100Safety scan clean★ 47Updated 2026-03-31Why it is here: clean safety scan.
claude mcp add bilims -- npx -y github:bilims/mcp-sqlserver - 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-24Why it is here: clean safety scan.
claude mcp add Eversmile12 -- npx -y github:Eversmile12/sharedcontext
Side by side
| # | Name | Quality | Safety | Stars | Updated |
|---|---|---|---|---|---|
| 1 | mcp-toolbox | 95 | Clean | 16,821 | today |
| 2 | dbx | 90 | Clean | 29,518 | today |
| 3 | mysql_mcp_server | 90 | Clean | 1,408 | 10 days ago |
| 4 | tabularis | 96 | Clean | 5,405 | today |
| 5 | mcp-memory-service | 94 | Clean | 2,095 | today |
| 6 | supabase-mcp-server | 92 | Clean | 836 | 2026-08-21 |
| 7 | nightingale | 91 | Clean | 13,466 | today |
| 8 | dbhub | 89 | Clean | 3,805 | today |
| 9 | pg-aiguide | 92 | Clean | 1,885 | today |
| 10 | anythingmcp | 91 | Clean | 759 | today |
| 11 | carbon | 95 | Clean | 2,812 | today |
| 12 | okf-agent-memory | 91 | Clean | 858 | 2 days ago |
| 13 | mcp-sqlserver | 74 | Clean | 47 | 2026-03-31 |
| 14 | sharedcontext | 81 | Clean | 50 | 2026-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.