A SQL client with Claude Code built in
By Tanin Na Nakorn · Updated
Claude Code and Codex are good at SQL. In a terminal, though, their answers come back as text: a few rows in a markdown table, a summary, a number you have to trust. When the data matters, you want to see the rows yourself, sort them, and spot the one that looks off.
Superintendent gives the agent a workspace you share. It writes the query; you see the result in a grid.
Set up
- Install Claude Code or Codex and sign in, if you haven't already.
- Download Superintendent and open it.
- Open the agent panel and pick Claude Code or Codex. Superintendent finds the installation on your computer.
There's no API key to paste and no extra subscription. The agent runs under your own account, with your own settings.
What you can ask
The agent works through the same workspace you do. It can:
- Import a CSV file into the workspace.
- List your saved databases, their tables, and columns.
- Write and run SQL in the workspace or on a database.
- Download a database table or query result into the workspace, so it can be joined with other sources.
- Open query and result tabs, sort and filter results, and highlight the rows it's talking about.
So you can hand it whole tasks:
- "Import
stripe_payments.csvand find the payments with no matching customer in Postgres." - "Which ClickHouse table has the page views? Show me last week's top 20 pages."
- "Compare
customers_janandcustomers_feband show me what changed." - "This column has dates in three formats. Write a query that parses all of them."
Check the work
Every query the agent runs shows up as a tab, and every result opens in the grid. Scroll through all of it, sort, filter, and read the SQL it wrote. If something looks wrong, tell it, or fix the query yourself and keep going. You don't have to take a summary on trust.
Privacy
Superintendent runs your queries on your computer. When you chat with an agent, whatever it reads (table schemas, query results) goes to Anthropic or OpenAI under your account, as it would in a terminal. The agent sees each database's host, port, and name, but never its password, token, or key. If you don't use the agent, nothing leaves your machine.
Use another agent
Prefer a different agent, or want Claude Code in your own terminal to use Superintendent? Connect it through the built-in MCP server.
Questions
Do I need a separate subscription or API key?
No. Superintendent runs the Claude Code or Codex already installed on your computer, signed in with your own account. Usage counts against that account as usual.
What does the agent see?
What it asks for through Superintendent's tools: table names, columns, and the rows its queries return. That goes to Anthropic or OpenAI, like anything else you share with the agent. It sees each database's host, port, and name, but never its password, token, or key.
Can I choose the model?
Yes. Pick the model, and the effort level where the agent supports it, from the agent panel.
What if I don't use the AI features?
Then nothing leaves your computer. Superintendent works the same without an agent.
Can I use an agent other than Claude Code or Codex?
Yes. Any MCP client can connect to Superintendent's built-in MCP server.