Best database MCP servers

We tested 22 database servers: 11 are ranked, 3 failed the handshake and are listed after them, and 8 aren't ranked: deprecated; new listing, held until a tool call passes in our test; no passing tool call and under 50 GitHub stars; won't start in our 2026-11-03 run; retest pending. Short answer: MongoDB (official) (100/100). This list includes paid and keyed servers; servers that need a key are labelled, and we have not tested any of them with real credentials.

Last tested 2026-11-11

How we test: methodology. Context cost: lowest context cost MCP servers. Not tested by us: security, output quality, and behaviour with real credentials.

Ranked by test score, then the Failed group

ServerScoreStatusToolsToken cost (estimate)Functional tasksGitHub stars
MongoDB (official)
mongodb-mcp-server
100Working27approx. 14277 tokens, cl100k estimateNot measured1,160
Prisma CLI MCP
prisma
90Working3approx. 495 tokens, cl100k estimateNot measured47,663
Redis MCP (official, Redis)
redis-mcp-server
90Working53approx. 6497 tokens, cl100k estimateSET key: pass (set)
GET key (expect stored value): pass (get)
642
mcp-redis (npm)
mcp-redis
75Working6approx. 701 tokens, cl100k estimateSET key: pass (redis_set)
GET key (expect stored value): pass (redis_get)
—
ClickHouse (official)
mcp-clickhouse
70Connects · tools listed3approx. 706 tokens, cl100k estimateNot measured903
Convex MCP (official)
convex
70Connects · tools listed12approx. 2234 tokens, cl100k estimateNot measured12,788
Neo4j Cypher (official)
mcp-neo4j-cypher
70Connects · tools listed3approx. 340 tokens, cl100k estimateNot measured989
PostgreSQL MCP (HenkDz)
@henkey/postgres-mcp-server
70Connects · tools listed18approx. 5646 tokens, cl100k estimateSQL SELECT on seeded table (expect testedmcp-alpha): pass (pg_execute_sql)204
Upstash (official)
@upstash/mcp-server needs key: not tested with credentials
70Needs keyNot measuredpendingNot measured61
Supabase (official)
@supabase/mcp-server-supabase needs key: not tested with credentials
60Needs keyNot measuredpendingNot measured3,004
MongoDB Atlas Managed MCP (official, remote)
mongodb-atlas-managed-remote needs key: not tested with credentials
55Needs credentialsNot measuredpendingNot measured—
MotherDuck / DuckDB (official)
mcp-server-motherduck Failed group: listed after the ranked rows, not ranked by score
70FailedNot measuredpendingNot measured540
Postgres MCP Pro (Crystal DBA)
postgres-mcp Failed group: listed after the ranked rows, not ranked by score
60FailedNot measuredpendingNot measured3,467
MySQL
@benborla29/mcp-server-mysql Failed group: listed after the ranked rows, not ranked by score
50FailedNot measuredpendingNot measured2,212

Tested, not ranked

  • Redis (legacy reference) (@modelcontextprotocol/server-redis): deprecated.
  • Aiven MCP (official) (mcp-aiven): no passing tool call and under 50 GitHub stars.
  • HutchDB MCP (official, remote) (hutchdb-remote): new listing, held until a tool call passes in our test.
  • Postgres (legacy reference) (@modelcontextprotocol/server-postgres): deprecated.
  • SQLite (npx) (mcp-server-sqlite-npx): won't start in our 2026-11-03 run; retest pending.
  • Elasticsearch (official) (@elastic/mcp-server-elasticsearch): deprecated.
  • Neon (official) (@neondatabase/mcp-server-neon): deprecated.
  • SQLite (legacy reference, Python) (mcp-server-sqlite): deprecated.

Listings with no passing tool call and under 50 GitHub stars aren't ranked here unless a check against the vendor's own docs confirmed them. They stay in the full directory.

Ranked by score, then more passing real tool calls, then name. The 3 Failed rows (labelled Failed group) are listed after the ranked rows and not ranked by score. Failed = did not complete the MCP handshake without credentials or a backing service.

Don't use (deprecated or archived)

  • Redis (legacy reference) (@modelcontextprotocol/server-redis), legacy score 75: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
  • Postgres (legacy reference) (@modelcontextprotocol/server-postgres), legacy score 70: Archived and unmaintained; no security guarantees. See https://github.com/modelcontextprotocol/servers-archived
  • Elasticsearch (official) (@elastic/mcp-server-elasticsearch), legacy score 45: This package is deprecated. Please see the README at https://github.com/elastic/mcp-server-elasticsearch for details on how to run v0.4.0 or later.
  • Neon (official) (@neondatabase/mcp-server-neon), legacy score 45: This package is deprecated. Use the remote MCP server at mcp.neon.tech instead. See https://neon.tech/docs/ai/neon-mcp-server for more details.
  • SQLite (legacy reference, Python) (mcp-server-sqlite), legacy score 45: GitHub repo archived

Free only: free-only database MCP servers.

Narrower lists: PostgreSQL MCP servers · Redis MCP servers.

FAQ

What is the best database MCP server?

In our tests through 2026-11-11, MongoDB (official) (mongodb-mcp-server) ranked first with 100/100 and 27 tools listed. Ranking: score, then more passing real tool calls, then name. Failed servers are listed after the ranked ones.

Which database MCP server uses the least context?

Neo4j Cypher (official) lists 3 tools at approx. 340 tokens, cl100k estimate, the lowest token-cost estimate among maintained servers here.

Which database MCP servers are deprecated?

Redis (legacy reference) (@modelcontextprotocol/server-redis): Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.; Postgres (legacy reference) (@modelcontextprotocol/server-postgres): Archived and unmaintained; no security guarantees. See https://github.com/modelcontextprotocol/servers-archived; Elasticsearch (official) (@elastic/mcp-server-elasticsearch): This package is deprecated. Please see the README at https://github.com/elastic/mcp-server-elasticsearch for details on how to run v0.4.0 or later.; Neon (official) (@neondatabase/mcp-server-neon): This package is deprecated. Use the remote MCP server at mcp.neon.tech instead. See https://neon.tech/docs/ai/neon-mcp-server for more details.; SQLite (legacy reference, Python) (mcp-server-sqlite): GitHub repo archived

Why are only 11 of the 22 tested database servers ranked?

We tested 22 database servers: 11 are ranked, 3 failed the handshake and are listed after them, and 8 aren't ranked: deprecated; new listing, held until a tool call passes in our test; no passing tool call and under 50 GitHub stars; won't start in our 2026-11-03 run; retest pending. Not ranked: Redis (legacy reference) (deprecated); Aiven MCP (official) (no passing tool call and under 50 GitHub stars); HutchDB MCP (official, remote) (new listing, held until a tool call passes in our test); Postgres (legacy reference) (deprecated); SQLite (npx) (won't start in our 2026-11-03 run; retest pending); Elasticsearch (official) (deprecated); Neon (official) (deprecated); SQLite (legacy reference, Python) (deprecated).