Connect your database
Connect Supabase with a single OAuth, or PostgreSQL and MySQL with just credentials — the schema is read automatically.
supalens reads your schema, finds the KPIs that matter, and wires up dashboards and alerts on its own. After that — just ask your database.
Set up once — the AI writes the SQL and builds your widgets and alerts on its own.
Connect Supabase with a single OAuth, or PostgreSQL and MySQL with just credentials — the schema is read automatically.
Add mcp.supalens.ai to Claude Code or Cursor and ask in plain language.
$ claude mcp add --transport http supalens https://mcp.supalens.ai/mcpThe AI writes SQL, builds widgets and alerts, and emails you a weekly summary.
Supalens runs as a single MCP server, mcp.supalens.ai — plug it into Claude Code, Cursor, or Codex and the AI reads your database, queries it, and even builds dashboard widgets.
Setup guide →From writing SQL to visualization, dashboards, and alerts — Supalens links the start and end of your data work into a single flow.
Claude reads your schema and code context (SUPALENS.md) to write grounded, well-reasoned SQL.
select category, sum(amount) …Automatically routes across Supabase, PostgreSQL, MySQL, and Firestore.
Turns query results into any of 12 chart widgets and gathers them on a board.
Watches thresholds, change rates, and anomalies — when one fires, AI analyzes the cause and notifies you by email and Slack.
Every Monday morning, AI summarizes the key changes versus last week and emails them to you.
Reads your repo's code and schema to build context and generate more accurate SQL.
# ordersCompleted payment = status = 'paid' onlyExclude refunds via refunded_atDefine a SQL condition and Supalens checks the value on every schedule. The moment it crosses your threshold, AI points to the related deploys and logs, adds a likely-cause hypothesis, and notifies you over Slack and email. When it recovers, the all-clear follows automatically.
Ask a question and Supalens picks the right chart from 12 types and draws it into a dashboard for you.
Explore dashboards →Read-only isn't a promise — it's the architecture. There's no tool that writes, your credentials are sealed, and the analysis AI runs isolated, without them.
Your database credentials are envelope-encrypted with a per-organization key (AES-256-GCM). The master key that wraps it is never stored in the database, so a database dump alone can't decrypt them. Plaintext never reaches your browser or the AI model.
Every question runs read-only. Non-SELECT statements are rejected, and a READ ONLY transaction, statement timeout, and row cap are always applied. For directly connected databases we mint a dedicated read-only role with least privilege.
The analysis AI runs in a sandbox with credentials stripped from its environment — no shell, file, or network tools. Database credentials never enter the model process, and only pre-approved tools can run.
Row-level security is enabled on every user table. One analysis is bound to one organization, chosen by the server — never by the question or the model, so it can't reach another org's data.
We don't replicate your whole database. During analysis, query results are sent to Anthropic (Claude), and the answer plus a sample of up to 200 rows and your schema structure are stored. Every query is audit-logged and auto-deleted after a set period, and deleting your account destroys the keys — making encrypted credentials unrecoverable.
Start free, scale up when you're ready.
Includes:
Everything in Free, plus:
Everything in Basic, plus:
Everything in Standard, plus:
All prices are in USD. Start free — no credit card required.