ashishsinha1602 / schemagate
git clone https://github.com/ashishsinha1602/schemagate.git
Text-to-SQL access control: schema selection that gives the LLM only the tables the caller is allowed to read. Row-level-security-aware table pruning for LangChain, MCP and any SQL agent. Postgres, Oracle, MySQL, SQL Server. 75% fewer prompt tokens.
+-7
stars, 24h · #62,282
+~-14
stars, 7 days · #61,797
+~-60
stars, 30 days · #62,136
105
★ total · -12% this week
2
forks · 1 open issues
Star history (as recorded here)
LanguagePython
LicenseApache-2.0
Created2026-09-06 (1mo ago)
Last pushtoday
OwnerUser
GitHub topics
access-controlai-agentsdata-engineeringdatabaselangchainllmmcpmcp-servermysqlnl2sqloraclepostgresqlpythonragrbacrow-level-securitysecuritysql-servertext-to-sqltext2sql