schemagate
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.
- llm
- mcp
- mcp-server
- nl2sql
- oracle
- postgresql
- rag
- text2sql
- ai-agents
- data-engineering
- database
- mysql
- python
- sql-server
- access-control
- Stars
- 102
- Forks
- 0
- + today
- +2
- Created
- 1mo
Ranking data as of October 12, 2026 (UTC).
Star History
Today, hour by hour
02
Overview
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. It ranks #202 on GitTiger, gaining +2 stars on October 12, 2026 (UTC).
The project is written in Python. It was created 1mo ago.
Installation
git clone https://github.com/ashishsinha1602/schemagate.git
cd schemagate
# see README for setup