QueryPilot
Read-only MCP tools for validating, governing, and executing SQL across SQLAlchemy-compatible databases.
Install QueryPilot
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"querypilot": {
"command": "uvx",
"args": [
"--from",
"querypilot[mcp]",
"querypilot"
],
"env": {
"QUERYPILOT_DATABASE_URL": "YOUR_VALUE_HERE",
"OPENAI_API_KEY": "YOUR_VALUE_HERE",
"ANTHROPIC_API_KEY": "YOUR_VALUE_HERE",
"QUERYPILOT_PROXY_PASS": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
claude mcp add --env QUERYPILOT_DATABASE_URL=YOUR_VALUE_HERE --env OPENAI_API_KEY=YOUR_VALUE_HERE --env ANTHROPIC_API_KEY=YOUR_VALUE_HERE --env QUERYPILOT_PROXY_PASS=YOUR_VALUE_HERE --transport stdio querypilot -- uvx --from 'querypilot[mcp]' querypilotRun in your terminal. Add --scope project to share it with your team through .mcp.json.
We couldn’t confirm it starts correctly
We hit an unexpected error while testing this listing automatically.
uvx --from querypilot[mcp] querypilotRate limit exceeded, please try again later - you have reached the maximum number of concurrent E2B sandboxes (20). If you need more, please visit 'https://e2b.dev/docs/billing'
This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .
Overview
Use cases
- Expose governed database queries to an AI agent
- Inspect live schemas before generating SQL
- Block write statements and dangerous database functions
- Return repair hints for invalid generated queries
- Audit PostgreSQL statements from database clients
Key features
- SELECT-only SQL validation
- Schema discovery and search
- Row filters and result masking
- Read-only execution controls
- Structured errors with SQL hints
- Optional PostgreSQL proxy and audit log
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 4d ago via OSV.dev · querypilot (PyPI)
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How QueryPilot works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about QueryPilot
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/querypilot)<a href="https://allmcps.com/mcp/querypilot"><img src="https://allmcps.com/api/badge/querypilot?style=directory" alt="QueryPilot on AllMCPs" /></a>