Get answers from your PostgreSQL data, in Claude, Cursor, or ChatGPT

Ask Claude, Cursor, ChatGPT, or any other MCP client something like "how many signups came in on the Pro plan this week?" and it queries your live PostgreSQL database for the real answer. SaturnSQL's hosted MCP server gives it the tools, no config file or local process required.

ClaudeMCP · postgres
You
How many signups did we get last week, broken down by plan?
execute_query
SELECT plan, COUNT(*) AS signups
FROM users
WHERE created_at > now() - interval '7 days'
GROUP BY plan
ORDER BY 2 DESC;
plansignups
free142
starter31
pro9
Claude
182 signups last week, mostly free plan.

Setup

1. Add your Postgres connection in SaturnSQL (host, port, database, credentials, or a connection string, over SSL or an SSH tunnel).

2. Click your name in the sidebar, then Install MCP, and pick your client: Claude, ChatGPT, Cursor or Claude Code. You add https://mcp.saturnsql.com/mcp and sign in with your SaturnSQL account, with no API key to copy and no local Postgres MCP server to run or maintain.

Your AI client can now ask for your table list, inspect columns and foreign keys, and run SQL against the database, scoped to the same read-only, row-limited execution SaturnSQL uses everywhere else.

Why not run postgres-mcp yourself?

Self-hosted Postgres MCP servers exist, but they mean a local process, a raw connection string sitting in a config file, and no shared query library for your team. SaturnSQL's connector reuses a connection you've already secured, and every query your AI client saves lands in the same library your team already uses.

Common questions

Does it work with Postgres on RDS, Supabase, or self-hosted? Yes, anywhere SaturnSQL can reach over TCP, with SSL or an SSH tunnel where required.

Can I limit my AI client to specific tables? Use a Postgres role with grants on only the schemas you want exposed, then connect with that role. See setting up a read-only database user.

What plan do I need? The MCP connector requires the Starter plan or higher, same as PostgreSQL connections themselves.

Other databases

Not on Postgres? Claude, ChatGPT, Cursor, and Claude Code all connect to MySQL, Oracle, BigQuery, SQL Server, ClickHouse, and Redshift the same way, or see the full MCP server overview for the rest.

Get answers from your Postgres data in Claude, Cursor, or ChatGPT