schemagate for Claude Code
io.github.ashishsinha1602/schemagate
Identity-scoped schema selection for text-to-SQL. Returns only the tables the caller may read.
client:Claude Code
transport:stdio
runtime:pypi
Install schemagate in Claude Code
run in your project directory
claude mcp add schemagate -e SCHEMAGATE_DATABASE_URL=<SCHEMAGATE_DATABASE_URL> -e SCHEMAGATE_CATALOG_CONFIG=<SCHEMAGATE_CATALOG_CONFIG> -- uvx schemagate
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs