Home› Projects› schemagate
schemagate
Python

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.

by ashishsinha1602 · GitHub
Stars
Forks
License
Created
Last commit
Language
access-controlai-agentsdata-engineeringApache-2.0Python
View on GitHub
In plain words

Control which database tables an AI can access based on user permissions, enhancing security for SQL queries.

You maintain this project?

Claim its page: indexed whatever its rank, translated into six languages, and enriched with what you write yourself.

Claim this page →
schemagate — GitHub preview card
📈 Star history
180103
2026-10-152026-11-22
📈 Track schemagate

Get an email alert on its next release or when it starts trending — never miss the moment.

Free · no card · unsubscribe anytime
Get email alerts →
📄 About

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.

schemagate has 128 stars on GitHub. It has been forked 4 times. schemagate is written mainly in Python. It has been in active development since 2026. schemagate is available under the Apache-2.0 license. Its main topics are access-control, ai-agents, data-engineering, database.

❓ Frequently asked questions

What is 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.

Is schemagate open source?

schemagate is an open-source project. It is released under the Apache-2.0 license.

Is schemagate free?

Yes. schemagate is free and open source — you can use, modify and self-host it.

What license does schemagate use?

schemagate is available under the Apache-2.0 license.

What language is schemagate written in?

schemagate is written mainly in Python.

🏅 Maintainer of this project?
olud.ai badge — schemagate

Add this live badge to your README — your GitHub stars and directory rank, refreshed daily.

[![olud.ai](https://olud.ai/badge.php?tool=ashishsinha1602-schemagate)](https://olud.ai/project/ashishsinha1602-schemagate.html)
More badge options →
🧬 Shares DNA with🧬 View the DNA map →

Measured from GitHub topics shared by both projects, weighted by how rare each topic is.