schemagate-mcp
The schemagate MCP server in one command, with everything it
needs: the MCP server, every database driver and the model SDKs. This package has no code of its own: it
installs schemagate[all] at the same version plus the drivers the core package has no extra for, and provides
the schemagate-mcp command.
uvx schemagate-mcp --url demo # the bundled sample schema, no database needed
uvx schemagate-mcp --url postgresql://user@host:5432/db # or your own database
pip install schemagate-mcp # or install it
Keep a password out of the command line. Either give the connection as separate fields, with the password typed as it is (no URL encoding):
SCHEMAGATE_DB_TYPE=postgresql SCHEMAGATE_DB_HOST=db.example.com SCHEMAGATE_DB_USER=app \
SCHEMAGATE_DB_PASSWORD='p@ss/word' SCHEMAGATE_DB_NAME=sales uvx schemagate-mcp
(SCHEMAGATE_DB_TYPE: demo, postgresql, mysql, mssql, oracle, sqlite, duckdb, snowflake, databricks, bigquery;
also SCHEMAGATE_DB_PORT and SCHEMAGATE_DB_OPTIONS, e.g. http_path=... for Databricks.) Or put a URL in
SCHEMAGATE_DATABASE_URL:
| Database | URL starts with | Driver included |
|---|---|---|
| PostgreSQL | postgresql:// or postgres:// |
psycopg |
| MySQL / MariaDB | mysql:// |
PyMySQL |
| SQL Server | mssql:// or sqlserver:// (pymssql, no ODBC needed), or mssql+pyodbc:// |
pymssql, pyodbc |
| Oracle | oracle:// |
oracledb |
| SQLite | sqlite:///path/to/file.db |
built in |
| DuckDB | duckdb:///path/to/file.duckdb |
duckdb-engine |
| Snowflake | snowflake:// |
snowflake-sqlalchemy |
| Databricks | databricks:// |
databricks-sqlalchemy |
| BigQuery | bigquery://project |
sqlalchemy-bigquery |
Databases already saved in VS Code (SQL Server, PostgreSQL, SQLTools extensions) or SQL Developer / SQLcl can be
picked in chat: ask "which databases can you connect to?" and the model calls list_connections, then
connect_database. VS Code's saved passwords are not readable by other programs, so give one once:
uvx schemagate-mcp connections # what schemagate can see
uvx schemagate-mcp login "Warehouse PG" # asks for the password, keeps it in the system keychain
Model SDKs for the server's answer tools (bring your own key): Anthropic, OpenAI, Google Gemini.
schemagate hands a text-to-SQL model only the tables a question needs, and only the ones the caller may read. Documentation, benchmarks and source: https://github.com/ashishsinha1602/schemagate
mcp-name: io.github.ashishsinha1602/schemagate
Metadata
Release files for schemagate-mcp 1.23.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| schemagate_mcp-1.23.0.tar.gz | 6.7 kB | With provenance | Details for schemagate_mcp-1.23.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| schemagate_mcp-1.23.0-py3-none-any.whl | Python 3 | none | any | Details for schemagate_mcp-1.23.0-py3-none-any.whl |
Total release size: 13.7 kB
Release files / schemagate_mcp-1.23.0.tar.gz
| Download URL | schemagate_mcp-1.23.0.tar.gz |
|---|---|
| Size | 6.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
43158b28e6a8a518bf3110e3112f4a898229ede1c4241a972096db6321c330d7
|
|
BLAKE2b-256 checksum How to use checksums |
f1e9a83577ccf5b970f4023319095eab8c23a7f8213195842a4758411ab7eea2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logRelease files / schemagate_mcp-1.23.0-py3-none-any.whl
| Download URL | schemagate_mcp-1.23.0-py3-none-any.whl |
|---|---|
| Size | 7.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3292b84267be9bdf3f21c1f2eb8f023e79734aaaca0fbe0ecc1d96fcc78e3715
|
|
BLAKE2b-256 checksum How to use checksums |
a6782b3774bc201c07a520738cea4fc69cd4ad1630446d4d27e90c68500a3b82
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logSecurity for schemagate-mcp 1.23.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for schemagate_mcp-1.23.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Dec 4, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.