llamaperf

ashishsinha1602/schemagate

Runs locallyNeeds a key

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.

View on GitHub

Stars
127
Gained, 7 days
-10
Gained, 30 days
+22
Reddit posts
1

Python · Apache-2.0 · last push 2026-11-18 · created 2026-09-06

GitHub stars, last 90 days

2026-10-13: 1022026-11-22: 127

Does it work with local models?

Reports from people who ran it with a model on their own hardware. Tool calling depends on the model as much as on the server, so say which model and quant you used.

No reports yet.

Add your report

Sign in to say whether it worked for you.

Reddit posts linking it

In the official MCP registry

  • io.github.ashishsinha1602/schemagatev1.18.3Runs locallyNeeds a key

    Identity-scoped schema selection for text-to-SQL. Returns only the tables the caller may read.

    Packages: pypi schemagate (stdio)