QueryPilot
io.github.nickklos10/querypilot
v0.1.1Updated Jul 11, 2026stdio · PyPI
Safe SQL gateway for AI agents: SELECT-only validation, access policies, masking, audit trail, evals
Install
Needs 1 secret. Replace 1 placeholder with your own values.
Run in your terminal. Replace 1 placeholder.
claude mcp add querypilot -e 'QUERYPILOT_DATABASE_URL=<your-querypilot-database-url>' -e QUERYPILOT_DIALECT=sqlite -e QUERYPILOT_MAX_ROWS=100 -e QUERYPILOT_TIMEOUT_SECONDS=10 -e QUERYPILOT_MCP_TRANSPORT=stdio -- uvx querypilot==0.1.1 mcpConfiguration
6 settings, 1 required secret. Snippets use placeholders; keep real values out of shared config.
QUERYPILOT_DATABASE_URLEnv var· required· secretSQLAlchemy-style database connection URL, e.g. sqlite:///demo.db or postgresql://user:pass@host:5432/db. Equivalent to --database-url.QUERYPILOT_DIALECTEnv var· optionalSQL dialect for the connector. Equivalent to --dialect.Default:sqliteQUERYPILOT_MAX_ROWSEnv var· optionalMaximum rows returned per query. Equivalent to --max-rows.Default:100QUERYPILOT_TIMEOUT_SECONDSEnv var· optionalQuery execution timeout in seconds. Equivalent to --timeout-seconds.Default:10QUERYPILOT_ACCESS_POLICY_JSONEnv var· optionalJSON-encoded AccessPolicy (blocked_columns, allowed_columns, row_filters, masking_rules) enforced before execution. Equivalent to --access-policy-json.QUERYPILOT_MCP_TRANSPORTEnv var· optionalMCP transport used by `querypilot mcp`. Equivalent to --transport. Most MCP clients should leave this at stdio; streamable-http is for clients that speak Streamable HTTP directly.Default:stdio
Links
Listed in the official MCP Registry since Jul 11, 2026. Mirrored daily; last checked Nov 26, 2026.