Database client for MacYour database, next to the code that queries it.

PostgreSQL, MySQL, MariaDB, SQL Server, SQLite and Snowflake behind ⌥⌘T. The schema tree comes from a cached catalog, so it opens before the server answers.

The Kami database view: a SQLite source in the explorer, a SQL console with a revenue-per-customer query, and its eight rows in the result grid.

Connecting

  • Passwords from your keychain, an environment variable or a command.
  • Snowflake signs in through your browser or with a programmatic access token.
  • Any networked source can go through an SSH tunnel, with your own ssh and its config. TLS can be verified.
  • Mark a source read-only, enforced by the server where it can be.
  • Keep sources in your settings or commit them with the workspace.
  • An explorer filter that searches every cached catalog at once.

Querying

  • SQL consoles with highlighting and completion: each source’s own, and as many new ones as you like, in one tab strip.
  • Run the statement at the caret with ⌘↵, or the whole script; triggers and procedures run whole, and DELIMITER works.
  • A paged grid you can sort, filter, select and copy from. Export the rows, or the whole query, as CSV, TSV, JSON, SQL INSERT or Markdown.
  • Per-session transactions with auto or manual commit, and ⌘. cancels a query.
  • A searchable Query History of what each console ran.
  • A WHERE and ORDER BY filter bar over the grid, and each query’s status and timing in the output log.

Changing

  • Edit rows in the grid on any table with a key, and submit them after a preview.
  • Create, alter and drop tables, columns, indexes and foreign keys from a dialog.
  • Every change shows its SQL before it runs, and destructive SQL asks first.
  • A table’s data opens in its own tab.
  • An ER diagram of a source or schema: pan, zoom, drag the tables, and double-click one to open its rows.

How it works

The schema tree comes from a catalog Kami keeps on disk, so the explorer is there the moment the view opens, before the server has answered, and one filter searches every cached catalog at once.

A source’s settings say where its password comes from (your keychain, an environment variable, or a command such as op read) and never hold the password itself. So a source can be committed with the workspace, and each person on the team signs in with their own.

Questions

Which databases does Kami support?

PostgreSQL, MySQL, MariaDB, SQL Server, SQLite and Snowflake.

Can it connect through an SSH tunnel?

Yes. Any networked source can go through one, using your own ssh and ~/.ssh/config, with the agent, a key or a password. TLS can be off, preferred, required or verified.

Can I export results?

Yes. Export the rows on screen, or the whole query, to a file as CSV, TSV, JSON, SQL INSERT statements or Markdown. Any selection of cells also copies as tab-separated text.

Start in under 200 milliseconds.

Join the waitlistJoin

Private alpha, by invitation. Universal app, signed and notarized.