
Integration · Developer tools
Connect Claude & ChatGPT to Supabase
Ask your AI how many users signed up this week, what the auth logs show, or which tables lack row level security in Supabase. It can run read-only SQL against your database, query project logs, check service health and API usage, and read security and performance advisor findings. It also reads your projects, edge functions, branches, migrations, backups and storage buckets.
Free plan, no credit card. Takes about a minute.
Try asking
“How many rows were added to the orders table this week?”
The AI runs a read-only SQL query against your project's database and returns the count. Queries that try to write are rejected.
“Which tables are missing row level security?”
It reads the security advisor findings for the project and lists the tables without row level security.
“Why are auth requests failing since 10:00?”
It queries the project's auth logs with SQL for the time range and sums up the errors it finds.
What your AI can do
Database and logs
Run read-only SQL against your database, query API, database, auth and edge function logs, and list migrations and backups.
Health and advisors
Check the health of each project service, read API request counts, and see security and performance advisor findings such as missing indexes.
Projects and functions
List organizations, members and projects, and read edge functions with their stats, preview branches and storage buckets.
“Is the send-invoice edge function throwing errors?”
It finds the function and reads its invocations, errors and execution times for the last hour or day.
“Is everything healthy in the project, and is point-in-time recovery on?”
It checks the health of the database, auth, REST, realtime and storage services, then lists backups and whether point-in-time recovery is enabled.
“Which migrations have been applied, and what preview branches are open?”
It lists the migrations applied to the project and the preview branches with their status.
19 tools for Supabase
These tools are switched on when you connect. You can switch any of them off, or require your approval before it runs.
get_api_usageGet API request counts for a project over an interval (e.g. 1hr, 1day, 7day).get_branchGet one preview branch's details and status. Pass branch_id_or_ref.get_edge_functionGet one edge function's details. Pass function_slug.get_edge_function_statsGet invocation, error and execution-time stats for an edge function. Pass function_id and interval (e.g. 1hr, 3hr, 1day).get_projectGet one project's details: name, region, status and database host.get_project_healthCheck the health of a project's services. Pass services, e.g. ['db','auth','rest','realtime','storage'].list_branchesList a project's preview branches with their status.list_database_backupsList a project's database backups and whether point-in-time recovery is enabled.list_edge_functionsList a project's edge functions with their status and version.list_migrationsList the database migrations applied to a project.list_organization_membersList the members of an organization and their roles. Pass organization_slug.list_organization_projectsList the projects in one organization. Pass organization_slug; filter by search or statuses.list_organizationsList the organizations you belong to.list_performance_advisoriesList performance advisor findings for a project, such as missing indexes.list_projectsList all Supabase projects you have access to, with region, status and organization.list_security_advisoriesList security advisor findings for a project, such as tables without row level security.list_storage_bucketsList a project's storage buckets.query_project_logsQuery a project's logs (API, database, auth, edge functions) with SQL over the log tables. Pass sql and optionally iso_timestamp_start/iso_timestamp_end.run_read_only_queryChanges dataRun a read-only SQL query against a project's database and return the rows. Pass query (SQL). Writes are rejected.
Set up in three steps
- 1
Pick the app
Create a free PipMCP account and choose Supabase from the app list.
- 2
Paste your key
Paste a Supabase personal access token and the project ref of the project you want to use. In the Supabase Dashboard, open your account menu > Access Tokens (supabase.com/dashboard/account/tokens) and click Generate new token. Copy the token, which starts with sbp_.
- 3
Add the link to your AI
You get a personal MCP link. Add it to Claude, ChatGPT or Cursor:
Click your name, then Settings › Connectors › Add custom connector. Paste your link as the Remote MCP server URL. Switch it on from the + menu in a chat.
Questions
What can the AI do in Supabase?
The AI can run read-only SQL queries, query project logs, check project health and API usage, and read security and performance advisors. It can also read organizations, members, projects, edge functions and their stats, preview branches, migrations, backups and storage buckets.
Does the AI see my Supabase access token?
No. Your Supabase access token is encrypted at rest and never shown to the AI. After you save it, it is not shown again, not even to you. The AI only sees the results of the tools it calls.
Can I control what the AI is allowed to do?
Yes. You choose which tools are switched on. Running SQL against your database can require your approval before each query runs, so you see the query first. Every tool call is logged.
Does it work with ChatGPT?
Yes. In ChatGPT go to Settings › Apps & Connectors › Advanced and turn on Developer mode, then add your PipMCP link. Developer mode needs a paid ChatGPT plan: Plus, Pro, Business or Enterprise. The same link also works in Claude (Settings › Connectors › Add custom connector), Cursor and other MCP clients.
What does it cost?
PipMCP has a free plan with no credit card required. Paid plans bill per completed task. You also need your own Supabase account.
Can the AI change my database?
No. The SQL tool is read-only, and queries that try to insert, update or delete data are rejected. The other tools read project details, logs and advisor findings. The AI does not change data, schema or project settings.
Related integrations
Let your AI work in Supabase today.
Start free. Your key stays encrypted, and you decide what the AI may do.
Connect Supabase freePipMCP is not affiliated with Supabase. Product names are trademarks of their owners.





