Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

Supabase MCP server

MCP server by alexander-zuev Verified · gh:alexander-zuev

Query MCP is an open-source MCP server that lets an AI assistant in your IDE run SQL, manage schema changes, and call the Supabase Management API. It is aimed at developers who work with Supabase projects. The author no longer actively maintains it.

  • Score 76
  • 836 stars
  • Apache-2.0
  • Updated

Install Supabase MCP server

Built from the published package, never by AI.

claude mcp add supabase-mcp-server -- uvx supabase-mcp-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Supabase MCP server in Claude Code

MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the supabase-mcp-server block.

About

Query MCP is an open-source MCP server for Supabase. It lets an AI assistant in an IDE run SQL queries, manage schema changes, call the Supabase Management API, and use the Auth Admin SDK. Queries can run in read-only or read-write mode. SQL is validated and rated by risk level into safe, write, and destructive tiers. Schema changes are versioned automatically.

It installs with pipx or uv and works with MCP clients that support the stdio protocol, including Cursor, Windsurf, Cline and Claude Desktop. It needs a free API key from thequery.dev and your Supabase project details. The author has stopped active maintenance and points users to Supabase's official MCP server. It suits developers who want an assistant to work with a Supabase project from their IDE.

Written from the project's README and checked against it.

Tools it gives your assistant

  • Read-only and read-write SQL modesControls whether SQL queries can only read or can also write data.
  • SQL validation with risk levelsChecks SQL at runtime and assesses its risk level.
  • Three-tier safety systemClassifies SQL operations as safe, write, or destructive.
  • Transaction handlingHandles transactions for both direct and pooled database connections.
  • Automatic schema versioningVersions database schema changes automatically.
  • Supabase Management API accessLets the assistant manage Supabase projects through the Management API.
  • Auth Admin user managementManages users with Supabase Auth Admin methods via the Python SDK.
  • Pre-built Cursor and Windsurf toolsIncludes tools meant to help Cursor and Windsurf work with MCP.

What you need

  • Python 3.12 or later
  • A free API key from thequery.dev
  • A Supabase project (remote or local)
  • uv or pipx for installation
  • Supabase access token for the Management API (optional)
  • Supabase service role key for the Auth Admin SDK (optional)

Try asking

  • Run a read-only SQL query to list users created this week in my Supabase project
  • Create a migration to add an index on the orders table and version the change
  • Show the tables in my Supabase database with their row counts

Good to know

  • Only supports hosted Supabase.com projects and local development, not self-hosted Supabase
  • Custom connection strings are not supported
  • Only transaction pooling is supported, not session pooling
  • The author no longer actively maintains this server

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work

Alternatives to Supabase MCP server

All alternatives →
Supabase supabase
97

Connects Supabase projects to AI assistants such as Cursor, Claude and Windsurf over the Model Context Protocol. It lets assistants manage tables, fetch config and query data in a Supabase project.

AAA Local and remote 172k/wk
ArcadeDB MCP Server ArcadeData
94

ArcadeDB MCP Server is the built-in Model Context Protocol server of the ArcadeDB multi-model database. It lets AI assistants and LLMs work with ArcadeDB's graph, document, time-series, vector and other data models. It suits people who already run ArcadeDB and want assistant access to it.

AAA Local 1.3k
DBHubbytebase
94

Connects MCP clients such as Claude Desktop, Cursor and VS Code to PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, ClickHouse and SQLite. It exposes two tools by default, with read-only mode and query timeouts available as guardrails.

AAA Local 343k/wk
MCP Toolbox for Databasesgoogleapis
94

MCP Toolbox for Databases is an open source MCP server that connects AI agents, IDEs and applications to enterprise databases. It provides prebuilt tools for exploring schemas and running queries, plus a framework for custom tools. It is aimed at developers building agents that need database access.

AAA Local 17k
MCP Toolbox for Databasesgoogleapis
94

Connects AI agents, IDEs and applications to enterprise databases through the Model Context Protocol. Offers prebuilt database tools for MCP clients and a framework for building custom tools for production agents.

AAA Local 17k
mongodb-mcp-servermongodb-js
94

MongoDB MCP Server lets AI assistants interact with MongoDB databases and MongoDB Atlas. It is an official server from mongodb-js, run locally with npx or Docker. It works with self-managed deployments and Atlas clusters.

AAA Local 203k/wk

Compare with Supabase, ArcadeDB MCP Server or DBHub

Supabase MCP server: common questions

Does Query MCP work with self-hosted Supabase?

No. The source says the server only supports official Supabase.com hosted projects and local development.

Is Query MCP still maintained?

The author says they no longer actively maintain it. They point users to Supabase's official MCP server instead.

Which AI clients can use Query MCP?

Any MCP client that supports the stdio protocol should work. The author tested Cursor, Windsurf, Cline and Claude Desktop.

How do I install Supabase MCP server?

In Claude Code run claude mcp add supabase-mcp-server -- uvx supabase-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.

Is Supabase MCP server the official server?

Supabase MCP server is published by gh:alexander-zuev from its verified domain in the official MCP Registry.

Is Supabase MCP server free?

The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.

Is Supabase MCP server safe to use?

It scores 76 of 100. Grades: maintenance C, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to Supabase MCP server?

Similar MCP servers: Supabase, ArcadeDB MCP Server, DBHub, MCP Toolbox for Databases.

Does Supabase MCP server work with ChatGPT?

Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.

Supabase MCP server Install

Add to stack

Loading.