Connect PostgreSQL to Claude in 5 Minutes

Let Claude query your PostgreSQL database directly — ask questions in plain English and get answers from live data. No backend code, no API wrappers.

1

Create a free Conexor account

Sign up at conexor.io — no credit card required. The free tier includes one database connection and 1,000 queries per month.

2

Add your PostgreSQL connection

Enter your PostgreSQL connection details. We recommend creating a dedicated read-only user for security.

postgresql://conexor_reader:your_password@your-host:5432/your_database
3

Copy your MCP server URL

Conexor generates an MCP server with tools for each table. Copy the server URL and API key from your dashboard.

https://mcp.conexor.io/sse?apiKey=cnx_your_api_key
4

Add to Claude Desktop

Open Claude Desktop → Settings → MCP Servers → Add Server. Paste your MCP server URL. Claude discovers your database schema automatically.

5

Ask your first question

Open a new conversation and ask: "What were our top 10 customers by revenue last quarter?" Claude queries your PostgreSQL database and returns the answer.

Manual API vs. Conexor MCP Server

FeatureManual APIConexor
Setup time2–5 days5 minutes
Backend code requiredYes (auth, routing, validation)None
Schema discoveryManualAutomatic
SQL injection protectionYou implement itBuilt-in parameterized queries
Audit loggingYou build itIncluded
Auto-updatesYou maintain itAutomatic
MCP protocol complianceYou implement itNative

Ready to connect PostgreSQL to Claude?

Free tier includes 1 database connection and 1,000 queries/month. No credit card required.

Get Started Free →
Relay

Quick questions

Relay

Quick questions