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
- ai-agents
- data-engineering
- database
- mysql
- python
- sql-server
- access-control
- langchain
- Stars
- 129
- Forks
- 4
- + today
- +1
- Created
- 2mo
Ranking data as of December 2, 2026 (UTC).
Star History
Today, hour by hour
01
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 #831 on GitTiger, gaining +1 star on December 2, 2026 (UTC).
The project is written in Python and has 4 forks. It was created 2mo ago.
Installation
git clone https://github.com/ashishsinha1602/schemagate.git
cd schemagate
# see README for setup