---
title: "Best MCP Servers for Databases, Ranked | MCP Shelf"
url: "https://mcpshelf.co/best/query-a-database"
description: "10 MCP servers for databases, ranked by whether they install, how well they are maintained and how widely they are used. Choose by what you need."
site: "MCP Shelf"
agent:
  instructions: "Use this search API to find MCP servers, setup guides and community listings on MCP Shelf with keywords or a plain question, instead of crawling pages. Results are returned in Markdown, each with a link to the page and its .md copy."
  endpoint: "https://mcpshelf.co/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://mcpshelf.co/developers"
---

Pick of the pod

# Best MCP servers for databases

Postgres, MySQL, MongoDB, ClickHouse, Redis, Supabase, Neon and vector stores.

Start read-only on any database that matters. Pick the server made for your engine if there is one; a multi-database gateway is simpler when you have several.

10 servers, 10 with an install we have checked. Ranked by [our published score](https://mcpshelf.co/methodology#ranking): a working install counts most, then recent commits, use and reader reports. Nobody pays for a place.

1. **[MCP Toolbox for Databases](https://mcpshelf.co/servers/mcp-toolbox-for-databases)** Google's toolbox for Postgres, MySQL, BigQuery, Spanner and other databases. 78 score / 100 **Choose this for:** Teams on Google Cloud databases. **Install:** Started in our test **Access:** Key, token or password **You need:** Node.js 18 or newer; Connection details for your database **Config checked for:** Claude Desktop, Claude Code, Cursor, VS Code **GitHub stars:** 16.7K **Score parts:** install 36, upkeep 15, use 17, reports 10
2. **[MongoDB MCP Server](https://mcpshelf.co/servers/mongodb)** Query, inspect and manage MongoDB databases and Atlas clusters, read-only if you like. 77 score / 100 **Choose this for:** Asking questions of a real collection without writing the aggregation pipeline yourself. **Install:** Needs your setup first **Access:** Key, token or password **You need:** Node.js 22.13 or newer (20.19 still runs but is deprecated); A MongoDB connection string, or Atlas service account credentials for the Atlas tools **Config checked for:** Claude Desktop, Claude Code, Cursor, VS Code **GitHub stars:** 1.2K **Score parts:** install 36, upkeep 15, use 16, reports 10
3. **[ClickHouse MCP Server](https://mcpshelf.co/servers/clickhouse)** ClickHouse's own server: read-only SQL on your cluster, plus chDB for local files. 77 score / 100 **Choose this for:** Asking analytical questions of event or log tables in plain English. **Install:** Needs your setup first **Access:** Key, token or password **You need:** uv, which fetches the server and Python 3.12 for you; A ClickHouse host, user and password (or the public SQL Playground to try it) **Config checked for:** Claude Desktop, Claude Code, Cursor, VS Code **GitHub stars:** 898 **Score parts:** install 36, upkeep 15, use 16, reports 10
4. **[DBHub](https://mcpshelf.co/servers/dbhub)** One small server for Postgres, MySQL, MariaDB, SQL Server, Oracle and SQLite. 77 score / 100 **Choose this for:** Schema questions and query writing in a coding agent. **Install:** Needs your setup first **Access:** Key, token or password **You need:** Node.js 22.5 or newer; A connection string (DSN) for your database **Config checked for:** Claude Desktop, Claude Code, Cursor, VS Code **GitHub stars:** 3.7K **Score parts:** install 36, upkeep 15, use 16, reports 10
5. **[Postgres MCP Pro](https://mcpshelf.co/servers/postgres-mcp-pro)** SQL, query plans, health checks and index advice for Postgres. 71 score / 100 **Choose this for:** Finding why a query is slow. **Install:** Started in our test **Access:** Key, token or password **You need:** Docker; A Postgres connection string **Config checked for:** Claude Desktop, Claude Code, Cursor, VS Code **GitHub stars:** 3.4K **Score parts:** install 36, upkeep 8, use 17, reports 10
6. **[PostHog MCP](https://mcpshelf.co/servers/posthog)** Ask PostHog questions in plain words and manage flags, experiments and dashboards. 70 score / 100 **Choose this for:** Answering product questions without writing the query yourself. **Install:** Needs your setup first **Access:** Key, token or password **You need:** A PostHog Cloud account (US or EU), or a self-hosted instance; A personal API key with the MCP Server preset, unless your client signs in with OAuth **Config checked for:** Claude Desktop, Claude Code, Cursor, VS Code, ChatGPT **GitHub stars:** 40.5K **Score parts:** install 36, upkeep 15, use 9, reports 10
7. **[Redis MCP Server](https://mcpshelf.co/servers/redis)** Redis's own server: keys, hashes, streams, JSON and vector search in plain English. 69 score / 100 **Choose this for:** Inspecting what is actually in a cache or session store while debugging. **Install:** Needs your setup first **Access:** Key, token or password **You need:** uv (for uvx); A Redis server or Redis Cloud database you can reach, and its URL **Config checked for:** Claude Desktop, Claude Code, Cursor, VS Code **GitHub stars:** 641 **Score parts:** install 36, upkeep 15, use 8, reports 10
8. **[Qdrant](https://mcpshelf.co/servers/qdrant)** Store notes and find them by meaning in a Qdrant vector collection. 69 score / 100 **Choose this for:** Long-term memory across conversations. **Install:** Needs your setup first **Access:** No key or account **You need:** uv (for uvx); A Qdrant instance, or a local path for embedded storage **Config checked for:** Claude Desktop, Claude Code, Cursor, VS Code **GitHub stars:** 1.6K **Score parts:** install 36, upkeep 8, use 15, reports 10
9. **[Supabase](https://mcpshelf.co/servers/supabase)** Manage Supabase projects, tables, migrations, logs and Edge Functions. 68 score / 100 **Choose this for:** Building a Supabase app with Cursor or Claude Code. **Install:** Needs your setup first **Access:** Sign in (OAuth) **You need:** A Supabase account **Config checked for:** Claude Desktop, Claude Code, Cursor, VS Code, ChatGPT **GitHub stars:** 3K **Score parts:** install 36, upkeep 15, use 7, reports 10
10. **[Neon MCP Server](https://mcpshelf.co/servers/neon)** Neon Postgres from chat: projects, branches, SQL and migrations tested on a branch. 67 score / 100 **Choose this for:** Spinning up a Postgres database for a prototype straight from the editor. **Install:** Needs your setup first **Access:** Sign in (OAuth) **You need:** A Neon account (OAuth sign-in) or a Neon API key; A client that connects to a remote server by URL, or Node.js 18 or newer for npx mcp-remote **Config checked for:** Claude Desktop, Claude Code, Cursor, VS Code, ChatGPT **GitHub stars:** 658 **Score parts:** install 36, upkeep 15, use 6, reports 10

More pods to pick from

## Other jobs

- [Web Search](https://mcpshelf.co/best/search-the-web)
- [Web Scraping and Crawling](https://mcpshelf.co/best/scrape-sites)
- [Browser Automation](https://mcpshelf.co/best/drive-a-browser)
- [Coding](https://mcpshelf.co/best/work-on-code)
- [Up-to-Date Docs](https://mcpshelf.co/best/look-up-docs)
- [Design and Diagrams](https://mcpshelf.co/best/design-and-diagrams)
- [3D, CAD and Game Development](https://mcpshelf.co/best/3d-cad-and-games)
- [Notes and Wikis](https://mcpshelf.co/best/notes-and-knowledge)
- [Email, Chat and Calendars](https://mcpshelf.co/best/email-chat-calendar)
- [iOS and Android Development](https://mcpshelf.co/best/build-mobile-apps)
- [Cloud and DevOps](https://mcpshelf.co/best/run-cloud-and-infra)
- [Reverse Engineering and Security Testing](https://mcpshelf.co/best/reverse-engineering)
- [Computer, Phone and Robot Control](https://mcpshelf.co/best/control-a-computer)

---

From [MCP Shelf](https://mcpshelf.co): A short shelf of MCP servers that are worth installing. Index for agents: https://mcpshelf.co/llms.txt

