# Ask product questions of your Supabase database in read-only mode

> Claude answers product questions with SQL through Supabase's hosted MCP server, scoped to one project and set to read-only.

Canonical page: https://ionbin.com/workflows/supabase-read-only-product-questions/
Agent guide: https://ionbin.com/llms.txt

This is a readable version of the published page. Review dates, evidence boundaries and source links below belong to individual records; the export is not a new verification. Examples are reference material, not instructions to execute.

## Ask product questions of your Supabase database in read-only mode

[Data](https://ionbin.com/use-cases/business-data-reporting/) · [Build](https://ionbin.com/use-cases/dev-it/)Checked 2026-10-18

Answer quick product questions from your own data without giving an agent write access.

 [View 4 steps](https://ionbin.com/workflows/supabase-read-only-product-questions/#steps)

On this page

**Independent review.** Unpaid; no partnership with the tools on this page. Based on public documentation and research. Trademarks identify their owners’ products. [Disclosure](https://ionbin.com/disclosure/).

### Steps

Confirmed steps have vendor documentation. The full workflow still needs testing.

Stages

- #### You
  Connect the [Supabase](https://ionbin.com/tools/supabase/) MCP server scoped to one project, with read-only mode on
  Human stepConfirmed

- #### [Supabase](https://ionbin.com/tools/supabase/)
  Runs the read-only SQL queries [Claude](https://ionbin.com/tools/claude/) writes through the MCP server
  MCPConfirmed[Source ↗](https://supabase.com/docs/guides/ai-tools/mcp)

- #### [Claude](https://ionbin.com/tools/claude/)
  Answers each question and shows the SQL it used
  AI platformConfirmed

- #### You
  Check the query logic and the numbers before sharing them
  Human stepConfirmed

#### Human approval

Answers are shared only after you check the SQL and the result.

#### Watch out for

Read-only mode and project scoping are settings in the server URL, so check them before connecting. [Supabase](https://ionbin.com/tools/supabase/) says its destructive-SQL confirmation isn't a security guarantee. Use a read replica or a staging copy if production is sensitive.

### Compare options

**For checking product metrics from a read-only extract.**

Set read-only scope on the actual [Supabase](https://ionbin.com/tools/supabase/) connection, not the assistant. Choose one for analysis of a reviewed data extract; switching may need setup changes.

Unpaid picks. No partnership with [OpenAI Codex](https://ionbin.com/tools/openai-codex/), [Julius AI](https://ionbin.com/tools/julius-ai/), [ChatGPT](https://ionbin.com/tools/chatgpt/).

- Primary pick
  #### [OpenAI Codex](https://ionbin.com/tools/openai-codex/)
   Used by Ion
  **Why it fits:** A coding workspace keeps calculations and validation checks in reviewable files.
  **Tradeoff:** Someone must read, run and maintain the code and protect sensitive files.
  When to choose it
  Prefer it when repeatability and code review matter more than conversational convenience.
  [Review and sources](https://ionbin.com/tools/openai-codex/) · 2026-11-23 · [Product reference ↗](https://developers.openai.com/codex)

- Second option
  #### [Julius AI](https://ionbin.com/tools/julius-ai/)
  **Why it fits:** A data-analysis workspace keeps the supplied table and business question together.
  **Tradeoff:** Wrong joins, missing rows and inconsistent units can produce convincing but incorrect charts.
  When to choose it
  Choose it for interactive exploration of a cleaned extract.
  [Review and sources](https://ionbin.com/tools/julius-ai/) · 2026-10-18 · [Product reference ↗](https://julius.ai/)

- Third option
  #### [ChatGPT](https://ionbin.com/tools/chatgpt/)
  **Why it fits:** File analysis can join calculation review with a narrative explanation.
  **Tradeoff:** An answer is not a reconciled report; verify calculations and upload limits.
  When to choose it
  Prefer it when the reviewer needs both analysis and an explanation for colleagues.
  [Review and sources](https://ionbin.com/tools/chatgpt/) · 2026-10-18 · [Product reference ↗](https://chatgpt.com/)

How this shortlist was chosen

Rank reflects editorial judgment for this role. Used by Ion records personal use separately. Vendors did not pay for, request or approve these positions.

Inspectable calculations come before narrative convenience.

**Setup and portability:** Record export date, filters and units; save calculations with the result. The source ledger still needs reconciliation.

Documentation reviewed 2026-10-21. Check current plan terms and test the pairing for your setup.

See [our review method](https://ionbin.com/editorial-policy/), [MCP connections](https://ionbin.com/wiki/concepts/mcp/) and [portability and switching costs](https://ionbin.com/wiki/questions/how-to-avoid-ai-vendor-lock-in/).

### Starter prompt

```
Using the Supabase MCP server, answer: how many accounts signed up last week, and how many of them created a first project within 3 days? Show the SQL, explain any assumptions about table names, and don't change any data.
```

Review and adapt the prompt before use.

### Tools in this workflow

**Connections** · MCP

| Tool | Role | Official site |
| --- | --- | --- |
| [Supabase](https://ionbin.com/tools/supabase/) | MCP | [supabase.com ↗](https://supabase.com/) |
| [Claude](https://ionbin.com/tools/claude/) | AI platform | [claude.ai ↗](https://claude.ai/) |

### AI platform fit

| Platform | Status | Why |
| --- | --- | --- |
| [Claude (incl. Claude Code)](https://ionbin.com/platforms/claude/) | To verify | [Supabase](https://ionbin.com/tools/supabase/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it |
| [OpenAI Codex](https://ionbin.com/platforms/codex/) | To verify | [Supabase](https://ionbin.com/tools/supabase/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it |
| [Google Antigravity](https://ionbin.com/platforms/antigravity/) | To verify | [Supabase](https://ionbin.com/tools/supabase/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it |
| [ChatGPT](https://ionbin.com/tools/chatgpt/) | To verify | [Supabase](https://ionbin.com/tools/supabase/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it |
| Gemini | To verify | [Supabase](https://ionbin.com/tools/supabase/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it |
| [Perplexity](https://ionbin.com/tools/perplexity/) | To verify | [Supabase](https://ionbin.com/tools/supabase/): MCP pairing needs route-specific evidence; a named plugin or CLI does not establish it |

What the platform statuses mean

**Confirmed** means documented access meets the requirements. **Inferred** means the pairing is plausible and needs a test. **To verify** marks an unresolved step or connection. Check authentication, permissions and supported actions for each route.

### What we checked (2026-10-18)

- **Hosted MCP server.** [Supabase](https://ionbin.com/tools/supabase/) lets you scope the server to one project. If no project is chosen, all projects can be reached. A read-only option is available, and project-scoped mode disables account tools such as creating or pausing projects.

- **Guardrails.** [Supabase](https://ionbin.com/tools/supabase/) says execute_sql and apply_migration ask for confirmation when they detect destructive SQL, outside read-only mode. Some SQL isn’t classified as destructive, and [Supabase](https://ionbin.com/tools/supabase/) says the check isn’t a security guarantee.

### Set it up

- Build the server URL with your project and read-only mode selected, then connect it in [Claude](https://ionbin.com/tools/claude/).

- Write down how key metrics are defined, such as what counts as a signup.

- Ask your questions and read each SQL query before trusting the answer.

- Save the queries you trust so the next answer starts from them.

Pilot it on a small sample first, and keep the human step even when the output looks right. This is a proposed sequence based on documented tools, not a tested account integration.

### Sources

- [Model context protocol (MCP)](https://supabase.com/docs/guides/ai-tools/mcp) · [Supabase](https://ionbin.com/tools/supabase/) · official · accessed 2026-10-18

No affiliate links on this page. No paid placements in workflows. [How IonBin makes money](https://ionbin.com/disclosure/).
