mcp for · updated August 2026

The 10 best MCP servers for database access

These servers let an assistant read and query real databases, from a local SQLite file to production Postgres. Most support read-only modes; check each page for what credentials the server expects before it connects.

Ranked from the 238 servers we track for this job, on monthly installs, GitHub stars, and commit recency. Checked nightly.

01 Supabase ★ 2,871 · commit 2026-08-22 The Model Context Protocol (MCP) standardizes how Large Language Models (LLMs) talk to external services like Supabase. 374,748 installs/mo · no env vars documented 02 MongoDB MCP Server ★ 1,106 · commit 2026-08-24 A Model Context Protocol server for interacting with MongoDB Databases and MongoDB Atlas. 450,845 installs/mo · needs 4 env vars 03 Codebase Memory ★ 40,198 · commit 2026-08-23 The fastest and most efficient code intelligence engine for AI coding agents. 39,800 installs/mo · no env vars documented 04 Dbhub ★ 3,395 · commit 2026-08-21 DBHub is a minimal MCP server: token-efficient, zero-dependency, and just two tools by default with opt-in extras. 97,593 installs/mo · no env vars documented 05 Dbx ★ 16,462 · commit 2026-08-25 Query databases from AI agents using connections configured in DBX. 33,367 installs/mo · needs 2 env vars 06 ClickHouse ★ 857 · commit 2026-08-21 Official ClickHouse MCP server for querying and exploring ClickHouse clusters and chDB. 197,398 installs/mo · needs 12 env vars 07 Server Motherduck ★ 510 · commit 2026-08-19 DuckDB / MotherDuck Local MCP Server SQL analytics and data engineering for AI Assistants and IDEs. 38,342 installs/mo · no env vars documented 08 Dynoxide ★ 83 · commit 2026-08-24 DynamoDB-compatible database engine in Rust on SQLite, with an MCP server for coding agents. 29,862 installs/mo · no env vars documented 09 Agent Swarm ★ 720 · commit 2026-08-24 An engine to make your company AI Native Built by desplega.sh - by builders, for builders. 5,667 installs/mo · no env vars documented 10 OSS Snowflake MCP Server ★ 296 · commit 2026-05-15 This community MCP server previously provided tooling for Snowflake Cortex AI, object management, and SQL orchestration. 167,481 installs/mo · needs 6 env vars

Before you pick

6 of these 10 run with no credentials documented, so the fastest test drive is one config paste away. 2 offer a remote endpoint, so you can connect by URL with nothing installed. Every server on this list has its own page with install configs, tool coverage, and alternatives.

Quick answers

Which MCP server is best for database access?

Supabase ranks first on our installs + stars + recency blend; MongoDB MCP Server has the most raw installs (450,845 last month) if adoption is all you weigh. The right pick still depends on your stack: the list above says what each one plugs into.

What do these servers need before they run?

6 of the 10 document no required env vars, so you can paste the config and go. The rest need credentials first, and each server's page lists exactly which. 2 also offer a remote endpoint, so there is nothing to install at all.

How this list is ranked

A server appears here when its category or its own description says it does this job, and it clears our quality bar: actively maintained, real adoption, a working repository. Ranked on monthly installs, GitHub stars, and commit recency, recomputed nightly. No pay-to-rank, ever. Full recipe: how we verify.