AugmentClaude
OfficialMCP server · stdioRequires credentials

Supabase

By Supabase· 2,700

Query and manage your Supabase project — run SQL, inspect tables, read logs.

What it does

The official Supabase MCP server connects Claude to a Supabase project.

What it gives Claude:

  • Run SQL queries against your database
  • List tables, columns, and migrations
  • Read project logs and advisors
  • Generate TypeScript types

Keep --read-only on unless you specifically want Claude to write, and scope it to one project with --project-ref. Needs a Supabase personal access token.

Installation

Before you start

Create a personal access token at supabase.com → Account → Access Tokens, and find your project ref in the project URL / settings. Swap YOUR_PAT and YOUR_PROJECT_REF in the command. Leave --read-only on while testing.

  1. Make sure Claude is on your device and in your terminal.

    MCP servers register with Claude Code via claude mcp add. You need Claude Code installed first:

    npm i -g @anthropic-ai/claude-code
  2. Set up the server on your machine.

    Runs the project's installer (clone + dependencies + config). Follow any prompts. After this finishes, the server is ready to register with Claude Code in the next step.

  3. Configure credentials.

    Needs a Supabase personal access token and a project ref. Keep `--read-only` unless you intend Claude to modify the database.

  4. Restart Claude Code.

    Quit and reopen Claude Code so it picks up the new MCP registration. Run /mcp inside Claude Code to confirm the server is connected.

  5. Use it.

    Ask Claude naturally. It will call the server's tools when your request matches one. Tool calls show up inline so you can see exactly what Claude is doing.

Prefer to read the source first? Open on GitHub.