A PlanetScale desktop client
By Tanin Na Nakorn · Updated
PlanetScale's web console is good for a quick query, but it's a browser tab that only knows about one database. Superintendent is a desktop SQL client where your PlanetScale branches sit next to your CSV files and your other databases.
Connect to PlanetScale
In PlanetScale, open your database, pick a branch, and click Connect to create a password. Copy the host, user, password, and database name.
- Vitess (MySQL) databases: in Superintendent, click + next to Databases, choose MySQL, and enter them with port 3306. The connection uses TLS, which PlanetScale requires.
-
Postgres databases: choose PostgreSQL instead, and set the SSL mode to
require.
For a production branch, give the password a role that can only read. Then nothing you do on that connection can change data.
Browse and query
Your tables and views show up in the sidebar. Open one to scroll through it; sorting and filtering run in PlanetScale, so they work on large tables. Open a query tab for anything else:
select
date(created_at) as day,
count(*) as signups
from users
where created_at >= now() - interval 14 day
group by day
order by day
The result opens in a grid you can scroll, sort, filter, and copy from. Export CSV saves it to a file.
Edit rows safely
On a branch where your password can write, 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 PlanetScale 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 another branch or database. The joins run on your computer, so they don't add load to your database.
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 read-only, so they can't change your data.
What it doesn't do
Superintendent doesn't create branches, deploy requests, or passwords. Do that in PlanetScale or with the
pscale CLI, then connect to the branch.
Questions
Does it work with PlanetScale Postgres and Vitess databases?
Yes. Connect a Vitess database as MySQL and a Postgres database as PostgreSQL, with the host, user, and password from PlanetScale's Connect page.
Can I connect to more than one branch?
Yes. Each branch has its own passwords, so add one connection per branch, for example main and a development branch.
How do I avoid changing production by accident?
Give the production branch's password a role that can only read. Then nothing on that connection can change data, even a statement in a query tab.
Can I edit rows?
Yes, with a password that's allowed to write, in tables with a primary key or a unique index on columns that can't be NULL. 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.