PostgreSQL logo

Dataki for PostgreSQL

Ask PostgreSQL in plain English

Ask your PostgreSQL database questions in plain English. Dataki writes the SQL, runs it with a read-only user and charts the answer — in the browser, or from Claude, ChatGPT or Cursor.

Connects directly A read-only user, over TLS, from one fixed IP.

app.dataki.ai / chat PostgreSQL · public

Which plans brought in the most new revenue this quarter?

Reading the schema, writing the query…
SQL 240 ms · read-only
SELECT p.name AS plan, SUM(s.amount) AS new_revenue
FROM   subscriptions s
JOIN   plans p ON p.id = s.plan_id
WHERE  s.started_at >= DATE_TRUNC('quarter', NOW())
GROUP BY p.name ORDER BY new_revenue DESC;
New revenue by plan Q3 · 5 rows
Business annualTeam annualBusiness monthlyTeam monthlyStarter $0$50k$100k$150k$200k

Business annual brought in $184k of the quarter's $455k in new revenue, 40% of it.

01Questions

What people ask PostgreSQL

Each one becomes a query against PostgreSQL, run read-only, with the SQL shown beside the chart so anyone who reads SQL can check it. Anything worth keeping goes on a dashboard that refreshes on its own.

  • How many accounts signed up each week this quarter, and how many are still active?
  • Which customers have the most open orders, and how old is the oldest one?
  • What share of revenue came from annual plans last month?
  • Which tables reference the users table, and how are they joined?

02From your assistant

Ask PostgreSQL from Claude, ChatGPT or Cursor

Dataki runs a hosted MCP server. Add it to your assistant once and it can read your PostgreSQL schema and run read-only queries through Dataki. The assistant gets the rows back; the PostgreSQL credentials stay encrypted in Dataki and never reach the model.

Setup for your assistant:

Claude · dataki (MCP) PostgreSQL · public

Chart weekly signups from the users table for this year and save it to a dashboard called Growth.

  1. list_sources · finds PostgreSQL · public
  2. get_data_context · reads the tables and what the columns mean
  3. query · runs the SQL read-only, returns the rows
  4. render_ui · draws the chart from those rows, in the chat
server URL streamable http
https://dataki.ai/api/mcp

03Setting it up

Connecting PostgreSQL

A read-only user, over TLS, from one fixed IP. The setup guide covers it step by step.

Setup
About 5 minutes.
Connects from
34.89.253.13, one fixed address to allow.
Encryption
TLS whenever the server offers it, which most hosts require. The server certificate is not verified, and client certificates are not supported.
What it reads
Tables and views in the public schema.

The answer is still there tomorrow.

Ask in plain language. Dataki writes the SQL, runs it against your warehouse and draws the chart. Anything worth keeping becomes a dashboard with a link — not a message that scrolls away.

app.dataki.ai / chat

Which channels actually brought in revenue last quarter?

Queried bigquery · payments · 1.2 GB scanned
SELECT channel,
       SUM(amount) AS revenue
FROM   payments
WHERE  created_at >= DATE_TRUNC(CURRENT_DATE(), QUARTER)
GROUP BY channel
ORDER BY revenue DESC

Revenue by channel

Q3 · 5 rows

Organic search
$412,900
Partner referral
$268,400
Email
$151,200
Paid social
$96,700
Direct
$61,300

One click later, that chart is a dashboard of its own:

app.dataki.ai/d/revenue-by-channel

Live, not a screenshot. It re-runs the query on a schedule, so the number your team reads on Friday is Friday's number.

  • Share the link with anyone. Viewers are free on every plan.
  • Edit the SQL by hand whenever the model gets the logic almost right.
  • Drop the same dashboard into your own product with one line of HTML.

Using Dataki with PostgreSQL

Can I query PostgreSQL in plain English instead of writing SQL?
Yes. Dataki reads your PostgreSQL schema, turns a plain-English question into a query, runs it against PostgreSQL and returns a chart. The generated query is shown with every result, so you can verify or edit it.
Is there a hosted PostgreSQL MCP server?
Dataki is one. Its remote MCP server reaches PostgreSQL through a read-only connection you set up once in Dataki, so nothing is installed on your machine and no connection string goes into an assistant's config. It offers tools to list sources, read the schema and its documented meaning, run read-only SQL, draw charts in the conversation and save dashboards. Every query is logged with the key that ran it.
How do I build a dashboard from PostgreSQL data without an ETL pipeline?
Connect PostgreSQL to Dataki with a read-only connection, ask your question, and keep the answer as a dashboard widget. Dataki queries PostgreSQL directly at read time, so there is no pipeline to build, no warehouse to sync into and no copy of your data to keep current.
Can Claude, ChatGPT or Cursor query my PostgreSQL data?
Yes, through Dataki's hosted MCP server at https://dataki.ai/api/mcp. Connect PostgreSQL to Dataki, add that URL as a connector in Claude or ChatGPT (or in Cursor, VS Code or Claude Code with a Dataki key), and the assistant can read the schema and run read-only queries. It gets the rows back; the credentials stay encrypted in Dataki and are never handed to the model.