DEV Community

Cover image for I built "ask your database" where each person only sees the tables they're allowed to (now on AppSumo)
Ashish sinha
Ashish sinha

Posted on Edited on

I built "ask your database" where each person only sees the tables they're allowed to (now on AppSumo)

Most "chat with your database" tools give everyone the same view. Connect the company database and the intern can ask about salaries. schemagate lets each person's AI see only the tables and columns that person is allowed to read.

What it does

  • Connects to PostgreSQL, MySQL/MariaDB, Oracle or SQL Server (presets for Supabase, Neon, RDS, Cloud SQL, Azure SQL, PlanetScale and TiDB). Or upload CSV/Excel files, or paste a Google Sheets link.
  • Access per person: a hidden table gets the same refusal as one that doesn't exist.
  • Read-only. PostgreSQL and MySQL sessions refuse writes at the database level.
  • Your rows never go to the AI, only table and column names.
  • Charts, CSV export, saved questions, dashboards, and a "Make it faster" button that only suggests a rewrite if it returns the same rows and runs faster.

The engine underneath is the open-source schemagate library (13,000+ PyPI downloads, listed in LangChain's retrievers). It scores 74.34% on the BIRD hidden test set and is #1 on UniQL's Oracle column (64.93%).

Lifetime deal, 10% off until Dec 1: Starter $4.50 · Team $53.10 · Business $107.10 · Agency $179.10. A 7-day free trial is also available, no card needed.

What it doesn't do: it never writes to your database. SQL Server relies on a SELECT-only check, not a database-level lock.

Top comments (0)