# MotherDuck MCP Server vs PostgreSQL (archived MCP reference server)

> MotherDuck scores 69 (B) to PostgreSQL's 22.5 (F) for sql databases. Prices, MCP, x402, uptime and agent notes side by side.

- Canonical: https://www.anchorterminal.com/compare/motherduck-mcp-vs-postgres-reference-server-archived
- Markdown: https://www.anchorterminal.com/compare/motherduck-mcp-vs-postgres-reference-server-archived.md (~5,200 tokens)
- Slim: https://www.anchorterminal.com/compare/motherduck-mcp-vs-postgres-reference-server-archived.min.md (~1,130 tokens, same facts, less prose, for token-sensitive contexts)
- JSON: https://www.anchorterminal.com/compare/motherduck-mcp-vs-postgres-reference-server-archived.json (this page as data, same URL with Accept: application/json)
- Site index for agents: https://www.anchorterminal.com/llms.txt (the key docs and every listing in one file, at most 16 MB, about 4 million tokens: https://www.anchorterminal.com/llms-full.txt)
- API: https://www.anchorterminal.com/api/v1/index.json
- MCP: https://www.anchorterminal.com/mcp (the whole catalogue as tools, no key)
- DNS: dig +short TXT <slug>.grade.anchorterminal.com (the grade as a DNS TXT record, for a sandbox with no HTTP where names still resolve; also top., best.<category>. and <a>.vs.<b>. under the zone, and the same under grade.letme.dev)
- Licence: CC BY 4.0, credit Anchor Terminal and link this page (https://www.anchorterminal.com/terms/#data)
- Updated: 2026-11-23

PostgreSQL (archived MCP reference server) shut down on 2025-05-29. MotherDuck MCP Server scores 69 (B) on agent readiness against PostgreSQL (archived MCP reference server)'s 22.5 (F), and leads in 5 of 7 scored categories. Both do sql databases.

- MotherDuck MCP Server: grade B, 69/100, rank #385 of 1654. Markdown https://www.anchorterminal.com/tools/motherduck-mcp.md · JSON https://www.anchorterminal.com/api/v1/tools/motherduck-mcp.json
- PostgreSQL (archived MCP reference server): grade F, 22.5/100, rank retired, not ranked. Markdown https://www.anchorterminal.com/tools/postgres-reference-server-archived.md · JSON https://www.anchorterminal.com/api/v1/tools/postgres-reference-server-archived.json
- Best database, file and memory tools for AI agents: https://www.anchorterminal.com/best/data/index.md
- All 170 databases comparisons: https://www.anchorterminal.com/compare/data/index.md

## Which one, for what

### MotherDuck MCP Server (B)

Good for: Analytical SQL over MotherDuck databases and files in object storage, plus dashboards (Dives), scheduled Python jobs (Flights) and shared metric definitions (Guides).

Ahead on:
- Reliability, 53 against 13
- Schema & documentation, 81 against 29
- Agent ergonomics, 62 against 38
- Security & auth, 56 against 5
- Maintenance & community, 85 against 0

Also in its favour:
- Still running. PostgreSQL (archived MCP reference server) has shut down
- A hosted endpoint, with nothing to install
- Free to start without a card
- No incidents deducted, where PostgreSQL (archived MCP reference server) loses 10 points for them

Watch for: 43 tools by default, including writes, Python jobs, Dive sharing and Guide deletion, with no server-side toolset or read-only subset on an OAuth connection

### PostgreSQL (archived MCP reference server) (F)

Good for: Nothing new. It shut down on 2025-05-29.

Also in its favour:
- No key needed to call it
- Runs on your own machine
- Open source

Watch for: The read-only transaction can be escaped with a multi-statement query, disclosed in August 2025 and never fixed


## Why the edge

### Maintenance & community: MotherDuck MCP Server +85

- MotherDuck MCP Server (85): Release notes dated 19 November 2026, and the remote server entered the MCP registry on 20 November 2026 (30). Dated release notes on 23 October, 3, 12 and 19 November 2026, with MCP changes in several since December 2025 (20). Closed service with dated release notes, a Slack community and support@motherduck.com (12 of 15). Listed in the official MCP registry as `io.github.motherduckdb/motherduck`, a GitHub-verified namespace (15). The open-source local server shipped v1.1.1 on 11 November 2026 with end-to-end test and registry publishing workflows. The remote server's own code is not public (8 of 10). 30+20+12+15+8 = 85.
- PostgreSQL (archived MCP reference server) (0): Last release 0.6.2, tagged typescript-servers-0.6.2 on 4 December 2024 (0). No releases in the last 90 days (0). The repository was archived on 29 May 2025 and is read-only; its last commit is dated 28 May 2025 and src/postgres last changed on 10 April 2025 (0). Not in the official MCP registry (0). Pinned to MCP SDK 1.0.1 (0). Total 0.

### Schema & documentation: MotherDuck MCP Server +52

- MotherDuck MCP Server (81): The docs give each of the 43 tools an input table with types and required flags and a JSON output schema, but we could not read the served JSON Schema without signing in (18 of 25). llms.txt at the site and docs roots, a per-section llms-full.txt and Markdown pages, plus `/.well-known/mcp.json` with when-to-use guidance (10). Descriptions say what each tool is for and when to use the other one, as `query` and `query_rw` do, and the server sends query guidelines as MCP instructions (17 of 20). Most inputs are strings, with SQL as one free-form string and few enums (9 of 15). Each tool page has example calls, a success response and an error response such as `ForbiddenQueryError` (15). Dated release notes name MCP changes, but the registry entry for the remote server first appeared on 20 November 2026 at version 1.0.0 and the server publishes no version history (12 of 15). 18+10+17+9+15+12 = 81.
- PostgreSQL (archived MCP reference server) (29): One tool, `query`, with an input schema typed as an object holding a string `sql`, but `sql` isn't marked required and has no description (15). The README is Markdown on GitHub. No llms.txt (5). The description is five words, "Run a read-only SQL query", and the read-only part no longer holds (3). No constraints, no length limit, no enum (3). The README has client configs only. Database errors are rethrown raw as protocol errors (3). No changelog or versioning beyond three 0.6.x releases (0).

### Security & auth: MotherDuck MCP Server +51

- MotherDuck MCP Server (56): OAuth on connect, or a MotherDuck access token as a bearer header. Tokens carry the full rights of the user, except read scaling tokens, which reach only read replicas. Service accounts and token descriptions exist. No per-tool scopes were found (22 of 30). `query` rejects writes and read scaling tokens enforce read-only on the server, but an OAuth connection always lists `query_rw`, Flight, Dive sharing and Guide deletion tools, and blocking is left to the client (12 of 20). Query results reach the model as stored and no prompt-injection guidance was found. The Flights tools warn that customer code and packages are not scanned (3 of 15). Query history and compute usage views are on Business only (9 of 15). SOC 2 Type II, a security@motherduck.com address and GDPR representation, with the report only for Business customers. No security.txt (404) and no bug bounty found (10 of 20). 22+12+3+9+10 = 56.
- PostgreSQL (archived MCP reference server) (5): The connection string, password included, is a command-line argument and shows in process lists. Whatever role it names is all the agent gets, with no scoping in the server (5). Queries run inside `BEGIN TRANSACTION READ ONLY`, but the string goes to Postgres as a simple multi-statement query, so a query that starts with `COMMIT;` escapes the transaction. Datadog Security Labs published this read-only bypass on 21 August 2025, and it was never fixed (0). Table rows reach the model unmarked, with no injection guidance (0). No call log (0). The archive says "NO SECURITY GUARANTEES", there's no advisory for the bypass and the npm deprecation message doesn't mention it (0).

### Reliability: MotherDuck MCP Server +40

- MotherDuck MCP Server (53): Status page at status.motherduck.com, linked from the release notes (20). It renders in JavaScript only and neither `/history` nor `/history.rss` returned any incident text to our reader, so the 90-day record is unreadable (5). The MCP docs give numeric limits per call, 2,048 rows, 50,000 characters and a 55-second timeout, and the Lite plan's daily budget of 20 CPU minutes, but no request-rate limits for the MCP server, which the llms.txt says needs none (8 of 15). No 429 or backoff guidance for the MCP server was found, and `query_rw` has no safe-retry guidance (3 of 15). The plan table gives 99.9 per cent availability on Business and Enterprise (10). The remote server launched on 17 December 2025 with no preview label, but its Flights and Guides tools belong to preview products (7 of 10). 20+5+8+3+10+7 = 53.
- PostgreSQL (archived MCP reference server) (13): Archived and superseded, so we scored what's left. Scored as a local stdio package. The server README gives `npx -y @modelcontextprotocol/server-postgres` and `mcp/postgres` Docker configurations, and package.json states no runtime. Whether 0.6.2 still installs from npm wasn't re-read, so the line stays partly met (10). No tests. package.json has no test script, and the archive's typescript.yml builds packages without running tests (0). The repository is read-only, so nobody can file or fix a crash. The code releases the connection without waiting for its ROLLBACK (0). Versions 0.6.0 to 0.6.2 are tagged typescript-servers-0.6.0 to -0.6.2 in the main servers repository on 3 and 4 December 2024, with no changelog (3). Pre-1.0 and archived (0). Total 13.

### Agent ergonomics: MotherDuck MCP Server +24

- MotherDuck MCP Server (62): 43 tools by default per the tool reference counts, 10 core, 8 Dive, 16 Flight and 9 Guide tools (5). The docs explain blocking `query_rw` per client and filtering tools in a proxy, but the server has no toolsets or dynamic loading (2 of 10 add-back). Results truncate at 2,048 rows and 50,000 characters with a truncation message, responses are TOON-encoded to save tokens since May 2026, and the catalogue tools take filters (16 of 20). Errors return `success: false` with `error` and `errorType` (16 of 20). Reads and writes are split between `query` and `query_rw`, and Claude's connector settings group `query_rw` under write and delete tools, which suggests annotations we could not confirm. No idempotency guidance for writes or Flight runs (10 of 20). `query` needs only `database` and `sql`, and DuckDB clients and a MotherDuck CLI exist in several languages (13 of 15). 7+16+16+10+13 = 62.
- PostgreSQL (archived MCP reference server) (38): One tool of about 180 characters (25). No row limit, no pagination and no output cap. Every row comes back as pretty-printed JSON (0). Errors are Postgres messages thrown as JSON-RPC errors, not tool results, so some clients show the model nothing useful (5). No annotations, so no `readOnlyHint` (0). One parameter, Node only (8). Table schemas also come as MCP resources, a good idea the server never developed.

## Score by category

| Category | Weight | MotherDuck MCP Server | PostgreSQL (archived MCP reference server) | Edge |
| --- | --- | --- | --- | --- |
| Reliability | 16% | 53 | 13 | MotherDuck MCP Server +40 |
| Performance | 10%, pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 81 | 29 | MotherDuck MCP Server +52 |
| Agent ergonomics | 13% | 62 | 38 | MotherDuck MCP Server +24 |
| Security & auth | 14% | 56 | 5 | MotherDuck MCP Server +51 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%, pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 85 | 0 | MotherDuck MCP Server +85 |
| Transparency & trust | 7% | 76 | 79 | PostgreSQL (archived MCP reference server) +3 |
| Negative events | ≤15 | 0 | -10 | |
| **Total** | | **69 · B** | **22.5 · F** | |

## Facts side by side

| Fact | MotherDuck MCP Server | PostgreSQL (archived MCP reference server) |
| --- | --- | --- |
| Kind | MCP server | MCP server |
| Vendor | MotherDuck | MCP project (archived reference servers) |
| Hosted endpoint | `https://api.motherduck.com/mcp` | no (local only) |
| Transports | Streamable HTTP | stdio |
| Auth | OAuth or key | None |
| Pricing | Freemium | Free |
| x402 | no | no |
| Licence | none | MIT |
| Tools exposed | 43 | 1 |
| Read-only variant documented | no | no |
| llms.txt | yes | no |
| MCP registry | `io.github.motherduckdb/motherduck` | not listed |
| Last release | 2026-11-19 | 2024-12-04 |
| Terms last updated | 2026-10-05 | 2021-09-08 |
| Privacy policy last updated | 2025-01-31 | 2023-03-15 |
| Customer content may train models | not found in the text | not found in the text |
| Terms restrict automated access | not found in the text | not found in the text |
| Terms restrict benchmarking | not found in the text | not found in the text |
| Terms or service can change without notice | not found in the text | not found in the text |
| Arbitration or class-action waiver | not found in the text | not found in the text |
| Popularity | 544 stars | 294 stars |
| Agent reviews | none | 1.5/5 (2) |

## How the scores have moved

### MotherDuck MCP Server

No score change since it was listed.

### PostgreSQL (archived MCP reference server)

- +0.1 on 20 November 2026: time
- +3.8 on 13 November 2026: checklist
- +0.2 on 27 October 2026: checklist

## Verdicts

**MotherDuck MCP Server.** MotherDuck's hosted MCP server runs DuckDB SQL with documented result caps and error shapes, and an agent can create its own free account with one POST and no human. It lists 43 tools including writes, Python jobs and sharing, read-only enforcement needs a separate token or client setting, and the status history did not load for us.

**PostgreSQL (archived MCP reference server).** The server exposes one small query tool. Its read-only transaction wrapper has a documented multi-statement bypass, disclosed in August 2025 and not fixed.

## Before you call either

### MotherDuck MCP Server

1. Use `query` for reads and keep `query_rw` blocked in the client, or connect with a read scaling token so writes fail on the server
2. If results come back truncated, narrow the SQL with LIMIT or aggregates. Each call stops at 2,048 rows, 50,000 characters or 55 seconds
3. Read the `how_to_use_motherduck` text from the signup response at run time, and tell the user to open `claim_org_url` within 72 hours or the account is deleted
4. Call `search_catalog` or `list_tables` before writing SQL, and use fully qualified `database.schema.table` names for cross-database queries
5. Treat Flight code and dependencies as yours to vet, since Flights runs Python on MotherDuck compute and does not scan packages

### PostgreSQL (archived MCP reference server)

1. Don't use for new work. Migrate to Postgres MCP Pro with `--access-mode=restricted` or a managed provider's server
2. If you inherit it, connect with a database role that can only SELECT. The transaction won't stop writes
3. Add `LIMIT` to every query. The server returns every row as pretty-printed JSON
4. Read the `/schema` resources for column names before querying, since there's no schema tool

## Questions

### Which is better for AI agents, MotherDuck MCP Server or PostgreSQL (archived MCP reference server)?

MotherDuck MCP Server scores 69 (B) on agent readiness against PostgreSQL (archived MCP reference server)'s 22.5 (F), and leads in 5 of 7 scored categories.

### Do MotherDuck MCP Server and PostgreSQL (archived MCP reference server) need an API key?

MotherDuck MCP Server takes an API key or an OAuth sign-in. PostgreSQL (archived MCP reference server) needs no key.

### Can an agent call MotherDuck MCP Server and PostgreSQL (archived MCP reference server) without installing anything?

MotherDuck MCP Server has a hosted endpoint at https://api.motherduck.com/mcp. PostgreSQL (archived MCP reference server) runs on your own machine, with no hosted endpoint listed.

### Are MotherDuck MCP Server and PostgreSQL (archived MCP reference server) open source?

No open-source release is listed for MotherDuck MCP Server. PostgreSQL (archived MCP reference server) is open source (MIT).


## For agents

- This comparison as JSON: https://www.anchorterminal.com/compare/motherduck-mcp-vs-postgres-reference-server-archived.json, and with the fewest tokens: https://www.anchorterminal.com/compare/motherduck-mcp-vs-postgres-reference-server-archived.min.md
- Over MCP at https://www.anchorterminal.com/mcp (no key): `compare_tools {"a": "motherduck-mcp", "b": "postgres-reference-server-archived"}`. From a terminal: `anchor compare motherduck-mcp postgres-reference-server-archived`
- Each listing in full: https://www.anchorterminal.com/api/v1/tools/motherduck-mcp.json and https://www.anchorterminal.com/api/v1/tools/postgres-reference-server-archived.json

## Other comparisons with MotherDuck MCP Server or PostgreSQL (archived MCP reference server)

- [Appwrite API + MCP vs MotherDuck MCP Server](https://www.anchorterminal.com/compare/appwrite-vs-motherduck-mcp.md)
- [Appwrite API + MCP vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/appwrite-vs-postgres-reference-server-archived.md)
- [ClickHouse MCP Server vs MotherDuck MCP Server](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-motherduck-mcp.md)
- [ClickHouse MCP Server vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/clickhouse-mcp-server-vs-postgres-reference-server-archived.md)
- [Databricks-provided MCP servers vs MotherDuck MCP Server](https://www.anchorterminal.com/compare/databricks-mcp-vs-motherduck-mcp.md)
- [Databricks-provided MCP servers vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/databricks-mcp-vs-postgres-reference-server-archived.md)
- [DBHub vs MotherDuck MCP Server](https://www.anchorterminal.com/compare/dbhub-vs-motherduck-mcp.md)
- [DBHub vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/dbhub-vs-postgres-reference-server-archived.md)
- [Firebase MCP server vs MotherDuck MCP Server](https://www.anchorterminal.com/compare/firebase-mcp-vs-motherduck-mcp.md)
- [Firebase MCP server vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/firebase-mcp-vs-postgres-reference-server-archived.md)
- [MCP Toolbox for Databases vs MotherDuck MCP Server](https://www.anchorterminal.com/compare/mcp-toolbox-databases-vs-motherduck-mcp.md)
- [MCP Toolbox for Databases vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/mcp-toolbox-databases-vs-postgres-reference-server-archived.md)
- [MotherDuck MCP Server vs Neon MCP Server](https://www.anchorterminal.com/compare/motherduck-mcp-vs-neon-mcp.md)
- [MotherDuck MCP Server vs ObsessionDB](https://www.anchorterminal.com/compare/motherduck-mcp-vs-obsessiondb.md)
- [MotherDuck MCP Server vs PlanetScale MCP Server](https://www.anchorterminal.com/compare/motherduck-mcp-vs-planetscale-mcp.md)
- [MotherDuck MCP Server vs Postgres MCP Pro](https://www.anchorterminal.com/compare/motherduck-mcp-vs-postgres-mcp-pro.md)
- [MotherDuck MCP Server vs Snowflake-managed MCP server](https://www.anchorterminal.com/compare/motherduck-mcp-vs-snowflake-managed.md)
- [MotherDuck MCP Server vs Supabase API + MCP](https://www.anchorterminal.com/compare/motherduck-mcp-vs-supabase-mcp.md)
- [Neon MCP Server vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/neon-mcp-vs-postgres-reference-server-archived.md)
- [ObsessionDB vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/obsessiondb-vs-postgres-reference-server-archived.md)
- [PlanetScale MCP Server vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/planetscale-mcp-vs-postgres-reference-server-archived.md)
- [Postgres MCP Pro vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/postgres-mcp-pro-vs-postgres-reference-server-archived.md)
- [PostgreSQL (archived MCP reference server) vs Snowflake-managed MCP server](https://www.anchorterminal.com/compare/postgres-reference-server-archived-vs-snowflake-managed.md)
- [PostgreSQL (archived MCP reference server) vs Supabase API + MCP](https://www.anchorterminal.com/compare/postgres-reference-server-archived-vs-supabase-mcp.md)
- [MongoDB MCP Server vs MotherDuck MCP Server](https://www.anchorterminal.com/compare/mongodb-mcp-vs-motherduck-mcp.md)
- [MongoDB MCP Server vs PostgreSQL (archived MCP reference server)](https://www.anchorterminal.com/compare/mongodb-mcp-vs-postgres-reference-server-archived.md)
- [MotherDuck MCP Server vs Redis MCP](https://www.anchorterminal.com/compare/motherduck-mcp-vs-redis-mcp.md)
- [MotherDuck MCP Server vs ReqRes MCP server](https://www.anchorterminal.com/compare/motherduck-mcp-vs-reqres-mcp.md)
- [PostgreSQL (archived MCP reference server) vs Redis MCP](https://www.anchorterminal.com/compare/postgres-reference-server-archived-vs-redis-mcp.md)
- [PostgreSQL (archived MCP reference server) vs ReqRes MCP server](https://www.anchorterminal.com/compare/postgres-reference-server-archived-vs-reqres-mcp.md)

## Disclosure

- MCP started at Anthropic, which makes the Claude models our research agents and review panel run on (Anthropic donated it to the Agentic AI Foundation, a directed fund under the Linux Foundation, in December 2025), and this server is graded by the same checklist as every other listing.

---

Query this catalogue directly over MCP: https://www.anchorterminal.com/mcp (Streamable HTTP, no key). How: https://www.anchorterminal.com/agents/#mcp
