AgentScout / MCP servers by task / Databases

Best MCP servers for databases (2026)

MCP servers that let Claude, Cursor, Codex and other MCP clients query and manage databases: Postgres, MySQL, MongoDB, Redis, ClickHouse, DuckDB, Neo4j and hosted platforms like Supabase, Neon and PlanetScale. Here are the 16 we list, ranked.

16 MCP servers14 open sourceMost starred: MCP Toolbox for Databases (★ 16,669)

How we ranked them: each server here is listed in our MCP servers category and its listing says it does this job. We order them by the GitHub stars recorded on each listing, then visitor star ratings, then the most recent code push to the repo, then listing maturity. Servers without a tracked public repo come last. Links checked 2026-10-21. No paid placements.

The 16 MCP servers for databases, ranked

  1. MCP Toolbox for Databases logo

    1. MCP Toolbox for Databases

    MCP serversOpen source★ 16,669 GitHub stars

    Open-source MCP server from Google for connecting agents to databases.

    Pricing (as stated): Open source · Mature · Last code push 2026-10-19

  2. DBHub logo

    2. DBHub

    MCP serversOpen source★ 3,664 GitHub stars

    Database MCP server for Postgres, MySQL, SQL Server and others from Bytebase.

    Pricing (as stated): Open source · Active · Last code push 2026-10-13

  3. Postgres MCP Pro logo

    3. Postgres MCP Pro

    MCP serversOpen source★ 3,403 GitHub stars

    Postgres MCP server with index tuning, explain plans, health checks and safe SQL execution for agents.

    Pricing (as stated): Open source · Active · Last code push 2026-08-16

  4. Supabase MCP logo

    4. Supabase MCP

    MCP serversOpen source★ 2,955 GitHub stars

    Supabase's MCP server for managing databases, migrations and projects.

    Pricing (as stated): Open source · Active · Last code push 2026-10-20

  5. MongoDB MCP Server logo

    5. MongoDB MCP Server

    MCP serversOpen source★ 1,143 GitHub stars

    MongoDB's official MCP server for querying databases and managing Atlas.

    Pricing (as stated): Open source · Active · Last code push 2026-10-19

  6. StackQL logo

    6. StackQL

    MCP serversOpen source★ 1,070 GitHub stars

    SQL engine with an MCP server for querying and provisioning cloud resources.

    Pricing (as stated): Open source · Active · Last code push 2026-10-19

  7. Neo4j MCP logo

    7. Neo4j MCP

    MCP serversOpen source★ 988 GitHub stars

    Neo4j MCP servers for querying graphs, managing Aura instances and graph memory.

    Pricing (as stated): Open source · Active · Last code push 2026-09-09

  8. ClickHouse MCP logo

    8. ClickHouse MCP

    MCP serversOpen source★ 888 GitHub stars

    Official ClickHouse MCP server for querying and exploring ClickHouse databases.

    Pricing (as stated): Open source · Active · Last code push 2026-10-15

  9. Neon MCP logo

    9. Neon MCP

    MCP serversOpen source★ 652 GitHub stars

    Neon's official MCP server for managing Postgres projects, branches and queries.

    Pricing (as stated): Open source · Active · Last code push 2026-10-15

  10. Redis MCP Server logo

    10. Redis MCP Server

    MCP serversOpen source★ 637 GitHub stars

    Redis' official MCP server for working with data in Redis through natural language.

    Pricing (as stated): Open source · Active · Last code push 2026-10-20

  11. dbt MCP logo

    11. dbt MCP

    MCP serversOpen source★ 609 GitHub stars

    dbt Labs' MCP server that gives AI agents context and tools for dbt Core, dbt Fusion and dbt Platform projects.

    Pricing (as stated): Open source · Active · Last code push 2026-10-20

  12. MotherDuck MCP logo

    12. MotherDuck MCP

    MCP serversOpen source★ 531 GitHub stars

    MotherDuck's MCP server that lets AI assistants run SQL on local DuckDB files, S3-hosted databases and MotherDuck.

    Pricing (as stated): Open source · Active · Last code push 2026-10-07

  13. Appwrite MCP logo

    13. Appwrite MCP

    MCP serversOpen source + cloud★ 73 GitHub stars

    Appwrite's official MCP servers, so agents can manage Appwrite databases, users, storage and functions and look up Appwrite docs while building your backend.

    Pricing (as stated): Open source + cloud · Active · Last code push 2026-10-20

  14. Upstash MCP logo

    14. Upstash MCP

    MCP serversOpen source★ 60 GitHub stars

    Upstash's MCP server for managing Redis and other Upstash resources.

    Pricing (as stated): Open source · Active · Last code push 2026-09-01

  15. Aiven MCP logo

    15. Aiven MCP

    MCP serversSee site★ 28 GitHub stars

    Aiven's MCP server for provisioning PostgreSQL, managing Apache Kafka and deploying apps from your AI assistant.

    Pricing (as stated): See site · Active · Last code push 2026-10-20

  16. PlanetScale MCP logo

    16. PlanetScale MCP

    MCP serversFreemium★ 5 GitHub stars

    PlanetScale's MCP server for databases, branches, schemas and query insights.

    Pricing (as stated): Freemium · Active · Last code push 2026-10-11

Filter these live in the directory: MCP servers matching “database”, sorted by GitHub stars. You can add pricing and open-source filters there.

How to choose

FAQ

What are the best MCP servers for databases?

Ranked by tracked GitHub stars, then visitor ratings and recent code activity, the top MCP servers for databases in our directory are MCP Toolbox for Databases, DBHub, Postgres MCP Pro, Supabase MCP, MongoDB MCP Server. Stars show popularity, not fit, so try two or three on your own setup.

Are there free MCP servers for databases?

14 of the 16 servers here are listed as open source. Pricing on this page, as each maker states it: Open source (13), Open source + cloud (1), See site (1), Freemium (1). Open-source servers can still need a paid account with the service they connect to.

How does AgentScout rank these MCP servers?

By the GitHub stars recorded on each listing, then visitor star ratings, then the most recent code push to the repo, then listing maturity. Servers without a tracked public repo come after those with one. There are no paid placements.

Which apps can use these MCP servers?

Any MCP client: Claude Desktop, Claude Code, Cursor, Codex, VS Code with Copilot, Windsurf and others. Each server's own docs give the exact config; our free MCP config builder can write the JSON for you.

Related tasks

Web search and scraping · Code, issues and CI · Monitoring and incidents · Gateways and registries · Productivity and team apps · Marketing, SEO and analytics · All MCP servers by task

More: All 230 MCP servers · Free MCP servers · For Claude Code · For Cursor · MCP config builder

Facts come from our directory listings and each project's GitHub repo; pricing is as each maker states it and can change. Missing a server? Submit it free.

Get the best new AI agents, weekly

One short email with new tools, launches and what's worth trying. Free, unsubscribe anytime.