Connect Claude to your database

Ask Claude "which customers upgraded this month?" and it answers from your live database, not a guess. SaturnSQL runs the MCP server, so you add one custom connector URL in Claude and sign in. No config file, no Node.js, no API key.

ClaudeMCP · postgres
You
Which customers upgraded to a paid plan this month?
execute_query
SELECT c.name, s.plan, s.started_at
FROM subscriptions s
JOIN customers c ON c.id = s.customer_id
WHERE s.started_at >= date_trunc('month', now())
  AND s.plan <> 'free'
ORDER BY s.started_at DESC;
nameplanstarted_at
Acme Oypro2026-09-24
Nordlys ASstarter2026-09-17
Brightline Ltdstarter2026-09-03
Claude
Three customers upgraded this month, most recently Acme Oy to Pro.

Setup in Claude

1. Add your database connection in SaturnSQL, the same connection the editor uses.

2. In Claude (web or desktop), open Settings → Connectors and click Add custom connector. Name it SaturnSQL and paste this URL:

https://mcp.saturnsql.com/mcp

3. Click Connect, sign in to SaturnSQL and allow access. Claude now lists your connections and can query them in any chat.

On Claude Team and Enterprise, an organization owner may need to add the connector for the workspace first. Members then connect it with their own SaturnSQL login, so everyone sees only the connections they already have access to.

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 run a local MCP server?

Local database MCP servers mean editing claude_desktop_config.json, running a Node or Python process on every laptop, and pasting a raw connection string into a file. They also only work in Claude Desktop, not in Claude on the web. A hosted connector works everywhere you use Claude, reuses the connection you already secured in SaturnSQL, and every query Claude saves lands in your team's shared library.

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.

Does it work in Claude Code too? Yes. Claude Code adds the same server with one command and signs in the same way. See the Claude Code setup page.

Why does Claude say "Couldn't reach SaturnSQL"? Remove the connector and add it again with the exact URL https://mcp.saturnsql.com/mcp, then click Connect and finish the sign-in. If it still fails, contact support with the reference Claude shows.

Other AI clients

Using something else? The same server works in ChatGPT, Cursor and Claude Code, or see the MCP server overview.

Connect Claude to your database