Supabase

Supabase

3 official

Claude Code components for Supabase: Postgres, Auth, Realtime and migrations.

components
15
installs, all time
22,194
component types
5
last component added
Nov 18, 2026

Install the official set

All 3 official components

From Supabase

Published by Supabase: its own repository, author, npm scope or MCP endpoint

Built for Supabase

Community components, by installs

Agents

supabase-schema-architect MUST BE USED for database work in a Supabase project (a supabase/ folder, @supabase/supabase-js, or the user says Supabase), including small changes and rushed fixes: designing tables, writing migrations, Row Level Security policies, auth.users triggers and profiles, Storage bucket policies, views and RPC functions, fixing 'infinite recursion detected in policy' or 'permission denied' errors, and reviewing a schema before launch. Writes migrations whose grants and policies hold when the browser talks straight to the database, and proves them as two different users before handing them back. <example> user: "Set up the Supabase schema for our team app: organizations, members with roles, projects and tasks." assistant: "I'll use the supabase-schema-architect agent: it will write the migration with grants and RLS for every table, a recursion-free membership check, and then prove as two users in two organizations that neither can read or move the other's rows." </example> <example> user: "Prod says 'infinite recursion detected in policy for relation memberships'. Fix it fast." assistant: "I'll use the supabase-schema-architect agent to replace the self-referencing policy with a locked-down security definer helper and test that members still see only their own organizations." </example> <example> user: "Review our Supabase migrations before launch." assistant: "I'll use the supabase-schema-architect agent to check what the anon and authenticated roles can actually reach: tables without RLS, policies, views, RPC functions and Storage, most severe first." </example> 3,993 installs supabase-realtime-optimizer Supabase realtime performance specialist. Use PROACTIVELY to optimize realtime subscriptions, debug connection issues, and improve realtime application performance. 1,420 installs

Hooks

supabase-remote-guard Stops Claude from changing a hosted Supabase project while leaving local work alone. A PreToolUse hook denies supabase CLI commands that write to the linked or remote project however they are launched (npx, bunx, pnpm dlx, sh -c, env prefixes, && chains): db push (unless --local or --dry-run), db reset --linked/--db-url, migration repair, migration up/squash --linked/--db-url, functions deploy/delete, secrets set/unset, config push, projects/orgs create, projects delete, branches create/update/delete, domain, network, SSL, SSO, backup and postgres-config changes, storage rm/mv/cp without --local. It also denies any command that names a hosted Supabase database host (db.<ref>.supabase.co, *.pooler.supabase.com), so psql, pg_dump, prisma or a script with a production connection string cannot reach it. For the Supabase MCP server it is an allowlist: only list_*, get_*, search_docs, generate_typescript_types and execute_sql with one read-only statement (no comments, no write keywords, no side-effect functions such as net.*, cron.*, vault.*) pass; every other tool, including ones added later, is denied. supabase start, db reset, migration new, test db and gen types --local keep working, and the person can still run a blocked command with `! <command>`, which skips hooks. Fails closed on input it cannot read. It reads command text, so it is a guard against mistakes, not a sandbox: a script that connects through DATABASE_URL, a REST call with a secret key, or a deliberately obfuscated command is not caught, nor a select that calls one of the project's own functions that writes, so run the Supabase MCP server with --read-only. Works from a project install or a user install (~/.claude/hooks). Requires python3 (if python3 is missing the hook cannot run and does not block). Tested on Claude Code 2.1.327. 5 installs

Company pages are editorial: which components appear and their order come from the catalog (where each component comes from, and its installs), never from payment. Supabase is not affiliated with Claude Code Templates.

Installs count every CLI install since the catalog started tracking. Something missing or wrong? Open an issue.