TL;DR: MotherDuck's Postgres endpoint lets any Postgres-compatible client, driver, or BI tool query your MotherDuck database directly without a DuckDB library. Louisa Huang and Garrett O'Brien walk through the architecture, run live demos, and share connection pooling tips.
What the Postgres endpoint actually is
The Postgres endpoint is a translation layer that makes MotherDuck speak the Postgres wire protocol. Your application connects with a standard Postgres driver like node-postgres or JDBC, but execution still happens server-side on MotherDuck using DuckDB SQL. You keep your existing connection pooler and query patterns; MotherDuck handles the analytical work.
Why this matters if you're running analytics on Postgres
If your analytical queries are competing with transactional traffic on the same Postgres cluster, this gives you a way to split them apart. Analytical workloads route to MotherDuck through the same Postgres drivers your app already uses, so your Postgres instance stays lean. It also works in runtimes that couldn't load a DuckDB client before: Cloudflare Workers, Vercel Serverless Functions, AWS Lambda.
Live demo: NYC taxi dashboard on Vercel
Louisa builds a working NYC taxi dashboard with Next.js, Vercel, and node-postgres pointed at a free MotherDuck account on a Pulse instance. Every chart fires a query through the Postgres endpoint, and the dashboard stays responsive while aggregations run across millions of rows.
Connection pooling and read scaling
Connection pooling works the same way it does with a real Postgres database. Open connections at server start, reuse them. A pool size of 10 to 100 handles most applications. If you need higher concurrency, swap your regular MotherDuck token for a Read Scaling token. Each pooled connection gets routed to a separate ducklink, so you get horizontal scaling without changing application code.
When you still want the DuckDB client
The Postgres endpoint makes sense for embedded analytics, BI integrations, and serverless workloads. For exploratory analysis, bulk ingestion with the Appender API, or anything that benefits from DuckDB-Wasm in the browser, the DuckDB client is still the better fit. The MotherDuck getting started guide walks you through setting up a free workspace to try both.



