Privacy
This is a minimal v1 policy describing what mahir_data actually does today. It isn't legal advice, and it will be revised as the product grows.
When you write and run a query, it executes entirely client-side against PGlite (Postgres compiled to WebAssembly). Your query text and results never leave your browser for grading — nothing is sent to a server.
If you use “Ask the coach”, your SQL query and the relevant question context are sent to Anthropic's API to generate feedback. This only happens when you explicitly trigger it, and requires you to be signed in.
If you create an account, we store your email, sign-in method, plan (free/Pro), and your progress (which questions and lessons you've completed) in Supabase, a hosted Postgres provider. This data is scoped to your account and not shared with other users.
If you subscribe to Pro, payment is handled by Stripe. We store your Stripe customer and subscription IDs to manage your plan status — we never see or store your card details.
We use PostHog to collect basic usage and pageview analytics (e.g. which pages are visited) to understand how the product is used and improve it.
Reach out via the contact details on the site if you have questions about your data.