The 15 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 16 MCP Servers for Databases that pass our quality bar, 100% of which came up clean on our safety scan; these are the top 15, 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,484Updated todayWhy it is here: updated in the last day; clean safety scan; 16,484 GitHub stars.
claude mcp add googleapis -- npx -y github:googleapis/mcp-toolbox - 2
dbx
by t8y2
25 MB lightweight cross-platform database client for 90+ databases, including MySQL, PostgreSQL, SQLite, Redis, MongoDB, DuckDB, SQL Server, and Dameng. Built-in AI, MCP Server, CLI, desktop and Docker.
Quality 89/100Safety scan clean★ 20,556Updated todayWhy it is here: updated in the last day; clean safety scan; 20,556 GitHub stars.
claude mcp add t8y2 -- npx -y github:t8y2/dbx - 3
Douyin_TikTok_Download_API
by Evil0ctal
🚀 Self-hosted TikTok & Douyin scraper and no-watermark video downloader — async REST API, MCP server, CLI and web console for posts, profiles, comments and playlists. Self-healing identity pool, PostgreSQL archive, one docker compose up. 抖音、TikTok 数据采集与无水印视频下载 API,自托管,支持 MCP 调用与 Docker 一键部署。
Quality 98/100Safety scan clean★ 20,312Updated todayWhy it is here: highest quality score in this list; updated in the last day; clean safety scan.
claude mcp add Evil0ctal -- npx -y github:Evil0ctal/Douyin_TikTok_Download_API - 4
mysql_mcp_server
by designcomputer
A Model Context Protocol (MCP) server that enables secure interaction with MySQL databases
Quality 90/100Safety scan clean★ 1,395Updated 52 days agoWhy it is here: clean safety scan; 1,395 GitHub stars.
claude mcp add designcomputer -- npx -y github:designcomputer/mysql_mcp_server - 5
tabularis
by TabularisDB
Open-source desktop SQL workspace with 3 built-in database drivers and 16 shipped 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,046Updated todayWhy it is here: updated in the last day; clean safety scan; 5,046 GitHub stars.
claude mcp add TabularisDB -- npx -y github:TabularisDB/tabularis - 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★ 832Updated 33 days agoWhy it is here: clean safety scan.
claude mcp add alexander-zuev -- npx -y github:alexander-zuev/supabase-mcp-server - 7
prest
by prest
PostgreSQL ➕ REST, low-code, simplify and accelerate development, ⚡ instant, realtime, high-performance on any Postgres application, existing or new, MCP server
Quality 91/100Safety scan clean★ 4,619Updated 5 days agoWhy it is here: updated 5 days ago; clean safety scan; 4,619 GitHub stars.
claude mcp add prest -- npx -y github:prest/prest - 8
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 85/100Safety scan clean★ 1,958Updated todayWhy it is here: updated in the last day; clean safety scan; 1,958 GitHub stars.
claude mcp add doobidoo -- npx -y github:doobidoo/mcp-memory-service - 9
dbhub
by bytebase
Token conscious database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite.
Quality 89/100Safety scan clean★ 3,560Updated 2 days agoWhy it is here: updated 2 days ago; clean safety scan; 3,560 GitHub stars.
claude mcp add bytebase -- npx -y github:bytebase/dbhub - 10
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,849Updated todayWhy it is here: updated in the last day; clean safety scan; 1,849 GitHub stars.
claude mcp add timescale -- npx -y github:timescale/pg-aiguide - 11
PerformanceMonitor
by erikdarlingdata
Free, open-source SQL Server and Postgres performance monitoring. Collectors, real-time alerts, graphical plan viewer, MCP server for AI analysis. Supports SQL 2016-2025, Azure SQL, AWS RDS, Postgres, Aurora Postgres.
Quality 83/100Safety scan clean★ 506Updated todayWhy it is here: updated in the last day; clean safety scan.
claude mcp add erikdarlingdata -- npx -y github:erikdarlingdata/PerformanceMonitor - 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★ 722Updated todayWhy it is here: updated in the last day; clean safety scan.
claude mcp add okf-memory -- npx -y github:okf-memory/okf-agent-memory - 13
roam-code
by Cranot
Local codebase intelligence CLI + MCP server for AI coding agents: SQLite code graph, 28 languages, 287 commands, 246 MCP tools, change-safety gates, audit evidence, zero API keys.
Quality 83/100Safety scan clean★ 518Updated todayWhy it is here: updated in the last day; clean safety scan.
claude mcp add Cranot -- npx -y github:Cranot/roam-code - 14
orionbelt-analytics
by ralforion
Ontology-based MCP server that analyzes database schemas (PostgreSQL, Snowflake, ClickHouse, Dremio) and generates RDF/OWL ontologies with SQL mappings for fan-trap-free Text-to-SQL.
Quality 87/100Safety scan clean★ 47Updated todayWhy it is here: updated in the last day; clean safety scan.
claude mcp add ralforion -- npx -y github:ralforion/orionbelt-analytics - 15
rosetta
by tikoci
MCP Server with RouterOS docs + commands + products + changelogs, using SQLite-as-RAG, sourced from MikroTik
Quality 84/100Safety scan clean★ 45Updated 10 days agoWhy it is here: updated 10 days ago; clean safety scan.
claude mcp add tikoci -- npx -y github:tikoci/rosetta
Side by side
| # | Name | Quality | Safety | Stars | Updated |
|---|---|---|---|---|---|
| 1 | mcp-toolbox | 95 | Clean | 16,484 | today |
| 2 | dbx | 89 | Clean | 20,556 | today |
| 3 | Douyin_TikTok_Download_API | 98 | Clean | 20,312 | today |
| 4 | mysql_mcp_server | 90 | Clean | 1,395 | 52 days ago |
| 5 | tabularis | 96 | Clean | 5,046 | today |
| 6 | supabase-mcp-server | 92 | Clean | 832 | 33 days ago |
| 7 | prest | 91 | Clean | 4,619 | 5 days ago |
| 8 | mcp-memory-service | 85 | Clean | 1,958 | today |
| 9 | dbhub | 89 | Clean | 3,560 | 2 days ago |
| 10 | pg-aiguide | 92 | Clean | 1,849 | today |
| 11 | PerformanceMonitor | 83 | Clean | 506 | today |
| 12 | okf-agent-memory | 91 | Clean | 722 | today |
| 13 | roam-code | 83 | Clean | 518 | today |
| 14 | orionbelt-analytics | 87 | Clean | 47 | today |
| 15 | rosetta | 84 | Clean | 45 | 10 days ago |
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,484 GitHub stars. The full ranking above lists 15 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 16 we compared for this guide came up clean. Read a skill before installing it all the same: it runs with your permissions.