Skip to content
mcp/skillhub

QueryPilot MCP Server

by nickklos10io.github.nickklos10/querypilotv0.1.1

Safe SQL gateway for AI agents: SELECT-only validation, access policies, masking, audit trail, evals

1Pythonstdioofficial registry

context tax

queued

security

queued

cold start

queued

freshness

Maintained3mo ago

Install QueryPilot MCP server

Install in Claude Code

claude mcp add querypilot -e QUERYPILOT_DATABASE_URL='<querypilot-database-url>' -- uvx querypilot mcp

Configuration

VariableRequiredSecretDescription
QUERYPILOT_DATABASE_URLyesyesSQLAlchemy-style database connection URL, e.g. sqlite:///demo.db or postgresql://user:pass@host:5432/db. Equivalent to --database-url.
QUERYPILOT_DIALECT——SQL dialect for the connector. Equivalent to --dialect.
QUERYPILOT_MAX_ROWS——Maximum rows returned per query. Equivalent to --max-rows.
QUERYPILOT_TIMEOUT_SECONDS——Query execution timeout in seconds. Equivalent to --timeout-seconds.
QUERYPILOT_ACCESS_POLICY_JSON——JSON-encoded AccessPolicy (blocked_columns, allowed_columns, row_filters, masking_rules) enforced before execution. Equivalent to --access-policy-json.
QUERYPILOT_MCP_TRANSPORT——MCP 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.

Freshness

Maintained — last maintenance signal 3mo ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-07-11 · 3mo ago · GitHub

  2. Latest release

    2026-07-11 · 3mo ago · GitHub · v0.1.1

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    2026-07-11 · 3mo ago · official registry · v0.1.1

FAQ

›How do I install the QueryPilot MCP server in Claude Code?

Run: claude mcp add querypilot -e QUERYPILOT_DATABASE_URL='<querypilot-database-url>' -- uvx querypilot mcp. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does QueryPilot require an API key?

Yes. It expects QUERYPILOT_DATABASE_URL, of which 1 is a secret.

›Can I use QueryPilot as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is QueryPilot in the official MCP registry?

Yes, as io.github.nickklos10/querypilot.

Alternatives to QueryPilot

Other database MCP servers.

View all