A CockroachDB GUI for Mac and Windows
By Tanin Na Nakorn · Updated
cockroach sql prints results as text in a terminal, and the DB Console is built for watching the
cluster, not for reading your tables. Superintendent is a desktop SQL client for the everyday part: looking at
data, running queries, and fixing a row now and then.
Connect to CockroachDB
CockroachDB speaks the PostgreSQL wire protocol, so you connect to it as a PostgreSQL database. Copy the connection string from the Connect dialog in CockroachDB Cloud:
postgresql://maxroach:[YOUR-PASSWORD]@your-cluster-1234.abc.cockroachlabs.cloud:26257/defaultdb?sslmode=verify-full
In Superintendent, click + next to Databases, choose
PostgreSQL, and paste it into the URL field. With verify-full, the server's
certificate is checked against the public certificate authorities; if your cluster uses its own CA certificate,
set the SSL mode to require, which still encrypts the connection. For a local insecure cluster, use
port 26257, user root, and SSL mode disable.
Browse and query
Your tables and views show up in the sidebar. Open one to scroll through it; sorting and filtering run in CockroachDB, so they work on large tables. Rows keep loading as you scroll. Open a query tab for anything else:
select
region,
count(*) as orders,
sum(total) as revenue
from orders
where created_at >= now() - interval '7 days'
group by region
order by revenue desc
Edit rows safely
Double-click a cell to change it, or add and delete rows from the grid. Each change finds its row by the primary key, so it touches exactly one row, and you confirm it before it's sent.
Join CockroachDB with CSVs and other databases
Download a table or query result into the local workspace and join it with a CSV, or with results from MySQL, SQL Server, ClickHouse, or Snowflake. The joins run on your computer and don't add load to your cluster.
Work with an AI agent
Ask Claude Code or Codex in the app's agent panel to find the right table, write the query, and open the result. Agent queries run in a read-only transaction, so they can't change your data.
What it doesn't do
Superintendent doesn't manage nodes, regions, zones, or jobs. Keep using the DB Console and
cockroach CLI for running the cluster.
Questions
How do I connect to CockroachDB?
CockroachDB speaks the PostgreSQL wire protocol, so choose PostgreSQL in Superintendent and paste your connection string, or enter the host, port 26257, database, user, and password.
Does it work with CockroachDB Cloud?
Yes. Copy the connection string from the Connect dialog in the CockroachDB Cloud console. Self-hosted clusters work too.
Which SQL dialect do I write?
Queries against CockroachDB run on CockroachDB, so you write its SQL. Queries in the local workspace use DuckDB SQL.
Can I edit rows?
Yes, in tables with a primary key or a unique index on columns that can't be NULL, so every change hits exactly one row. You edit one cell at a time and confirm each change.
Is it free?
Yes. Superintendent is free and open source under the MIT license, with builds for Apple Silicon Macs, Intel Macs, and Windows.