Agents Lookup

Best MCP servers / Databases and SQL

Best MCP servers for databases and SQL

These servers let an agent look at schemas, run SQL and, in some cases, change data. The right one is usually the one made by whoever runs your database.

The shortlist

ServerMade byRunsPrice on record
Supabase MCP serverSupabaseHosted or localFree with product account
Neon MCP serverNeonHosted or localFree with product account
MCP Toolbox for DatabasesGoogleOn your computerOpen source
MongoDB MCP serverMongoDBOn your computerOpen source
SQL MCP ServerMicrosoftHosted or localFree / open source
BigQuery remote MCP serverGoogleHostedNeeds Google Cloud account
Snowflake MCP serverSnowflakeHosted or localFree with product account
ClickHouse MCP serverClickHouseOn your computerOpen source
Redis MCP serverRedisOn your computerOpen source
PlanetScale MCP serverPlanetScaleHostedPaid
AWS PostgreSQL MCP ServerAWSOn your computerNeeds AWS account
Prisma MCP serverPrismaHosted or localFree tier

What each one is good for

  1. Supabase MCP server

    Good for: Postgres on Supabase, with SQL, schema changes and edge functions in one server.

    Lets agents manage Supabase projects, run SQL, apply migrations and fetch logs.

  2. Neon MCP server

    Good for: Postgres on Neon, including branches and migrations.

    Agents can create Neon Postgres projects and branches, run SQL and manage migrations.

  3. MCP Toolbox for Databases

    Good for: Mixed setups: one open-source server for Postgres, MySQL, BigQuery, AlloyDB and more.

    Open-source server letting agents safely query Postgres, MySQL, BigQuery, AlloyDB and other databases.

  4. MongoDB MCP server

    Good for: MongoDB databases and Atlas clusters.

    Lets agents query and manage MongoDB databases and Atlas clusters.

  5. SQL MCP Server

    Good for: SQL databases behind Microsoft's Data API builder, built for safe, predictable access.

    Data API builder-based MCP server for safe, deterministic agent access to SQL databases.

  6. BigQuery remote MCP server

    Good for: Exploring BigQuery datasets and running SQL on a hosted Google server.

    Explore BigQuery datasets and tables and run SQL queries and jobs

  7. Snowflake MCP server

    Good for: Snowflake SQL together with Cortex Agent and Cortex Search.

    Query your Snowflake warehouse and Cortex search or agents from AI tools via a managed server or the open-source one.

  8. ClickHouse MCP server

    Good for: Safe exploration of ClickHouse: the SQL it runs only reads.

    Run read-only SQL queries and explore tables in ClickHouse for fast analytics from an agent.

  9. Redis MCP server

    Good for: Keys, streams and vector data in Redis.

    Read and write Redis keys, hashes, streams and vector data from an agent for caching or app debugging.

  10. PlanetScale MCP server

    Good for: Schemas, branches and Insights for Postgres and MySQL on PlanetScale.

    Let agents inspect PlanetScale databases, branches and query insights, and run SQL safely.

  11. AWS PostgreSQL MCP Server

    Good for: Aurora PostgreSQL and RDS PostgreSQL on AWS.

    Natural language to SQL for Aurora PostgreSQL and RDS PostgreSQL.

  12. Prisma MCP server

    Good for: Creating Prisma Postgres databases and running migrations from a coding tool.

    Create Prisma Postgres databases, run migrations and manage schemas from an AI coding tool.

How to choose

Read-only or not

ClickHouse's server runs only read queries; others can change schemas and data. Use a read-only database user when you only need answers.

One database or many

MCP Toolbox for Databases covers several engines from one server. Vendor servers go deeper on one.

Where it runs

Local servers keep the connection on your machine. Hosted ones are quicker to set up and sign in through the vendor.

Give the agent only the access it needs, and keep a person approving anything it sends, pays, or deletes.

How we picked

Chosen by Agents Lookup from the 1,789 MCP servers in our directory. We looked for servers that do this job directly, come from the product's own maker where there is one, and link to documentation we could check. The broadest choices come first. We have not run or benchmarked every server, so treat this as a shortlist and not a test result. Nobody can pay to be picked or to move up, and affiliate links do not affect the order.

Use cases that use these tools

More shortlists

All shortlists

Sources

Each server's own page, and the date we last checked it.