SkillAgentSearch skills...

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

    mcp-toolbox

    by googleapis

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

    Quality 95/100Safety scan clean16,484Updated today

    Why 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. 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 clean20,556Updated today

    Why 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. 🚀 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 clean20,312Updated today

    Why 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. 4

    mysql_mcp_server

    by designcomputer

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

    Quality 90/100Safety scan clean1,395Updated 52 days ago

    Why it is here: clean safety scan; 1,395 GitHub stars.

    claude mcp add designcomputer -- npx -y github:designcomputer/mysql_mcp_server
  5. 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 clean5,046Updated today

    Why 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. 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 clean832Updated 33 days ago

    Why it is here: clean safety scan.

    claude mcp add alexander-zuev -- npx -y github:alexander-zuev/supabase-mcp-server
  7. 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 clean4,619Updated 5 days ago

    Why it is here: updated 5 days ago; clean safety scan; 4,619 GitHub stars.

    claude mcp add prest -- npx -y github:prest/prest
  8. 8

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

    Quality 85/100Safety scan clean1,958Updated today

    Why 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. 9

    dbhub

    by bytebase

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

    Quality 89/100Safety scan clean3,560Updated 2 days ago

    Why it is here: updated 2 days ago; clean safety scan; 3,560 GitHub stars.

    claude mcp add bytebase -- npx -y github:bytebase/dbhub
  10. 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 clean1,849Updated today

    Why 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. 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 clean506Updated today

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

    claude mcp add erikdarlingdata -- npx -y github:erikdarlingdata/PerformanceMonitor
  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 clean722Updated today

    Why 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. 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 clean518Updated today

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

    claude mcp add Cranot -- npx -y github:Cranot/roam-code
  14. 14

    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 clean47Updated today

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

    claude mcp add ralforion -- npx -y github:ralforion/orionbelt-analytics
  15. 15

    rosetta

    by tikoci

    MCP Server with RouterOS docs + commands + products + changelogs, using SQLite-as-RAG, sourced from MikroTik

    Quality 84/100Safety scan clean45Updated 10 days ago

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

    claude mcp add tikoci -- npx -y github:tikoci/rosetta

Side by side

#NameQualitySafetyStarsUpdated
1mcp-toolbox95Clean16,484today
2dbx89Clean20,556today
3Douyin_TikTok_Download_API98Clean20,312today
4mysql_mcp_server90Clean1,39552 days ago
5tabularis96Clean5,046today
6supabase-mcp-server92Clean83233 days ago
7prest91Clean4,6195 days ago
8mcp-memory-service85Clean1,958today
9dbhub89Clean3,5602 days ago
10pg-aiguide92Clean1,849today
11PerformanceMonitor83Clean506today
12okf-agent-memory91Clean722today
13roam-code83Clean518today
14orionbelt-analytics87Clean47today
15rosetta84Clean4510 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.