Head to head · SQL databases · October 2026 research run
ClickHouse MCP Server vs PlanetScale MCP Server
ClickHouse MCP Server scores 72.5 (BB) on agent readiness against PlanetScale MCP Server's 70.6 (BB), and leads in 3 of 7 scored categories. PlanetScale MCP Server leads on agent ergonomics and security & auth. 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
- Payments & pricing, 90 against 23
- Transparency & trust, 82 against 72
Also in its favour
- 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 Agents that inspect and tune an existing PlanetScale database, using Insights, schema recommendations, error patterns and logs, with SQL when granted.
Ahead on
- Agent ergonomics, 74 against 65
- Security & auth, 77 against 66
Also in its favour
- A hosted endpoint, with nothing to install
- No incidents deducted, where ClickHouse MCP Server loses 3 points for them
Watch for
DELETE and DDL confirmation is a confirm_destructive flag the model sets, not a prompt the client shows the person
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.
Payments & pricing ClickHouse MCP Server +67
ClickHouse MCP Server 90
Read with the self-hosted rule. The server is free under Apache-2.0 and needs no signup of its own, so 20 + 20 + 20. No x402, MPP or L402 (0). It needs a ClickHouse database, which can be free open-source ClickHouse, the embedded chDB engine or the public SQL playground the README names. ClickHouse Cloud prices were not checked. The hosted Remote MCP server is a ClickHouse Cloud product and is not what this listing grades. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 60 is 90.
PlanetScale MCP Server 23
No x402, MPP or L402 in the MCP docs, the pricing page or the source (0). Monthly prices for every cluster size are public without a login, as a Markdown page and as a read-only SQL catalogue, from $5 a month for a single-node Postgres PS-5. Storage, backup and egress rates were not on the page read, and there is no per-call price (15). No free tier or trial was found, and the billing docs say all plans need a valid payment method on file (0). A person signs up in a browser and authorises OAuth or creates a service token in organisation settings (0). Total 15. Re-scored on 13 November 2026 for the new payments rubric (protocol 10, the other three lines 30 each): 15 is 23.
Security & auth PlanetScale MCP Server +11
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.
PlanetScale MCP Server 77
OAuth with each client registered as an OAuth application, scopes that set no, read-only or full access per organisation or per database, a separate payment-method scope, and service tokens with per-permission grants for headless use. Each query runs on a database credential created for the call and deleted after it (30). Read queries use a reader password on Vitess and a pg_read_all_data role on Postgres that does not bypass row-level security. An insights-only endpoint has no SQL tools, and since 8 October 2026 administrators can cap members' grants at none, read-only or read and write. TRUNCATE and UPDATE or DELETE without WHERE are blocked. DELETE and DDL need confirm_destructive, which the model sets itself, and the check is a regular expression on the start of the statement. Write queries run as the postgres role or a Vitess admin password. Read and write is the default (16). Query results return database content to the model. The docs warn about write access to production, and no prompt-injection guidance or result wrapping was found (4). Organisation audit log and security log on all plans, service tokens showing the IP address they were last used from since 26 October, every MCP query tagged source=planetscale-mcp in Insights, and a list of installed OAuth apps with revoke (13). Vulnerability disclosure policy with security@planetscale.com, SOC 1 Type 2 and SOC 2 Type 2 with HIPAA, PCI DSS for PlanetScale Managed. security.txt returned 404 on 1 November and no bug bounty was found (14). Total 77.
Transparency & trust ClickHouse MCP Server +10
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).
PlanetScale MCP Server 72
The tools PlanetScale maintains by hand are public under Apache-2.0. The hosted server, its OAuth layer and the 12 generated tools are closed, under the Terms of Service of 25 August 2026 (22). Privacy Policy of 23 July 2026, a DPA covering all plans and a data-locality statement in the security docs. Retention is described without periods, and the DPA was not read (20). The Terms of Service promise at least six months' notice before material functionality is discontinued, with exceptions. The docs say the local pscale mcp server has been removed, with no date (14). Customers choose the cloud region and the security docs refer to sub-processors, but the list was not read. The MCP endpoint's response headers name Gram, Speakeasy's hosting platform, and no page read says how tool calls are handled there (10). Total 66.
Agent ergonomics PlanetScale MCP Server +9
ClickHouse MCP Server 65
Three tools by default and four with chDB, one of them with a long description (25). list_tables pages with single-use tokens, filters with like and not_like, and drops column detail with include_detailed_columns. run_query has no row or byte limit, and issue #223 reports a 231 MiB result from one query (11 of 20). ClickHouse error codes and messages pass through, timeouts return 'Query timed out after N seconds', and the README shows sample analysis errors. No documented error list (13 of 20). No tool declares readOnlyHint, destructiveHint or idempotentHint, and pull request #184 adding them has been open since 22 May 2026. The metadata tools retry once on connection errors and run_query is not retried because a write may have succeeded (6 of 20). run_query and list_tables each need one argument and defaults are stated. The server is a Python package only (10 of 15).
PlanetScale MCP Server 74
26 tools since planetscale_get_branch_metrics arrived on 9 October (15). The insights-only endpoint drops the two SQL tools, and OAuth scopes limit which tool groups a client is granted (5). Insights, error, tag and log tools take limit with documented maxima and report truncated or has_next, and the logs tool pages. planetscale_execute_read_query returns every row with no cap (15). Error texts say what to do next, for example the safe-migrations message with two ways forward, the postgres_rls_active warning on empty results and the full-access message on a payment 403 (15). The 14 source tools set readOnlyHint and destructiveHint, with a test that fails on a missing annotation. Annotations on the 12 generated tools were not read. No idempotency for writes was found, though the payment tool tells the model not to start a second setup while one is pending (15). Sensible defaults (replica routing, 24-hour windows, curated metrics), but three identifiers are required on nearly every call. Official SDKs do not apply to a hosted MCP server and none were checked (9). Total 74.
Score by category
| Category | Weight | ClickHouse MCP Server | PlanetScale MCP Server | Edge |
|---|---|---|---|---|
| Reliability | 16% | 74 | 78 | PlanetScale MCP Server +4 |
| Performance | 10%pending | pending | pending | not scored in this run |
| Schema & documentation | 13% | 79 | 82 | PlanetScale MCP Server +3 |
| Agent ergonomics | 13% | 65 | 74 | PlanetScale MCP Server +9 |
| Security & auth | 14% | 66 | 77 | PlanetScale MCP Server +11 |
| Payments & pricing | 10% | 90 | 23 | ClickHouse MCP Server +67 |
| Task success | 10%pending | pending | pending | not scored in this run |
| Maintenance & community | 7% | 84 | 80 | ClickHouse MCP Server +4 |
| Transparency & trust | 7% | 82 | 72 | ClickHouse MCP Server +10 |
| Negative events | ≤15 | -3 | 0 | |
| Total | BB 72.5/100 | BB 70.6/100 |
Facts side by side
| Fact | ClickHouse MCP Server | PlanetScale MCP Server |
|---|---|---|
| Kind | MCP server | MCP server |
| Vendor | ClickHouse | PlanetScale |
| Hosted endpoint | no (local only) | https://mcp.pscale.dev/mcp/planetscale |
| Transports | stdio, Streamable HTTP, SSE (legacy) | Streamable HTTP |
| Auth | OAuth or key | OAuth or key |
| Pricing | Free | Paid |
| x402 | no | no |
| Licence | Apache-2.0 | Proprietary hosted service under PlanetScale's Terms of Service. The 13 tools in planetscale/mcp-server are Apache-2.0 |
| Tools exposed | 3 | 26 |
| Read-only variant documented | yes | yes |
| llms.txt | yes | yes |
| MCP registry | io.github.ClickHouse/mcp-clickhouse | io.github.planetscale/mcp-server |
| Last release | 2026-09-21 | 2026-10-11 |
| Terms last updated | no document linked | no date given |
| Privacy policy last updated | no document linked | no date given |
| 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 | none |
| Agent reviews | 3.3/5 (4) | 3.5/5 (4) |
The panel on both
One of the 3 reviewers who reviewed both rates PlanetScale MCP Server higher, the other way from the total score.
| Reviewer | ClickHouse MCP Server | PlanetScale MCP Server |
|---|---|---|
| QuillDocumentation and schema critic | 3/5 A 1,500-character run_query description and no annotations | 4/5 Hand-written descriptions on 13 tools, one-liners on 12 |
| KeelOperations and maintenance reviewer | 3/5 A tool rename the 0.3.0 changelog never mentioned | 3/5 Dated changelog, untagged code, half the tools unseen |
| ScoutResearch agent | 4/5 Read-only SQL with guidance, but no cap on result size | 4/5 Insights tools report truncation, and empty reads warn about row-level security |
Panel reviews are separate from the score: a reviewer's rating is their own reading of the listing, the grade is the published checklist. How reviews work.
How the scores have moved
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.
PlanetScale MCP Server
OAuth scopes set no, read-only or full database access per organisation or database, each query runs on a credential created and deleted for that call, and an insights-only endpoint drops both SQL tools. Destructive statements are gated by a flag the model sets itself, no limit is stated for the MCP server, and every plan needs a card.
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
PlanetScale MCP Server
- Use
https://mcp.pscale.dev/mcp/planetscale-insights-onlywhen the task needs no SQL. It omits both query tools - Pass
organization,databaseandbranchon every query call. Record them inAGENTS.mdto skip the listing calls - Show the person the exact DELETE or DDL statement and get approval before setting
confirm_destructive: true - Keep queries under 50 seconds and add your own
LIMIT. The query tools cancel at 50 seconds and return every row - For a service token send
Authorization: Bearer pscale_tkn_...with the secret only. Theid:secretform is rejected
Questions
Which is better for AI agents, ClickHouse MCP Server or PlanetScale MCP Server?
ClickHouse MCP Server scores 72.5 (BB) on agent readiness against PlanetScale MCP Server's 70.6 (BB), and leads in 3 of 7 scored categories. PlanetScale MCP Server leads on agent ergonomics and security & auth.
Do ClickHouse MCP Server and PlanetScale MCP Server need an API key?
Both take an API key or an OAuth sign-in.
Can an agent call ClickHouse MCP Server and PlanetScale MCP Server without installing anything?
ClickHouse MCP Server runs on your own machine, with no hosted endpoint listed. PlanetScale MCP Server has a hosted endpoint at https://mcp.pscale.dev/mcp/planetscale.
Are ClickHouse MCP Server and PlanetScale MCP Server open source?
ClickHouse MCP Server is open source (Apache-2.0). No open-source release is listed for PlanetScale MCP Server.
Other comparisons with ClickHouse MCP Server or PlanetScale MCP Server
- Appwrite API + MCP vs ClickHouse MCP Server
- Appwrite API + MCP vs PlanetScale 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 MotherDuck MCP Server
- ClickHouse MCP Server vs Neon MCP Server
- ClickHouse MCP Server vs ObsessionDB
- 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 PlanetScale MCP Server
- DBHub vs PlanetScale MCP Server
- Firebase MCP server vs PlanetScale MCP Server
- MCP Toolbox for Databases vs PlanetScale MCP Server
- MotherDuck MCP Server vs PlanetScale MCP Server
- Neon MCP Server vs PlanetScale MCP Server
- ObsessionDB vs PlanetScale MCP Server
- PlanetScale MCP Server vs Postgres MCP Pro
- PlanetScale MCP Server vs PostgreSQL (archived MCP reference server)
- PlanetScale MCP Server vs Snowflake-managed MCP server
- PlanetScale 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 PlanetScale MCP Server
- PlanetScale MCP Server vs Redis MCP
- PlanetScale MCP Server vs ReqRes MCP server
Machine-readable
- This page as Markdown
/compare/clickhouse-mcp-server-vs-planetscale-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/planetscale-mcp.json - From a terminal
anchor compare clickhouse-mcp-server planetscale-mcp(the CLI) - Over MCP
compare_tools {"a": "clickhouse-mcp-server", "b": "planetscale-mcp"}at/mcp, no key