New
v1.4 · Safer sign-in for hosted connections
Plug AI into your database.
Without the risk.
Socket connects Claude, ChatGPT or Cursor to your Postgres database. Your team asks questions in plain English. The AI can read the data, but it can’t change or leak it.
Works with Postgres 13–17
Read-only by default
Queries
Last 24 hours · 1,284 calls from 3 clients
Queries
1,284
+12% vs yesterday
p50 latency
38 ms
p95 212 ms
Writes
0
Read-only mode
Pending approvals
2
Oldest 14 min
Client
Tool
Status
Claude
run_query
OK
Cursor
describe_table
OK
ChatGPT
sample_rows
Masked
Claude
explain_query
OK
Cursor
propose_migration
Needs approval
Works with the AI tools your team already uses
Claude
ChatGPT
Cursor
VS Code
Raycast
Supabase
Ready-made AI actions
Look up, explain and sample.
Rows of your data stored
Streamed to you, never saved.
Max time per query
Most answers come back in 38 ms.
Install to first answer
Install, connect, then ask.
01 / Get started
Set up in three steps.
It runs next to your AI tool. Nothing new to host or maintain.
Restart Claude Desktop. Socket appears under Connectors.
02 / What it can do
Eight things your AI can do.
Six only read data. Two suggest changes that a person has to approve.
See which tables the AI is allowed to look at.
Read only
Learn what's in a table before writing a query.
Read only
Look up an answer, read-only, with time and row limits.
Read only
Check if a query will be slow before running it.
Read only
Peek at a few example rows, with private data hidden.
Read only
Find the queries that slow your app down.
Read only
Suggest a database change for a person to review.
Needs approval
Save a useful query for the team, once you approve it.
Needs approval
03 / Safety
Safe without extra setup.
Socket enforces the rules itself, so the AI can't talk its way around them.
Read-only access
The AI can look at your data, but it can never edit or delete it.
Private data hidden
Emails, names and phone numbers are blurred before the AI sees them.
A person approves changes
Any change to your database waits until a teammate says yes.
Built-in limits
Queries stop after 15 seconds and return at most 200 rows.
A record of everything
See every question, the query it ran, who asked and how long it took.
Runs where you want
On your laptop, on your own servers, or hosted by us.
04 / See it work
One question, answered safely.
On the left, the chat. On the right, everything Socket checked and recorded.
Churn by plan
socket · prod-replica
Which plan has the highest churn this quarter?
socket · describe_table
read-only · 38 ms
describe_table({ table: subscriptions })
plan · status · canceled_at · started_at
socket · run_query
read-only · 38 ms
select plan, round(100.0 * count(*) filter (where canceled_at is not null) / count(*), 1) as churn
from subscriptions where started_at >= '2026-10-01' group by plan;
starter 6.8 · team 3.1 · business 1.4
Claude
Churn this quarter
3 rows · 41 ms
Starter
6.8%
Team
3.1%
Business
1.4%
Starter has the highest churn this quarter at 6.8%, more than double Team (3.1%). Business is lowest at 1.4%. Want me to break Starter down by signup month?
Break Starter down by signup month
Audit log
session 7f3a
14:02:09
describe_table
subscriptions · 4 columns
12 ms
14:02:10
run_query
1 statement · 3 rows
41 ms
14:02:11
response
Answer returned to Claude
—
Checks passed
Read-only transaction
Schema allowed: billing
No PII columns in result
3 of 200 max rows
Under 15 s timeout (53 ms)
How Socket checks every request
“We connected Claude to production in an afternoon. The security review took one meeting.”
Maya Okafor
Staff Engineer, Northwind Analytics
05 / What's new
Recently shipped.
New releases every few weeks.

Security
v1.4.0
OAuth 2.1 for remote connections
Remote clients now sign in with OAuth 2.1 and PKCE instead of long-lived tokens. Existing tokens keep working until January 31.

Feature
v1.3.0
New tool: find_slow_queries
Agents can now rank the slowest statements from pg_stat_statements and suggest indexes backed by real timings.

Security
v1.2.0
Automatic PII masking
Emails, names and phone numbers are masked in every result by default. Tag extra columns as sensitive in socket.toml.
Open source · MIT
Connect your database in two minutes.
Free if you run it yourself. Hosted plans from $19 a month.