# QuerentDB

> MySQL, PostgreSQL, MongoDB, Redis and Elasticsearch in one window — with an AI agent beside every query.

Source: https://www.keepware.dev/querentdb · macOS 12+, Windows, Ubuntu 22.04+ · v0.3.3 · Beta · Free · Teams $1.99/seat/mo

A desktop database client for MySQL, PostgreSQL, MongoDB, Redis and Elasticsearch, with an AI agent beside every query box. The agent reads the schema and checks real values by itself; anything that writes is only proposed, and a person runs it. Teams share environments, SSH tunnels and connections end-to-end encrypted, with permissions by role and environment — and a local MCP server lets Claude Code and Cursor query your databases with your permissions.

## Download

- [macOS app (.dmg) — Apple silicon & Intel](https://www.keepware.dev/downloads/querentdb/QuerentDB-0.3.3-macos.dmg) — v0.3.3 · 39.7 MB · one universal app · macOS 12+ · signed and notarized by Apple · updates itself
- [Windows app — installer](https://www.keepware.dev/downloads/querentdb/QuerentDB-0.3.3-win-x64-setup.exe) — v0.3.3 · 14.8 MB · x64 · Windows 10/11 · updates itself · not code-signed yet — SmartScreen › More info › Run anyway
  - [.msi package — x64](https://www.keepware.dev/downloads/querentdb/QuerentDB-0.3.3-win-x64.msi) — v0.3.3 · 20.5 MB · for IT-managed installs
- [Linux app (.deb) — Ubuntu 22.04+](https://www.keepware.dev/downloads/querentdb/QuerentDB-0.3.3-linux-amd64.deb) — v0.3.3 · 25.6 MB · x64 · Ubuntu 22.04 or later · updates itself
  - [AppImage — x64](https://www.keepware.dev/downloads/querentdb/QuerentDB-0.3.3-linux-amd64.AppImage) — v0.3.3 · 97.9 MB · runs without installing · updates itself

## Your team shares the config. We can't read it.

Environments, SSH tunnels and connections — passwords and private keys included — sync to your team end-to-end encrypted. They are sealed on a team admin's computer and open only on the computers of members allowed to use them. Our server keeps ciphertext it has no key for, and it never connects to your databases.

- **Sealed end to end.** Every computer has its own X25519 key pair; the private key stays in the OS keychain and is never uploaded. Each environment has two keys — one for its config and read-only account, one for the read-write account — and they reach a member only sealed to that member's devices.
- **Joining takes a 4-digit code.** An admin lets each new member in after both read out the same 4-digit code, so the server can't slip in a key of its own. Invites are single-use, expire after 24 hours, and wrong guesses are rate-limited.
- **Roles × environments.** Each role gets **none**, **read-only** or **read-write** per environment — say, Developer writes on test and reads on prod. Read-only members only ever receive the read-only database account, so read-only holds at the database too. Admins' computers sign every role change; if the server changed a role, nobody gets keys for it until an admin confirms.
- **Protected environments.** Writing to prod means typing its name first, and writes from external agents over MCP are approved one by one. Per environment, admins choose what the Agent may see — schema and data, schema only, or nothing.
- **Audit, when you want it.** Admins can log every statement with its row count, its source — app, Agent or MCP — and its result, refusals included. Never your query results, and the statements are encrypted with the team key before upload. Kept 90 days.
- **Someone leaves? New keys.** Removing a member, or signing one of their computers out, re-keys every environment they could open, on an admin's computer, and QuerentDB reminds you which database passwords to change — the only way to truly take access back.

The server sees:
- Your team, its members' names and emails (from Google sign-in) and their roles
- Environment names, their settings — protected, AI policy, TLS required — and the permission matrix
- That a connection or tunnel exists, its environment, and who changed it last
- Each device's public key
- With audit on, its metadata — time, member, environment, row count, source, result

The server never sees:
- Hosts, user names, passwords or SSH keys — the sealed config
- Your data — QuerentDB connects to your databases straight from your computer
- The statements in the audit log, and the connection names and database errors with them — they're encrypted with your team's key
- Your query history and Agent chats — they stay on your computer
- Your model API key or Claude login — they stay in your OS keychain

QuerentDB is a desktop database client where plain language is a first-class input. Every query tab
has an **AI Editor** beside it that already knows the environment, the connection, the database and what's
in your editor. It looks the schema up itself, checks real values with read-only queries, and hands you
a statement to run. **Reading can be automatic; writing always waits for a person.**

## Features

- **An AI Editor beside every query.** A new tab opens with the cursor in the AI Editor's box. Ask for "paid
  orders per day this week" and the statement lands in your editor — with every step that led to it.
- **It looks before it answers.** The AI Editor and the Agent read tables, mappings and key patterns with the same tools
  the app uses, and runs read-only queries to see what a `status` column really holds. No pasting
  schemas into a chat.
- **Writes are proposals.** Anything that changes data comes back as a card with the statement and an
  estimate of the rows it touches. You press Run; in a protected environment you type its name first.
- **Every step on the record.** Each tool call shows as a small card — what ran, how many rows came
  back, how long it took — and opens up to the raw input and output.
- **Fix it. Ask about it.** An error gets a button that lets the Agent fix the statement; a result gets
  one that hands its first rows to the Agent to explain — where the environment's AI policy allows.
- **Your model, your data.** The Agent runs on your own Claude Code login or any Anthropic-compatible
  endpoint with your key. Queries and results travel only between your computer, your database and
  that model.

## Five engines, one window.

Each engine gets the view it deserves, and QuerentDB reads the server's version when it connects — so
you never get a button that can only fail.

- **MySQL & PostgreSQL.** A SQL editor with dialect highlighting, schema-aware completion, several
  statements per run and EXPLAIN; results that scroll through thousands of rows; a read-only structure
  view down to indexes, routines and triggers.
- **MongoDB.** A document browser: JSON filter, projection and sort; document, JSON and table views;
  insert, edit, and bulk update or delete with a count first; saved aggregation pipelines; vector and
  search indexes shown for what they are.
- **Redis.** A key browser that uses `SCAN`, never `KEYS`: filter by pattern and type, see each key's
  TTL and size, read strings, hashes, lists, sets, sorted sets and streams. A full command line is one
  click away.
- **Elasticsearch.** Full-text search and field filters over an index pattern, hits as a table or as
  documents, and a Kibana-style DSL editor for aggregations, `_reindex` and `_bulk`.
- **SSH tunnels and TLS.** Reach private databases through an SSH tunnel, with a password or a private
  key. TLS is used whenever the server offers it, a badge shows which connections are encrypted, and
  a self-signed certificate is pinned once you've checked its fingerprint the first time.
- **Made for long days.** Tabs are named by what they do and tagged with their environment; ⌘L shows
  every tab grouped by environment; ⌘J tucks the Agent away. Every query gets a LIMIT, so nobody pulls
  a whole table by accident.

## Your agents, your permissions.

QuerentDB also runs an **MCP server** on your computer, so Claude Code, Cursor or VS Code can query your
databases with the same tools — and exactly the permissions — the built-in Agent has. It listens on
`127.0.0.1` only (port 7466 by default) and keeps running from the menu bar or tray after you close the
window.

Create a personal token in **Settings → MCP & CLI** — it's shown once, and QuerentDB keeps only a hash — then:

```bash
claude mcp add --transport http qdb http://127.0.0.1:7466/mcp \
  --header "Authorization: Bearer qdb_pat_…"
```

- A token follows your role as it changes. Narrow it to some environments or to read-only, give it an
  expiry date, or revoke it any time.
- When an external agent wants to write, QuerentDB asks on your screen first: which token, which
  environment, the statement and the rows it would touch. Allow it once, or refuse.
- The same settings page has ready-made snippets for Cursor and VS Code.

## Yours until you share it.

Since 0.2.0 a connection belongs to the person who made it. It stays private until you share it — with the
whole team or with the members you pick, read-only or read-write — and the team's roles × environments still set
the ceiling, so a share never gives anyone more than their role allows. A Claude Code or Cursor connection, like
the other Keepware apps, is bound to one workspace — Personal or one team — and reaches only that workspace's
connections.

The computer is also ready for tablets: QuerentDB on your Mac, PC or Linux box can be paired with a tablet and
driven from it — databases, credentials and the Agent stay on the computer, the screen travels end-to-end
encrypted, and writes waiting for approval can be approved from the tablet. The Android and iPad tablet apps
are on their way.

## Free for you. Fair for teams.

Everything that runs on one computer is free, with no account. Teams pay one flat price per seat for what the cloud does for them — sharing, permissions and audit.

- **Personal: Free no account needed**
  - All five engines, SSH tunnels, the editor, structure view and the document and key browsers
  - The Agent, on your Claude subscription or your own API key
  - A local MCP server with a personal token
  - Automatic LIMIT, CSV and JSON export
- **Team: $1.99 per seat / month** (or $19.99 per seat / year · no seat cap) — 14-day free trial — no card needed
  - Everything in Personal
  - Shared environments, tunnels and connections, end-to-end encrypted
  - Roles × environments and protected environments
  - Team MCP tokens that follow each member's role
  - Optional audit log, kept 90 days by default
- **Never usage-metered.** Queries, rows and audit volume aren't counted.
- **Your model, your bill.** The Agent and MCP run on your Claude subscription or your own API key — Keepware never sells you tokens.
- **Nothing held hostage.** If a team subscription lapses, cloud sync turns read-only; everything on your computers keeps working and can always be exported.
- **[See prices in your currency and subscribe your team ›](https://www.keepware.dev/querentdb/pricing)**
- **Paid through Paddle.** Paddle is our reseller and handles checkout, invoices and sales tax; a full [refund](https://www.keepware.dev/refunds) within 14 days of any payment.
- Prices in US dollars. Depending on your country, sales tax or VAT is either included in the price or added at checkout.

## Questions and answers

### Does my data pass through Keepware's servers?

No. QuerentDB connects to your databases straight from your computer — directly or through your SSH tunnel — and Keepware's cloud never connects to them. Queries and results travel only between your computer, your database and the model you chose. The cloud holds your team (members, roles and sealed config) and, if an admin turns audit on, encrypted statements with their row counts. Never results.

### Which AI model does the Agent use?

Yours. If Claude Code is installed and signed in, QuerentDB drives the local `claude` CLI, so Fable, Opus, Sonnet and Haiku run on your own subscription with no API key. Or add any endpoint that speaks the Anthropic Messages API, with your own key. Keys stay in your OS keychain — macOS Keychain, Windows Credential Manager or libsecret.

### Can the Agent change my data on its own?

No. Where the environment's AI policy allows, it runs read-only queries to check the schema and real values. Anything that writes comes back as a proposal with an estimate of the rows it affects; you press Run, and in a protected environment you type the environment's name first. Admins can limit the Agent to schema only, or switch it off, per environment.

### Do I need an account?

Not for personal use. QuerentDB works fully signed out — all five engines, the Agent with your own model and one MCP token — with your config kept on your computer, encrypted with a key in your OS keychain. Sign in with Google (your [Keepware account](https://www.keepware.dev/account)) to create a team or join one. Teams live in your Keepware account — one team for every Keepware product, with its members, invitations and billing — and QuerentDB keeps their roles, environments and keys.

### Can teammates see the database passwords?

QuerentDB never shows a saved password, not even to admins. But a client that connects directly has to hold the password while it's connected — TablePlus and DataGrip do too — so a member with access to an environment could dig it out of their own computer. That's why QuerentDB gives read-only members only the read-only database account, logs statements when audit is on, and asks you to change passwords when someone leaves. Keepware can't read any of it.

### How do Claude Code or Cursor connect?

Through the MCP server QuerentDB runs on `127.0.0.1:7466`; it accepts only local connections and checks the `Origin` header, so web pages can't reach it. Create a token in Settings → MCP & CLI and add it with `claude mcp add` (the command is [on this page](https://www.keepware.dev/querentdb#your-agents-your-permissions)); snippets for Cursor and VS Code are in the same place. Writes from an external agent wait for your approval on screen — for unprotected environments, a token can be set to stop asking.

### Which database versions are supported?

MySQL 5.7 – 9.x, PostgreSQL 13 – 17, MongoDB 4.4 – 8.x (including replica sets and Atlas Search / Vector Search indexes), Redis 5.0 – 7.x and Valkey 8 (standalone — Cluster and Sentinel come later), and Elasticsearch 6.8 – 8.x and OpenSearch 2. QuerentDB reads the server version when it connects and only offers what that version supports. The end-to-end tests click through MySQL 5.7, 8.0, 8.4 and 9, PostgreSQL 13, 15, 16 and 17, MongoDB 4.4 to 8, Redis 5, 6.2 and 7, Valkey 8, Elasticsearch 6.8, 7.17 and 8.19 and OpenSearch 2 — [the full list](https://www.keepware.dev/guides/querentdb-supported-databases).

### What does a team cost, and what if we stop paying?

$1.99 per seat a month or $19.99 per seat a year, with no seat cap and no usage metering, after a 14-day trial that needs no card. A team pays once on keepware.dev for every Keepware product it uses. Payments go through Paddle, our reseller, and any payment can be [refunded](https://www.keepware.dev/refunds) within 14 days. If the subscription lapses, cloud sync turns read-only; everything already on your computers keeps working and can be exported. Your passwords and config are never held back.

### When can I get it?

Now, on macOS 12 or later (one app for Apple silicon and Intel), Windows 10/11 and Ubuntu 22.04 or later — [download it above](https://www.keepware.dev/querentdb#download). The Mac app is signed and notarized by Apple, so it opens like any other app. From 0.2.0 on, QuerentDB updates itself on all three — Settings › This computer › Updates (0.1.x has no updater, so download the current version once). The Windows installer isn't code-signed yet, so Windows SmartScreen asks once — choose More info › Run anyway.

## Guides

- [What is QuerentDB? A desktop database client with an AI agent](https://www.keepware.dev/guides/what-is-querentdb): QuerentDB is a desktop client for MySQL, PostgreSQL, MongoDB, Redis and Elasticsearch, with AI in every tab, an MCP server, a CLI and optional teams.
- [Get started with QuerentDB on Mac, Windows and Ubuntu](https://www.keepware.dev/guides/querentdb-getting-started): Install QuerentDB on a Mac, Windows 10/11 or Ubuntu 22.04+, create an environment, connect to a MySQL database with a read-only and a read-write account, and run your first query.
- [Supported databases and versions](https://www.keepware.dev/guides/querentdb-supported-databases): Every database and version QuerentDB is tested against: MySQL, PostgreSQL, MongoDB, Redis and Valkey, Elasticsearch and OpenSearch, plus TLS, SSH and what's not supported yet.
- [Personal and Team: what's free in QuerentDB, and what Teams add](https://www.keepware.dev/guides/querentdb-personal-vs-team): QuerentDB's Personal workspace is free and needs no account. A team adds shared, encrypted connections, roles per environment and an audit log, per seat.
- [Environments in QuerentDB: dev, test and a protected prod](https://www.keepware.dev/guides/querentdb-environments): Group connections into environments like dev and prod. Protect prod so writes need its name typed, require TLS, and choose what AI tools may see.
- [Connect to a database through an SSH tunnel (bastion host)](https://www.keepware.dev/guides/querentdb-ssh-tunnel): Reach a database on a private network through an SSH bastion in QuerentDB: password or private key login, the host fingerprint check, and connections that share the tunnel.
- [Query MySQL and PostgreSQL in QuerentDB](https://www.keepware.dev/guides/querentdb-sql): Browse tables with filters, write SQL with autocomplete, Format and Explain, sort, copy and export results, and read table structure in QuerentDB.
- [Browse and query MongoDB in QuerentDB](https://www.keepware.dev/guides/querentdb-mongodb): Filter MongoDB documents in mongosh syntax, project and sort, run aggregations, update matching documents with an estimate first, and manage indexes in QuerentDB.
- [Redis keys and Elasticsearch search in QuerentDB](https://www.keepware.dev/guides/querentdb-redis-elasticsearch): Browse Redis keys with SCAN, edit values and TTLs, run Redis commands; search Elasticsearch, filter hits, and run Kibana-style DSL requests in QuerentDB.
- [Use QuerentDB as an MCP server in Claude Code, Cursor and VS Code](https://www.keepware.dev/guides/querentdb-mcp-server): Connect Claude Code, Cursor or VS Code to your databases through QuerentDB's local MCP server: a personal token, your permissions, and your approval for every write.
- [The qdb command line: query your databases from the terminal](https://www.keepware.dev/guides/querentdb-qdb-cli): qdb is QuerentDB's command line: list connections, describe tables and run queries into CSV, JSON or jq from any terminal, with your permissions and approvals.
- [Give Claude Code read-only access to a production database](https://www.keepware.dev/guides/querentdb-claude-code-read-only-production): Let Claude Code or Cursor query production safely with QuerentDB: a read-only database account, an MCP token limited to prod and read-only, and a protected environment.
- [Fix “Certificate fingerprint changed” in QuerentDB](https://www.keepware.dev/guides/querentdb-certificate-fingerprint-changed): Why QuerentDB refuses a connection when a pinned certificate changes, how to check the new fingerprint with your database admin, and how to trust it.
- [Working for several teams with Claude Code on one computer](https://www.keepware.dev/guides/claude-code-several-teams-one-computer): Freelancers, consultants and anyone in two or three teams at once: what has to stay apart when Claude Code works for each — accounts, connections, secrets, databases, designs and events — how to keep it apart by hand, and how Keepware switches all of it with the team.
- [Running Claude Code for several clients: Tillerman vs Claude Desktop, dev containers, Spaces and shell aliases](https://www.keepware.dev/guides/claude-code-several-clients-compared): An honest comparison for freelancers and consultants: how Claude Desktop, shell aliases with CLAUDE_CONFIG_DIR, dev containers, Spaces, Conductor and parallel-agent tools handle several clients on one computer — accounts, connections, secrets, events, phones and isolation — and where each is better than Tillerman.

## Release notes

Latest: v0.3.3. Every release: https://www.keepware.dev/querentdb#release-notes · https://www.keepware.dev/releases
