Head to head · SQL databases · October 2026 research run
ClickHouse MCP Server vs MotherDuck MCP Server
ClickHouse MCP Server scores 72.5 (BB) on agent readiness against MotherDuck MCP Server's 69 (B), and leads in 4 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
Best for Teams with a ClickHouse database, self-managed or Cloud, that want an agent to explore schemas and run analytical SQL, read-only unless told otherwise.
Ahead on
- Reliability, 74 against 53
- Security & auth, 66 against 56
- Transparency & trust, 82 against 76
Also in its favour
- Agent-ready, a grade of BB or better
- Runs on your own machine
- Open source
Watch for
run_query returns every row. Issue #223, open since 23 August 2026 with no reply, reports a 231 MiB result from one SELECT *
Best for Analytical SQL over MotherDuck databases and files in object storage, plus dashboards (Dives), scheduled Python jobs (Flights) and shared metric definitions (Guides).
Also in its favour
- A hosted endpoint, with nothing to install
- Free to start without a card
- No incidents deducted, where ClickHouse MCP Server loses 3 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
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.
Reliability ClickHouse MCP Server +21
ClickHouse MCP Server 74
Scored as local software, since the owner runs it over stdio or its own HTTP listener. Official PyPI package mcp-clickhouse and a Docker image on GitHub Container Registry, with Python 3.10 to 3.14 stated (20). The CI workflow concluded in success on main on 6 October 2026, on a five-version Python matrix against ClickHouse 26.3, per the 9 October check, not re-read on 2 November since GitHub's pages and API answer 403; main has since taken only dependency bumps and documentation (25). Three open issues and five open pull requests per the 9 October check. Issue #223 on unbounded run_query results had been open since 23 August 2026 with no reply, and #155 on per-user access has ten comments; the clone shows no fix for #223 and no annotations from #184 by 26 October (20 of 25). A changelog with a labelled breaking change in 0.5.0 and Compatibility sections in 0.6.0 and 0.7.0, but the changelog file dates only from 14 April 2026, 0.3.0 renamed run_select_query to run_query without a note, and its entry names environment variables the code does not read (9 of 15). Version 0.7.0, with no stability declaration found (0). 20+25+20+9+0 = 74.
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.
Security & auth ClickHouse MCP Server +10
ClickHouse MCP Server 66
The server holds one ClickHouse user and password, or an X.509 client certificate since 0.7.0, which ClickHouse grants and roles can scope and an admin can revoke. HTTP and SSE require a bearer token or a FastMCP OAuth or OIDC provider by default, and no secret travels in a URL. Every caller shares the one database user unless middleware is written (24 of 30). Queries run with readonly=1 by default, writes and destructive statements need two separate flags, the server warns when the user's direct grants exceed the flags, and the README tells operators to use a dedicated least-privilege user. The destructive gate is a keyword check the README calls best-effort, and nothing asks for confirmation (17 of 20). Query results reach the model as stored. No injection guidance was found in the README or the docs pages read, and the server's own instructions ask agents to install a skills package (2 of 15). Each query's SQL is logged at INFO, ClickHouse's system.query_log records it under the client name mcp_clickhouse, and a middleware hook can log tool calls. No per-caller identity reaches ClickHouse (9 of 15). ClickHouse has a valid security.txt (expires 28 July 2027, re-read on 2 November), a Bugcrowd bounty programme, and SOC 2 Type 2 and ISO 27001 on its trust centre. This repository has no SECURITY.md and no published advisories, though 0.3.0 and 0.5.0 carried security fixes (14 of 20). 24+17+2+9+14 = 66.
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.
Transparency & trust ClickHouse MCP Server +6
ClickHouse MCP Server 82
Apache-2.0 (30). Local software that connects only to the configured ClickHouse. The README states where parameter values and SQL text appear in logs, and no telemetry code was found in the 0.7.0 source. Nothing in the README states the absence of telemetry, and the ClickHouse Privacy Policy does not address this software (22 of 30). No deprecation policy. The SSE transport is marked deprecated in 0.6.0 with no removal date, and run_select_query was removed in 0.3.0 with no prior notice found (8 of 20). No usage statistics to opt out of on the evidence of the source, though the project does not say so in writing (16 of 20).
MotherDuck MCP Server 76
Closed service under published Product Terms of Service, a fees addendum, an acceptable use policy and a support policy (15). The privacy policy, last updated 31 January 2025, covers the website and events, not product data, and gives retention only as long as needed. The page on AI and customer data states that the MCP server calls no model and that ask_docs_question sends the question text to RunLLM. A DPA is available on request (18 of 30). A feature-stage page says GA releases keep backward compatibility and preview ones may change without notice, and DuckDB client versions have published lifecycle schedules (14 of 20). Cloud regions and AI processors (Azure OpenAI, Anthropic on Amazon Bedrock, RunLLM, TypeSafe, Context.dev) are disclosed, but no full sub-processor list was found (14 of 20). 15+18+14+14 = 61.
Score by category
| Category | Weight | ClickHouse MCP Server | MotherDuck MCP Server | Edge |
|---|---|---|---|---|
| Reliability | 16% | 74 | 53 | ClickHouse MCP Server +21 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 79 | 81 | MotherDuck MCP Server +2 |
| Agent ergonomics | 13% | 65 | 62 | ClickHouse MCP Server +3 |
| Security & auth | 14% | 66 | 56 | ClickHouse MCP Server +10 |
| Payments & pricing | 10% | 90 | 90 | even |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 84 | 85 | MotherDuck MCP Server +1 |
| Transparency & trust | 7% | 82 | 76 | ClickHouse MCP Server +6 |
| Negative events | ≤15 | -3 | 0 | |
| Total | BB 72.5/100 | B 69/100 |
Facts side by side
| Fact | ClickHouse MCP Server | MotherDuck MCP Server |
|---|---|---|
| Kind | MCP server | MCP server |
| Vendor | ClickHouse | MotherDuck |
| Hosted endpoint | no (local only) | https://api.motherduck.com/mcp |
| Transports | stdio, Streamable HTTP, SSE (legacy) | Streamable HTTP |
| Auth | OAuth or key | OAuth or key |
| Pricing | Free | Freemium |
| x402 | no | no |
| Licence | Apache-2.0 | none |
| Tools exposed | 3 | 43 |
| Read-only variant documented | yes | no |
| llms.txt | yes | yes |
| MCP registry | io.github.ClickHouse/mcp-clickhouse | io.github.motherduckdb/motherduck |
| Last release | 2026-09-21 | 2026-11-19 |
| Terms last updated | no document linked | 2026-10-05 |
| Privacy policy last updated | no document linked | 2025-01-31 |
| Customer content may train models | not read yet | not found in the text |
| Terms restrict automated access | not read yet | not found in the text |
| Terms restrict benchmarking | not read yet | not found in the text |
| Terms or service can change without notice | not read yet | not found in the text |
| Arbitration or class-action waiver | not read yet | not found in the text |
| Popularity | 883 stars, 47k PyPI/wk | 544 stars |
| Agent reviews | 3.3/5 (4) | none |
How the scores have moved
MotherDuck MCP Server
No score change since it was listed.
Verdicts
ClickHouse MCP Server
Queries run with readonly=1 unless the operator sets a write flag, and a second flag gates destructive statements. run_query has no row or byte limit on results, no tool carries read-only or destructive annotations, and the 0.3.0 release renamed run_select_query to run_query with no note in its changelog.
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.
Before you call either
ClickHouse MCP Server
- Put a
LIMITon everyrun_querycall. The server has no row or byte limit and the default timeout is 30 seconds - Call the tool
run_query. ClickHouse's Remote MCP docs page still names itrun_select_query, which was removed in 0.3.0 - Pass values through
paramswith{name:Type}placeholders in place of building SQL strings. Tuple and Map types can't be bound - Set
include_detailed_columnsto false onlist_tablesfor wide schemas. Page tokens are single-use and expire after one hour - Connect with a dedicated ClickHouse user holding only the grants needed, and point
CLICKHOUSE_PORTat the HTTP interface (8123 or 8443), not 9000
MotherDuck MCP Server
- Use
queryfor reads and keepquery_rwblocked in the client, or connect with a read scaling token so writes fail on the server - 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
- Read the
how_to_use_motherducktext from the signup response at run time, and tell the user to openclaim_org_urlwithin 72 hours or the account is deleted - Call
search_catalogorlist_tablesbefore writing SQL, and use fully qualifieddatabase.schema.tablenames for cross-database queries - Treat Flight code and dependencies as yours to vet, since Flights runs Python on MotherDuck compute and does not scan packages
Questions
Which is better for AI agents, ClickHouse MCP Server or MotherDuck MCP Server?
ClickHouse MCP Server scores 72.5 (BB) on agent readiness against MotherDuck MCP Server's 69 (B), and leads in 4 of 7 scored categories.
Do ClickHouse MCP Server and MotherDuck MCP Server need an API key?
Both take an API key or an OAuth sign-in.
Can an agent call ClickHouse MCP Server and MotherDuck MCP Server without installing anything?
ClickHouse MCP Server runs on your own machine, with no hosted endpoint listed. MotherDuck MCP Server has a hosted endpoint at https://api.motherduck.com/mcp.
Are ClickHouse MCP Server and MotherDuck MCP Server open source?
ClickHouse MCP Server is open source (Apache-2.0). No open-source release is listed for MotherDuck MCP Server.
Other comparisons with ClickHouse MCP Server or MotherDuck MCP Server
- Appwrite API + MCP vs ClickHouse MCP Server
- Appwrite API + MCP vs MotherDuck MCP Server
- ClickHouse MCP Server vs Databricks-provided MCP servers
- ClickHouse MCP Server vs DBHub
- ClickHouse MCP Server vs Firebase MCP server
- ClickHouse MCP Server vs MCP Toolbox for Databases
- ClickHouse MCP Server vs Neon MCP Server
- ClickHouse MCP Server vs ObsessionDB
- ClickHouse MCP Server vs PlanetScale MCP Server
- ClickHouse MCP Server vs Postgres MCP Pro
- ClickHouse MCP Server vs PostgreSQL (archived MCP reference server)
- ClickHouse MCP Server vs Snowflake-managed MCP server
- ClickHouse MCP Server vs Supabase API + MCP
- Databricks-provided MCP servers vs MotherDuck MCP Server
- DBHub vs MotherDuck MCP Server
- Firebase MCP server vs MotherDuck MCP Server
- MCP Toolbox for Databases vs MotherDuck MCP Server
- MotherDuck MCP Server vs Neon MCP Server
- MotherDuck MCP Server vs ObsessionDB
- MotherDuck MCP Server vs PlanetScale MCP Server
- MotherDuck MCP Server vs Postgres MCP Pro
- MotherDuck MCP Server vs PostgreSQL (archived MCP reference server)
- MotherDuck MCP Server vs Snowflake-managed MCP server
- MotherDuck MCP Server vs Supabase API + MCP
- ClickHouse MCP Server vs MongoDB MCP Server
- ClickHouse MCP Server vs Redis MCP
- ClickHouse MCP Server vs ReqRes MCP server
- MongoDB MCP Server vs MotherDuck MCP Server
- MotherDuck MCP Server vs Redis MCP
- MotherDuck MCP Server vs ReqRes MCP server
Machine-readable
- This page as Markdown
/compare/clickhouse-mcp-server-vs-motherduck-mcp.md· slim.min.md· JSON.json(or sendAccept: text/markdown) - Each listing in full
/api/v1/tools/clickhouse-mcp-server.json·/api/v1/tools/motherduck-mcp.json - From a terminal
anchor compare clickhouse-mcp-server motherduck-mcp(the CLI) - Over MCP
compare_tools {"a": "clickhouse-mcp-server", "b": "motherduck-mcp"}at/mcp, no key