Best MCP Servers for Database in 2026
1,083 tools indexed · avg score 89.6 · sorted by AgentRank score
The AgentRank index tracks 1,083 database tools. The top-ranked entry is kossakovsky/selfhost-ai at 97.3 points. Across the 10 shown here, the average AgentRank score is 89.6, and 10 had a commit in the last 30 days. The most common primary language is Python.
Database MCP servers give AI agents direct, structured access to SQL and NoSQL databases through the Model Context Protocol. These tools let language models query, insert, update, and manage data without writing raw connection code — making them the backbone of AI-powered data analysis, automated reporting, and database administration workflows.
The leading database MCP servers cover the full spectrum of modern data infrastructure: PostgreSQL, MySQL, SQLite, MongoDB, Redis, and cloud-native databases like Supabase, Neon, PlanetScale, CockroachDB, and Turso. Most expose a standardized tool interface so your agent can describe data needs in natural language and get back typed results.
When evaluating database MCP servers, prioritize freshness (active maintenance), issue health (responsive maintainers), and dependent project count (real-world adoption). A tool used by hundreds of downstream projects has been battle-tested in ways a brand-new release hasn't.
Top 10 Database MCP Servers
- #1kossakovsky/selfhost-ai97.3
One-command installer for a self-hosted AI stack on your own server: n8n, Ollama, Open WebUI, OpenClaw, Dify, Flowise, Supabase, ComfyUI, Qdrant & 30+ tools. Docker Compose, automatic HTTPS via Cad...
Ranks here on 944 GitHub stars and an active commit 10 days ago, plus 100% of issues closed.Issue health 30.8Freshness 29.8Stars 15.3Contributors 9.7Description 6.2 - #2Higangssh/homebutler93.0
🏠 Tells you what changed on your server — only what's worth telling. Single Go binary, no database, nothing running on the machines it watches. MCP server built in.
Ranks here on 302 GitHub stars and an active commit 8 days ago, plus 93% of issues closed.Freshness 30.2Issue health 28.7Stars 12.7Contributors 10.0Description 6.2 - #3erikdarlingdata/PerformanceStudio91.1
Free, open-source SQL Server execution plan analyzer — cross-platform GUI + CLI with 30 analysis rules, missing index detection, SSMS extension. Built-in MCP server for AI-assisted plan review.
Ranks here on 244 GitHub stars and a commit within the last week, plus 96% of issues closed.Freshness 30.7Issue health 29.4Stars 12.3Contributors 7.9Description 6.2 - #4FreePeak/db-mcp-server91.0
A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.
Ranks here on 462 GitHub stars and a commit within the last week, plus 93% of issues closed.Freshness 30.7Issue health 28.7Stars 13.7Contributors 8.9License 4.6 - #5runekaagaard/mcp-alchemy90.8
A MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
Ranks here on 420 GitHub stars and an active commit 11 days ago, plus 100% of issues closed.Issue health 25.6Freshness 24.5Downloads 14.3Stars 11.2Contributors 6.6 - #6Lyellr88/marm-memory88.3
Local-first 3-in-1 AI memory layer & MCP server for Claude Code, Codex, Grok, Gemini, VS Code and Cursor. Fuses session history, codebase indexing & concept graphs in SQLite. Enables zero-cloud, pr...
Ranks here on 420 GitHub stars and an active commit 8 days ago.Freshness 30.3Issue health 21.2Stars 13.5Contributors 12.1Description 6.2 - #7icoretech/airbroke86.6
🔥 Lightweight, Airbrake/Sentry-compatible, PostgreSQL-based Open Source Error Catcher
Ranks here on 220 GitHub stars and a commit within the last week, plus 92% of issues closed.Freshness 30.7Issue health 28.4Stars 12.0Contributors 6.5License 4.6 - #8Dicklesworthstone/meta_skill86.2
Local-first skill management platform for AI coding agents: dual SQLite+Git persistence, semantic search, bandit-optimized suggestions, and MCP integration
Ranks here on 206 GitHub stars and an active commit 11 days ago, plus 97% of issues closed.Issue health 30.0Freshness 29.5Stars 11.9Contributors 6.5Description 6.2 - #9buildingjoshbetter/TrueMemory85.7
The memory your AI should have had from the start. Automatic capture, automatic recall, 100% local. One SQLite file, zero cloud. Works with Claude Code, Claude CLI, Cursor, Codex CLI, Gemini CLI.
Ranks here on 381 GitHub stars and a commit within the last week, plus 76% of issues closed.Freshness 30.6Issue health 23.4Stars 13.2Contributors 9.3Description 6.2 - #10Env-Kit/envkit-releases85.6
EnvKit — free local development environment for Windows & macOS: nginx/Apache, multiple PHP versions, MySQL/MariaDB, PostgreSQL, Redis, MongoDB, Mailpit, Node.js, trusted .test HTTPS, and a built...
Ranks here on 551 GitHub stars and an active commit 8 days ago, plus 88% of issues closed.Freshness 30.4Issue health 27.2Stars 14.1Contributors 6.5Description 6.2