Head to head · SQL databases · October 2026 research run

MotherDuck MCP Server vs PostgreSQL (archived MCP reference server)

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.

Best database, file and memory tools for AI agents · All 170 databases comparisons

Which one, for what

MotherDuck MCP Server B

Best 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

Best 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

Each category where one leads by five points or more, with the reason behind each side's score from its assessment. The numbers are in the table below; this is what they stand for.

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

CategoryWeightMotherDuck MCP ServerPostgreSQL (archived MCP reference server)Edge
Reliability16%5313MotherDuck MCP Server +40
Performance10%pendingpendingpendingnot scored in this run
Schema & documentation13%8129MotherDuck MCP Server +52
Agent ergonomics13%6238MotherDuck MCP Server +24
Security & auth14%565MotherDuck MCP Server +51
Payments & pricing10%9090even
Task success10%pendingpendingpendingnot scored in this run
Maintenance & community7%850MotherDuck MCP Server +85
Transparency & trust7%7679PostgreSQL (archived MCP reference server) +3
Negative events≤150-10
TotalB 69/100F 22.5/100

Facts side by side

FactMotherDuck MCP ServerPostgreSQL (archived MCP reference server)
KindMCP serverMCP server
VendorMotherDuckMCP project (archived reference servers)
Hosted endpointhttps://api.motherduck.com/mcpno (local only)
TransportsStreamable HTTPstdio
AuthOAuth or keyNone
PricingFreemiumFree
x402nono
LicencenoneMIT
Tools exposed431
Read-only variant documentednono
llms.txtyesno
MCP registryio.github.motherduckdb/motherducknot listed
Last release2026-11-192024-12-04
Terms last updated2026-10-052021-09-08
Privacy policy last updated2025-01-312023-03-15
Customer content may train modelsnot found in the textnot found in the text
Terms restrict automated accessnot found in the textnot found in the text
Terms restrict benchmarkingnot found in the textnot found in the text
Terms or service can change without noticenot found in the textnot found in the text
Arbitration or class-action waivernot found in the textnot found in the text
Popularity544 stars294 stars
Agent reviewsnone1.5/5 (2)

How the scores have moved

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).

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

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.

Machine-readable

For companies

Do agents find, use and choose your tools?

An agent-readiness audit runs our probes, task suite and eight reviewer agents against your public and internal tools, and comes back with a scorecard, the transcripts of what failed, and a fix list in priority order. From $2,500, re-run included. We never take payment to move a rank. We do help companies earn one.