Skip to content

QueryPilot/QueryPilot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Query Pilot

Query Pilot Logo

Simple. Fast. Cost saving. A database client that fits your workflow.

Local-first. Multi-database. No limits. No Extra Cost.

Latest Release Downloads License

Query Pilot Preview

Beta — Under active development. Frequent updates, occasional rough edges. Report issues here.


I built Query Pilot because I couldn't find a database client that worked the way I wanted. Most tools out there are either expensive, way too limited on free tiers, or just missing the things I actually need when debugging production databases day to day.

No existing database client deeply integrates Claude Code or Codex CLI either — so Query Pilot uses them as built-in AI agent runtimes, alongside bring-your-own-key support for other providers.

Source code is currently closed but may be open-sourced in the future.


Why Query Pilot?

  • No extra AI costs — Uses Claude Code and Codex CLI as AI runtimes directly inside the app. No separate API bills — if you already have Claude Code or Codex, your AI-powered database workflows are covered.
  • Multi-connection workspaces — Open multiple database connections side by side in a single workspace. Compare data across PostgreSQL, MySQL, MongoDB, and more without switching windows.
  • 100% local — Your data never leaves your machine. Credentials stored in the OS keychain. No cloud. Telemetry off by default.
  • Native speed — Rust backend with sub-second startup. Handles 100k+ row tables without breaking a sweat.

Supported Databases

SQL Document Key-Value
PostgreSQL MongoDB (beta) Redis
MySQL
MariaDB
SQLite
SQL Server

Features

Multi-Connection Workspaces

Create named workspaces with multiple database connections open simultaneously. Each workspace persists its layout, tabs, and state across sessions. Open separate windows per workspace, each with independent panels and editors.

AI Assistant — Zero Extra Cost

Use Claude Code and Codex CLI directly from the app as AI agent runtimes — no separate API keys or usage fees required. Generate SQL from natural language, get query explanations, explore schemas conversationally, and execute AI-suggested queries with permission gating.

Also supports bring-your-own-key with OpenAI, Anthropic, Google, Mistral, and local models via Ollama. Configure temperature, system prompts, and model selection per provider. Attach table context and images to conversations.

Excel-Like Data Grid

Inline cell editing with full undo/redo. Multi-cell selection with aggregate statistics (sum, avg, min, max, unique count). Fill down/right for bulk edits. Column-level regex filtering. Edit tables even without primary keys. Type-aware cell renderers for JSON, dates, UUIDs, geometry, enums, booleans, and more.

Pin multiple result grids side by side — compare query outputs, validate JOINs, or monitor tables without switching tabs.

ER Diagrams

Auto-generated entity-relationship diagrams with foreign key connections. Export to DBML or Mermaid format. Pan, zoom, and interactively explore relationships across your schema.

Embedded Foreign Keys

Define virtual FK relationships on tables that lack formal constraints. Referenced values from related tables are embedded directly into the grid as extra columns via automatic LEFT JOIN queries — see the actual data behind foreign key IDs, not just the IDs themselves. Invaluable for debugging production data.

Query Editor

CodeMirror 6 with schema-aware autocomplete, real-time SQL linting, syntax highlighting, and query formatting. Multi-dialect support (PostgreSQL, MySQL, T-SQL, MongoDB). Unlimited tabs — each with its own editor and result grid. Extract CTE dialog, find & replace, and customizable keybindings.

Visual EXPLAIN

Interactive query plan trees with cost breakdowns, row estimates vs actuals, and buffer statistics. Multi-dialect EXPLAIN parsing. Spot performance bottlenecks at a glance.

Cell Inspector

Three-tab inspector panel for any selected cell or row. Tree view with expandable nodes, inline editing, and search. Raw view with pretty-printed JSON. Diff view for character-level comparison across multiple selected rows.

Table Explorer

Browse structure, indexes, triggers, partitions, and column definitions from a single tabbed interface. View row counts, table sizes, and column metadata. Edit constraints, defaults, and comments inline.

Table Designer

Visual CREATE TABLE builder — configure columns, types, nullable flags, defaults, constraints, primary keys, and foreign keys without writing SQL. MongoDB collection designer with schema validation, time-series, and capped collection options.

SSH Tunneling

Connect through bastion hosts with key-based auth, SSH agent forwarding, and automatic ~/.ssh/config resolution. Rate-limited port allocation for production network setups.

Safety Modes

Four protection levels per connection — from strict read-only to full access — enforced at the backend. Prevent accidental DROP or DELETE on production.

Data Export

Export query results or entire tables to CSV, JSON, SQL INSERT, and Markdown. Configurable delimiters, batch INSERT generation, and timestamped filenames. Export schema definitions as DDL scripts.

Query History & Saved Queries

Persistent, searchable query history across all connections. Save frequently-used queries to a library for instant re-execution. Access everything from the command palette (Cmd+K).

Query Timing & Statistics

Planning time, execution time, total time, and plan buffer hits displayed for every query. Built-in performance awareness for every statement you run.

MongoDB Shell & Redis CLI

Dedicated query panels for MongoDB (aggregation pipelines, BSON types) and Redis (all data structures, key browsing). Native experiences — not SQL wrappers.

Themes & Appearance

Light, dark, and system-following themes. Adjustable UI zoom (80–150%). Modern UI built with shadcn/ui and Tailwind CSS.

Security

Credentials stored in the OS keychain. Encrypted vault for API keys. SSH key management. No data sent to external servers. Optional error reporting (Sentry) with no SQL, credentials, or user data included.


Download

macOS

Download the latest .dmg from Releases. Supports both Intel and Apple Silicon.

  1. Open the .dmg and drag Query Pilot to Applications
  2. On first launch, right-click the app and select Open if macOS shows a security warning

Windows and Linux — Coming soon.

Links

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors