Setup in Claude Code
1. Add your database connection in SaturnSQL, the same connection the editor uses.
2. Run this in a terminal. Add --scope user to make it available in every project:
claude mcp add --transport http saturnsql https://mcp.saturnsql.com/mcp
3. Start Claude Code, run /mcp, pick saturnsql and sign in to SaturnSQL. Claude Code can now list your connections, read schemas and run queries.
No header, no API key and no environment variable. Claude Code keeps the sign-in token and refreshes it for you.
What it can do
The connector gives your assistant eight tools: list your connections, read a schema (tables, columns and foreign keys), run SQL, browse and open your team's saved queries, run one of them with its variables filled in, save a new query back to that library, and export a result as CSV, JSON or Excel. Queries get the same row limits as the SaturnSQL editor, and the same read-only check on connections in read-only mode (the default), and billing, users and account settings are never reachable.
It works with PostgreSQL, MySQL and MariaDB, SQL Server, Oracle, Amazon Redshift, ClickHouse, BigQuery and DynamoDB. Your database password stays encrypted in SaturnSQL; the assistant only ever sees results.
Why not psql in the terminal?
Claude Code can run psql, but then it holds your connection string, can run anything the database user can, and each engine needs its own CLI. Through SaturnSQL it gets one consistent set of tools for every engine, read-only validation and row limits, and the queries it saves land in your team's shared library instead of your shell history.
Common questions
What plan do I need? The MCP server is included on SaturnSQL Starter and above. The free plan can try the editor, but it cannot connect an AI client.
Does the assistant see my database password? No. The connection and its credentials stay encrypted in SaturnSQL. Your AI client signs in with your SaturnSQL account and only receives query results.
Can it change or delete data? Not unless you allow it. New connections start in read-only mode, where every query must be a single SELECT, WITH or EXPLAIN statement. Keep read-only mode on for the connections your AI client uses, and connect with a read-only database user as well.
Can I use an API key instead of signing in? Yes, for CI or headless machines. Create a named key in the Install MCP dialog and add it with --header "Authorization: Bearer sat_live_...". On your own machine, signing in is simpler and nothing secret is stored in your config.
Does the same connector work in Claude on the web? Yes. Add the same URL as a custom connector in Claude settings. See the Claude setup page.
Other AI clients
Using something else? The same server works in Claude, ChatGPT and Cursor, or see the MCP server overview.
Give Claude Code access to your database
