Connect Claude to PostgreSQL

SaturnSQL's hosted MCP server gives Claude tools to browse your PostgreSQL schema, run read-only queries, and save results, without you writing a config file or running a local process.

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 paste the copied prompt into Claude. It connects itself, no local Postgres MCP server to run or maintain.

Claude 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 Claude 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 Claude 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.

Is this free? Yes, MCP access is included on every plan, including Free.

Let Claude query your Postgres database