QueryDeck Docs

QueryDeck Documentation

Native macOS database client that knows your project. Connect, query, and ship with confidence.

QueryDeck is a native macOS database client built for app developers, data analysts, and anyone who works with PostgreSQL, MySQL, or SQLite. It runs your queries fast, edits rows safely, and connects itself to your project the moment you point it at a repo.

Pick your path

You don't have to read these docs front to back. Start with the path that matches your work.

I'm new to database clients

You want to open a database, see your tables, and write a query without breaking anything.

Start here:

  1. Install QueryDeck
  2. Connect to your first database
  3. Browse and edit data in Table Mode
  4. Ask QueryDeck in plain English

I'm a data analyst

You know SQL. You want fast queries, repeatable notebooks, and clean exports.

Start here:

  1. Install QueryDeck
  2. Connect to your database
  3. Query editor, history, snippets, saved queries
  4. Notebooks for SQL + Markdown reports
  5. Export to CSV, JSON, SQL

I'm a developer

You own the schema. You want the client to follow your project, not the other way around.

Start here:

  1. Install QueryDeck
  2. Run qdeck . in your project
  3. ORM auto-detection (7 ORMs)
  4. Drift Mode: catch ORM vs database mismatches
  5. MCP Server: hook QueryDeck up to Claude, Cursor, and other AI editors

What's inside

SectionWhat it covers
Getting StartedInstall, first connection, CLI in 5 minutes
ConnectionsPostgreSQL, MySQL, SQLite, SSL, SSH tunnels
QueryingEditor, history, snippets, saved queries
DataTable Mode, inline editing, exports
CLIqdeck command, ORM detection, troubleshooting
DriftSchema diff between your ORM and the real database
MCPPlug QueryDeck into Claude Code, Cursor, Zed, and others
AIFoundation Models, OpenAI, Anthropic, Ollama
NotebooksSQL + Markdown cells with PDF, HTML, and .ipynb exports
ShortcutsCommand palette and keyboard reference
LicensingTrial, activation, machine management

Need help?

QueryDeck includes a built-in feedback button (toolbar, top right) that sends your message straight to us. For licensing or account issues, see Manage machines.