Best MCP servers for databases

12 working options, checked Nov 8, 2026.

Short answer: the top picks for databases right now are Postgres MCP Pro, Supabase and MongoDB. We list 12 options here: 8 need a sign-in and 4 run on your own machine.

A database MCP server lets an AI assistant look at your schema, run queries and explain the results in plain language. Connect one and you can ask questions of your data without writing the SQL yourself.

Top picks

  1. Postgres MCP Pro

    Query, explain, and health-check PostgreSQL databases safely.

    Runs locally · MIT

  2. Supabase

    Manage Supabase projects: database, auth, storage, and edge functions.

    Hosted, sign-in · Apache-2.0

  3. MongoDB

    Query collections and run aggregations on MongoDB and Atlas.

    Runs locally · Apache-2.0

  4. Redis

    Read and write Redis data structures from your agent.

    Runs locally · MIT

  5. MotherDuck / DuckDB

    Run analytical SQL on DuckDB and MotherDuck warehouses.

    Hosted, sign-in · MIT

All 12 compared

ServerWhat it doesSetupTools
Postgres MCP ProQuery, explain, and health-check PostgreSQL databases safely.Runs locally–
SupabaseManage Supabase projects: database, auth, storage, and edge functions.Hosted, sign-in–
MongoDBQuery collections and run aggregations on MongoDB and Atlas.Runs locally–
RedisRead and write Redis data structures from your agent.Runs locally–
MotherDuck / DuckDBRun analytical SQL on DuckDB and MotherDuck warehouses.Hosted, sign-in–
WoWSQLManaged Postgres BaaS MCP — list projects, run SQL, search docs over OAuth.Hosted, sign-in–
HutchDBShared database for teams and AI agents: store, query, and update structured records over MCP.Hosted, sign-in–
TableThisShared typed tables and Markdown documents for AI-built internal apps.Hosted, sign-in–
TuskShift pg-migrateLets coding agents audit and port a Laravel MySQL app to PostgreSQL with tested rules (schema, DDL, SQL, errors).Runs locally–
VectoreeGive your coding agent a backend — models, auth, database and storage in one cloud.Hosted, sign-in–
superagnt_Agent toolkit for builders: one MCP server for database, memory, schedules and data tools.Hosted, sign-in–
BastrioManage remote servers, SSH terminals, files, databases and proxies with scoped access and approvals.Hosted, sign-in–

How to choose

How to connect one

Here is Supabase as an example. In Claude Code, run:

claude mcp add --transport http supabase https://mcp.supabase.com/mcp

For other apps, follow our guides for Claude, ChatGPT, Cursor and VS Code.

How we picked these

We read each listing's tools and put the closest fit for this job first. Hosted servers must pass a real MCP handshake in our daily check to stay on this page, and local servers are reviewed from their source or package. That shows a server responds, not how well it works for you, and we don't run every tool in production.

Frequently asked questions

Which of these MCP servers work without signing in?

None right now. Every hosted server here needs a sign-in or an API key, and the rest run on your own machine.

Is it safe to connect an AI assistant to my database?

It can be, if you limit it. Use a dedicated read-only database user, keep credentials out of shared config files, and avoid connecting production until you have tested on a copy.

Can an MCP server write SQL for me?

The assistant writes the SQL and the server runs it. Because the server exposes your real schema, the queries are based on your actual tables instead of guesses.

How often is this list updated?

Every hosted server here is re-checked daily with a real MCP handshake, and a server drops off this page while it fails that check. Last check: Nov 8, 2026.

Related