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.
Which plans brought in the most new revenue this quarter?
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:
Chart weekly signups from the users table for this year and save it to a dashboard called Growth.
- list_sources · finds PostgreSQL · public
- get_data_context · reads the tables and what the columns mean
- query · runs the SQL read-only, returns the rows
- render_ui · draws the chart from those rows, in the chat
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
publicschema.
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.
Which channels actually brought in revenue last quarter?
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
- $151,200
- Paid social
- $96,700
- Direct
- $61,300
One click later, that chart is a dashboard of its own:
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.