Compared · Databases & SQL
Best MCP servers for Databases & SQL
15 entries in the AgentTask Atlas catalog fit databases & sql. They are not ranked by a score: the table lists active entries first, then by how many clients document a setup, and each row ends with our one-line verdict on when to pick it. Official sources last checked 2026-11-25.
- No credentials needed: none — every entry here needs some account, key or connection string.
- Offers a hosted/remote option: Prisma MCP Server, Render MCP Server (hosted), AWS MCP Servers, Upstash MCP Server, ClickHouse MCP Server, Neon MCP Server, Supabase MCP
- Most documented clients: Cursor (12), Claude Code (11), VS Code (10), Codex (8), Claude Desktop (7), GitHub Copilot (6).
By client: Best MCP servers for Databases & SQL in Cursor · Best MCP servers for Databases & SQL in VS Code · Best MCP servers for Databases & SQL in Claude Code · Best MCP servers for Databases & SQL in Claude Desktop
| Name | Type | Credentials | License | Clients | Tools · tokens | Verdict |
|---|---|---|---|---|---|---|
| Prisma MCP Server Prisma | MCP server | Required | Not stated (hosted service, no public source repository) | 10 | — | Pick it if you run Prisma Postgres or Prisma Compute and want the agent to query data, check backups or read deploy logs; review every destructive approval, it acts on live resources. |
| Sanity MCP Server (hosted) Sanity | MCP server | Required | Not stated (hosted service) | 10 | — | Pick it when the agent works on a Sanity-backed site and should query content, evolve schemas and draft documents itself; edits land as drafts, but use a token with a limited role if it should not publish or touch datasets. |
| Render MCP Server (hosted) Render | MCP server | Required | Apache-2.0 (render-oss/render-mcp-server); hosted service under Render terms | 8 | — | Pick it to spin up Render services, check deploys and read logs or metrics from the agent; it can rewrite env vars and trigger deploys, so review those calls. |
| AWS MCP Servers AWS Labs | MCP server | Required | Apache-2.0 | 7 | 5 · ~3,365 | Pick the specific AWS server you need; the docs server needs no credentials, others use your IAM profile. |
| Upstash MCP Server Upstash | MCP server | Required | MIT (upstash/mcp-server; hosted service under Upstash terms) | 7 | — | Pick it to inspect and debug Upstash Redis, QStash and Workflow from your editor; use the hosted server with a read-only grant first and scope it with ?features=. |
| ClickHouse MCP Server ClickHouse | MCP server | Required | Apache-2.0 | 5 | 3 · ~728 | Pick it to let the agent explore schemas and write analytical SQL against ClickHouse; keep write access off and connect with a read-only database user. |
| Convex MCP Server Convex | MCP server | Required | Apache-2.0 | 5 | 12 · ~2,376 | Pick it when the agent builds on Convex and should inspect real tables, logs and function signatures; keep the production defaults and use a deploy key to confine it to one dev deployment. |
| Pinecone Developer MCP Server Pinecone | MCP server | Optional | Apache-2.0 | 5 | 9 · ~5,669 | Pick it to prototype RAG and semantic search on Pinecone from your editor; use a key for a dev project only, since the agent can create indexes and upsert data. |
| MCP Toolbox for Databases Google | MCP server | Required | Apache-2.0 | 4 | — | Pick it to explore schemas and run SQL from the agent across many databases (Postgres, BigQuery, Cloud SQL, Spanner and others); prefer custom toolsets when you need restricted queries in production. |
| MongoDB MCP Server MongoDB | MCP server | Required | Apache-2.0 | 4 | 27 · ~14,069 | Pick it for MongoDB or Atlas queries; enable the documented read-only mode for exploration. |
| Neon MCP Server Neon | MCP server | Required | MIT | 4 | 127 · ~29,236 | Pick it to manage Neon branches and run SQL; it acts with your account's rights. |
| Redis MCP Server Redis | MCP server | Required | MIT | 4 | 53 · ~7,487 | Pick it to let the agent inspect or cache data in Redis; connect it with a read-only ACL user unless writes are intended. |
| Elasticsearch MCP Server (deprecated) Elastic | MCP server | Required | Apache-2.0 | 3 | — | Avoid for new setups: the official README marks it deprecated; use it only on existing installs. |
| Microsoft MCP (Azure MCP Server) Microsoft | MCP server | Required | MIT | 3 | 69 · ~13,411 | Pick it for Azure resources from the agent; it acts with your signed-in identity and RBAC. |
| Supabase MCP Supabase | MCP server | Required | Apache-2.0 | 2 | 29 · ~4,394 | Pick it for Supabase SQL and migrations; use the documented read-only and project-scoped modes. |
Tools · tokens: measured tool count and context cost of each server's tool definitions; see the MCP tool budget for method and all servers.
Install notes
- Prisma MCP Server
- Connect to https://mcp.prisma.io/mcp (Streamable HTTP). Claude Code: `claude mcp add --transport http prisma https://mcp.prisma.io/mcp`; Gemini CLI: `gemini mcp add --transport http Prisma https://mcp.prisma.io/mcp --scope user` (see docs for other clients). official docs ↗Credentials: Prisma Console account sign-in (OAuth), then pick a workspace and approve access. · Maintenance: Hosted remote server; official docs last updated 2026-09-22; the old prisma/mcp repo is archived; no GitHub release
- Sanity MCP Server (hosted)
- Run `npx sanity@latest mcp configure` to set up detected editors, or add it manually: Claude Code `claude mcp add Sanity -t http https://mcp.sanity.io --scope user`, then authenticate with OAuth; in Cursor or VS Code add an http server with url https://mcp.sanity.io and sign in when prompted. official docs ↗Credentials: Sanity account via OAuth (default) or a Sanity API token in an `Authorization: Bearer` header, limited to that token's role. · Maintenance: Hosted remote server https://mcp.sanity.io (GA since v2.6.0, 2025-12-11); changelog v2.44.0 on 2026-10-27. The old open-source sanity-io/sanity-mcp-server repo is archived and points to the hosted server.
- Render MCP Server (hosted)
- Connect to https://mcp.render.com/mcp. Claude Code: `/plugin install render@claude-plugins-official`, or `claude mcp add --transport http render https://mcp.render.com/mcp --header "Authorization: Bearer <YOUR_API_KEY>"`; Codex: `codex mcp add render --url https://mcp.render.com/mcp --oauth-client-id codex`; Cursor: `/add-plugin render`. Then tell the agent which Render workspace to use. official docs ↗Credentials: Render account via OAuth (official plugins for Claude Code, Codex, Cursor; Claude Desktop connector), or a Render API key as an Authorization: Bearer header. Render's docs say the AI tool can access only the workspace and permissions you grant the key. · Maintenance: Hosted server at https://mcp.render.com/mcp, auto-updated by Render; open-source code render-oss/render-mcp-server (Apache-2.0), last commit 2026-11-18; last GitHub release v0.3.0 on 2026-01-14 (for local runs, which Render discourages)
- AWS MCP Servers
- Pick a server from the README table, e.g. `uvx awslabs.aws-documentation-mcp-server@latest`, or the remote AWS MCP Server (preview) via `mcp-proxy-for-aws`. official docs ↗Credentials: AWS credentials (profile / IAM) for servers that call AWS; docs server needs none. · Maintenance: Release 2026.11.20261119223057 on 2026-11-20; last commit 2026-11-23
- Upstash MCP Server
- Connect to https://mcp.upstash.com/mcp (Streamable HTTP, OAuth). Claude Code: `claude mcp add --scope user --transport http upstash https://mcp.upstash.com/mcp`, then `/mcp` → Authenticate. Cursor: `{"mcpServers":{"upstash":{"url":"https://mcp.upstash.com/mcp"}}}`. Scope tools with e.g. `?features=redis,qstash_workflow`. official docs ↗Credentials: Upstash account via OAuth on the hosted server (choose personal/team scope and read-only at consent), or a Developer API key as `Authorization: Bearer email:API_KEY` for headless use; the legacy local server takes --email and --api-key. · Maintenance: Hosted remote server at https://mcp.upstash.com/mcp is the recommended option; official repo upstash/mcp-server, release v0.4.0 on 2026-10-23. The README says the local stdio package @upstash/mcp-server is no longer maintained.
- ClickHouse MCP Server
- Self-hosted or any ClickHouse: stdio `uv run --with mcp-clickhouse --python 3.12 mcp-clickhouse` with CLICKHOUSE_HOST/PORT/USER/PASSWORD and CLICKHOUSE_SECURE=true. ClickHouse Cloud: enable MCP under Connect → MCP, then e.g. `claude mcp add --transport http clickhouse-cloud https://mcp.clickhouse.cloud/mcp`. official docs ↗Credentials: Open-source: ClickHouse connection settings (CLICKHOUSE_HOST, CLICKHOUSE_USER, CLICKHOUSE_PASSWORD, optional role). Cloud remote: ClickHouse Cloud OAuth, or a Cloud API key via HTTP Basic auth (query tools then also need a generic Query API endpoint bound to that key); MCP must be enabled per service. · Maintenance: Official repo ClickHouse/mcp-clickhouse, release v0.7.0 on 2026-09-21 (PyPI mcp-clickhouse 0.7.0), last commit 2026-11-16; managed remote server at https://mcp.clickhouse.cloud/mcp for ClickHouse Cloud
- Convex MCP Server
- Add `npx -y convex@latest mcp start` as a stdio server (optionally `--project-dir /path/to/project`); in Claude Code or Cursor the Convex plugin starts it for you. official docs ↗Credentials: Your Convex login (`npx convex login`, all projects your account can access) or a scoped CONVEX_DEPLOY_KEY to pin it to one deployment. · Maintenance: Ships inside the official Convex CLI (`npx convex mcp start`): npm convex 1.48.0 published 2026-10-22; source get-convex/convex-backend (npm-packages/convex), last commit 2026-10-28
- Pinecone Developer MCP Server
- Local stdio server `npx -y @pinecone-database/mcp` with PINECONE_API_KEY in env. Claude Code: `claude mcp add-json pinecone-mcp '{"type":"stdio","command":"npx","args":["-y","@pinecone-database/mcp"],"env":{"PINECONE_API_KEY":"YOUR_API_KEY"}}'`; Cursor: same command in .cursor/mcp.json; Gemini CLI: `gemini extensions install https://github.com/pinecone-io/pinecone-mcp`. official docs ↗Credentials: Optional: works without a key for docs search only; a Pinecone API key (PINECONE_API_KEY) is needed to manage or query indexes. Node.js 20+ with npx. · Maintenance: Official repo pinecone-io/pinecone-mcp; release v0.4.0 on 2026-10-29 (npm @pinecone-database/mcp 0.4.0, adds document-index tools); last commit 2026-11-09
- MCP Toolbox for Databases
- Run `npx -y @toolbox-sdk/server --prebuilt=postgres --stdio` (other `--prebuilt` databases in the README), or install the binary and point your MCP client at the local Toolbox HTTP endpoint shown in the README Connect section. official docs ↗Credentials: Database connection env vars for the chosen prebuilt source (see Prebuilt Tools Reference); Google Cloud sources can use Application Default Credentials / IAM. · Maintenance: Release v1.15.0 on 2026-10-23; last commit 2026-10-25
- MongoDB MCP Server
- `npx -y mongodb-mcp-server` with env vars from README (supports --readOnly). official docs ↗Credentials: MongoDB connection string, or Atlas API client ID/secret. · Maintenance: Release v3.1.0 on 2026-10-15; last commit 2026-10-23
- Neon MCP Server
- `npx neon@latest init`, or add the remote server with `npx add-mcp https://mcp.neon.tech/mcp` (see README). official docs ↗Credentials: Neon OAuth (remote) or NEON_API_KEY. · Maintenance: No GitHub release; last commit 2026-10-21
- Redis MCP Server
- Run `uvx --from redis-mcp-server@latest redis-mcp-server --url redis://localhost:6379/0` from your client's MCP config (see README). official docs ↗Credentials: Redis connection URL or REDIS_HOST/REDIS_PORT plus REDIS_USERNAME/REDIS_PWD when auth is enabled; Entra ID for Azure Managed Redis. · Maintenance: Release 0.5.1 on 2026-08-05 (PyPI redis-mcp-server 0.5.1); last commit 2026-11-23 (main adds MCP_REDIS_ALLOWED_TOOLS tool allowlist, not yet in a release)
- Elasticsearch MCP Server (deprecated)
- README marks it deprecated (critical security fixes only) and points to the Elastic Agent Builder MCP endpoint ({KIBANA_URL}/api/agent_builder/mcp; Elastic 9.2+ and Serverless, GA since 9.3), which takes an API key or, on Serverless, OAuth. official docs ↗Credentials: ES_URL plus ES_API_KEY (or username/password). · Maintenance: Release v0.4.6 on 2025-10-24; last commit 2026-06-23; DEPRECATED per README (critical security fixes only)
- Microsoft MCP (Azure MCP Server)
- See the repo README for the Azure MCP Server package and VS Code extension. official docs ↗Credentials: Azure identity (az login / Entra ID). · Maintenance: Latest stable release Azure.Mcp.Server-3.0.0 on 2026-10-12; 4.0.0-beta.3 pre-release on 2026-10-23; last commit 2026-10-23
- Supabase MCP
- Remote https://mcp.supabase.com/mcp (see README for flags like read_only and project_ref). official docs ↗Credentials: Supabase OAuth (remote) or a personal access token. · Maintenance: Release mcp-server-supabase-v0.14.0 on 2026-10-14; last commit 2026-10-24
Set up any of these in your client: Claude Code · Cursor · VS Code · Claude Desktop. Filter interactively on the Databases & SQL explorer, or ask the catalog from your agent with the free MCP server.
Other comparisons: Git & GitHub repos · Code review · CI/CD · Infra & deploy · Debugging & observability · Library docs & research · Web fetching & scraping · Frontend & UI · Local files · Docs & writing · Build AI apps · Planning & reasoning · Utilities
⚠ No independent security audit: entries summarize official sources only. Review permissions and code before installing.