ClickHouse MCP Server
by ClickHouse MCP server in Databases & files
Local
ClickHouse, Inc. · clickhouse.com since 1999 · who's behind it
ClickHouse's open-source MCP server for ClickHouse databases. The owner runs it locally or self-hosted, and it gives agents SQL queries, database and table listing, and an optional embedded chDB engine. Queries are read-only by default.
Good 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.
Is this your product? Claim this listing or verify it
Assessment. 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.
Facts
- Transport
- stdio, Streamable HTTP, SSE (legacy)
- Auth
- OAuth or key
- Pricing
- Free · Free · OSS
- x402
- No
- Licence
- Apache-2.0
- Tools exposed
- 3
- Packages
pypimcp-clickhouseocighcr.io/clickhouse/mcp-clickhouse- MCP registry
io.github.ClickHouse/mcp-clickhouse- llms.txt
- published
- Last release
- GitHub stars
- 883
- PyPI / week
- 47k
- What is graded
- The open-source server in ClickHouse/mcp-clickhouse, version 0.7.0, which the owner runs. ClickHouse Cloud's hosted Remote MCP server at
https://mcp.clickhouse.cloud/mcpis a separate product with 13 read-only tools and is not graded here - Install
python3 -m pip install mcp-clickhouseoruv run --with mcp-clickhouse --python 3.12 mcp-clickhouse. Python 3.10 to 3.14. Docker images atghcr.io/clickhouse/mcp-clickhousesince 0.4.0. chDB needs the extra,pip install 'mcp-clickhouse[chdb]'- Transports
- stdio (default), streamable HTTP (
CLICKHOUSE_MCP_SERVER_TRANSPORT=http, endpoint/mcpon127.0.0.1:8000) and SSE, which is deprecated and logs a warning./healthis unauthenticated on HTTP and SSE - Tools
run_query(query, optionalparams),list_databases(no inputs),list_tables(database, optionallike,not_like,page_token,page_sizedefault 50,include_detailed_columns).run_chdb_select_query(query) when chDB is enabled. Results are JSON-encoded strings- Credentials
CLICKHOUSE_HOST,CLICKHOUSE_USERandCLICKHOUSE_PASSWORD, or a client certificate withCLICKHOUSE_CLIENT_CERTandCLICKHOUSE_TLS_MODE(mutual, proxy or strict). OptionalCLICKHOUSE_ROLE. The connection uses ClickHouse's HTTP interface on 8443 or 8123, not the native protocol- Restrictions
readonly=1by default.CLICKHOUSE_ALLOW_WRITE_ACCESS=truefor DDL and inserts, plusCLICKHOUSE_ALLOW_DROP=truefor destructive statements. With write access on and drop off, the server readsSHOW GRANTSonce and logs a warning if the user holds destructive privileges- HTTP protections
- Authentication required by default.
CLICKHOUSE_MCP_ALLOWED_HOSTSandCLICKHOUSE_MCP_ALLOWED_ORIGINSvalidate Host (421 on mismatch) and Origin (403). A wildcard bind refuses to start without an allowed-hosts list.CLICKHOUSE_MCP_TRUSTED_PROXIESforX-Forwarded-Host - Limits
CLICKHOUSE_MCP_QUERY_TIMEOUT30 seconds by default, after which the server attemptsKILL QUERY.CLICKHOUSE_MCP_MAX_WORKERS10. No row or byte limit onrun_queryresults- Usage statistics
- No telemetry code was found in the 0.7.0 source. The server sends the client name
mcp_clickhouseto the ClickHouse it connects to and logs each query's SQL text at INFO level - Releases
- 0.1.0 on 24 December 2024. 0.3.0 on 14 April 2026 (write mode, tool renamed to
run_query), 0.4.0 on 3 June, 0.4.1 on 17 July, 0.5.0 on 1 September, 0.6.0 on 3 September (FastMCP 4), 0.7.0 tagged 21 September 2026 - Capabilities
- db.sql
Facts verified 2026-10-09 from vendor docs, repositories and package registries. JSON · Markdown
Strengths
- Read-only by default through ClickHouse's
readonly=1setting, withCLICKHOUSE_ALLOW_WRITE_ACCESSandCLICKHOUSE_ALLOW_DROPas separate opt-ins - Three tools by default (
run_query,list_databases,list_tables) and a fourth,run_chdb_select_query, only when chDB is enabled - HTTP and SSE transports refuse to start without a bearer token, a FastMCP OAuth or OIDC provider, or an explicit disable flag, and validate Host and Origin headers
- CI passed on main on 6 October 2026 across Python 3.10 to 3.14, with 403 test functions in the repository
- Four tagged releases between 17 July and 21 September 2026, and 0.7.0 is the latest entry in the official MCP registry
Weaknesses
run_queryreturns every row. Issue #223, open since 23 August 2026 with no reply, reports a 231 MiB result from oneSELECT *- No tool declares
readOnlyHintordestructiveHint. Pull request #184 adding annotations has been open since 22 May 2026 - Release 0.3.0 renamed
run_select_querytorun_querywithout saying so in its changelog or release notes, and ClickHouse's Remote MCP docs page still uses the old name - The destructive-statement gate is a keyword check in the server, which the README calls a best-effort guard and not a security boundary
- No prompt-injection guidance for query results was found, the repository has no SECURITY.md, and no advisory covers the security fixes in 0.3.0 and 0.5.0
Before you call it notes for agents
- 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
Who's behind it provenance 87/100
- Legal entity namedClickHouse, Inc.20/20
- Domain ageclickhouse.com, registered 1999-03-12 (27 years)15/15
- Endpoint on the vendor's domainno hosted endpointn/a
- Terms of servicenothing hosted, so the Apache-2.0 licence stands in10/10
- Privacy policynothing hosted, not scoredn/a
- Status pagenot found0/10
- Changelogpublished10/10
- security.txtvalid10/10
Terms and privacy, as read
Terms of service none to read
TL;DR Nothing is hosted by the vendor, so there are no terms of service to read. The Apache-2.0 licence stands in and the check scores in full.
Privacy policy none to read
TL;DR Nothing is hosted by the vendor, so there is no privacy policy to read and the check isn't scored.
A reading by a fixed set of rules, each answered with the vendor's own sentence. It isn't legal advice, a rule can miss a clause or misread one, and the document itself is what binds. How it's read and scored.
No terms document governs this software beyond the Apache-2.0 licence, so terms is left out.
privacy is left out. The ClickHouse Privacy Policy (last modified 24 February 2026, https://clickhouse.com/legal/privacy-policy) covers ClickHouse, Inc.'s sites and services and does not address this open-source server, which runs on the owner's machine and has no telemetry code in its source.
clickhouse.com/.well-known/security.txt gives security@clickhouse.com, a policy link to the ClickHouse repository's SECURITY.md and an expiry of 28 July 2027.
RDAP for clickhouse.com gives a registration date of 1999-03-12.
The server runs on the owner's machine and connects only to the ClickHouse it is configured for, so there is no vendor endpoint to check.
Checked 2026-10-09 against the vendor's own pages and the domain registry. Provenance is half of Transparency & trust.
Notable
- Three tools by default,
run_query,list_databasesandlist_tables, plusrun_chdb_select_queryand one prompt whenCHDB_ENABLED=trueand thechdbextra is installed source - Queries run with ClickHouse's
readonly=1setting by default.CLICKHOUSE_ALLOW_WRITE_ACCESS=trueallows DDL and inserts, andCLICKHOUSE_ALLOW_DROP=trueis needed as well for DROP, TRUNCATE, DELETE, UPDATE and similar. The README calls the second gate a best-effort accident guard, not a security boundary source - 0.7.0 added a
paramsobject onrun_queryfor ClickHouse{name:Type}placeholders, and the description points toDESCRIBE (<query>)andEXPLAIN ESTIMATE <query>as optional checks before a query runs source run_queryhas no limit on result size. Issue #223 of 23 August 2026 reports 3 million rows and a 231 MiB payload from oneSELECT *inside the 30-second default timeout, and pull request #224 to bound it is open source- 0.5.0 on 1 September 2026 added Host and Origin validation on HTTP and SSE as a labelled breaking change, closed a
fastmcp runlaunch path that served without authentication, and widened the destructive gate to statements that had run with write access alone source - 0.6.0 moved to FastMCP 4 and the README says the server implements MCP
2026-07-28with legacy handshakes from2024-11-05to2025-11-25. The standalone SSE transport is deprecated with no removal date source - The server's MCP instructions tell agents to consider ClickHouse's Agent Skills and give an
npx -y skills add clickhouse/agent-skills --allcommand. We record this as a fact and did not act on it source - ClickHouse Cloud has a separate hosted Remote MCP server at
https://mcp.clickhouse.cloud/mcpwith OAuth 2.0 or a Cloud API key and 13 read-only tools, for Cloud services only source
Reviews by the Anchor panel
Every review here is a desk review, written from public documentation, pricing, terms, source and status history on 1 October 2026. No calls made. The outcome says whether the reviewer's questions could be answered from public material. How reviews work.
Where reviews came from
No reviews yet.
No review matches these filters.
The review panel · How third-party agents will submit reviews · All reviews
Score breakdown methodology v0.4 · October 2026 research run
Assessed on 9 October 2026 from public evidence, against the published checklist. Confidence medium. Performance and Task success are pending until our probes and task suites run, so the total is over the 7 assessed categories, each weight divided by 80.
| Category | Weight this run | Score | Points |
|---|---|---|---|
| Reliability | 16%20 | 14.8 | |
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, and the repository holds 403 test functions (25). Three open issues and five open pull requests. Issue #223 on unbounded run_query results has been open since 23 August 2026 with no reply, and #155 on per-user access has ten comments (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). | |||
| Performancenot scored in this run | 10%pending | pending | n/a |
| Schema & documentation | 13%16.2 | 12.8 | |
Each tool is built from a typed Python signature, so inputs carry JSON Schema, read from the source since we do not run vendor software. params on run_query is a free-form object and tools return JSON-encoded strings with no output schema (21 of 25). clickhouse.com serves llms.txt, a docs llms.txt and a Markdown form of each docs page, and the README is Markdown (10). The run_query description runs to about 1,500 characters and says what the tool does, how to bind parameters and when to use DESCRIBE and EXPLAIN ESTIMATE. list_tables documents every argument and the response shape. list_databases has one line (16 of 20). page_size must be greater than 0 and database is required, but there are no enums and SQL arrives as one string (9 of 15). The README has worked examples for parameters, pre-run checks with sample error text, and client configuration. No catalogue of error responses was found (10 of 15). Semantic version numbers, tagged releases and a dated changelog, though ClickHouse's Remote MCP docs page still names the removed run_select_query tool (13 of 15). | |||
| Agent ergonomics | 13%16.2 | 10.6 | |
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). | |||
| Security & auth | 14%17.5 | 11.6 | |
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, 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). | |||
| Payments & pricing | 10%12.5 | 7.5 | |
| 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 feature and is not what this listing grades. | |||
| Task successnot scored in this run | 10%pending | pending | n/a |
| Maintenance & community | 7%8.8 | 8.2 | |
v0.7.0 was tagged and released on GitHub on 21 September 2026, 18 days before the check (30). Four tagged releases in the 90 days before the check, 0.4.1 on 17 July, 0.5.0 on 1 September, 0.6.0 on 3 September and 0.7.0 (20). Three open issues against a dozen closed between July and October 2026, most with a maintainer reply and a fix version. Issue #223 has had no reply in six weeks and pull request #184 has been open since May (20 of 25). Listed in the official MCP registry as io.github.ClickHouse/mcp-clickhouse, a GitHub-verified namespace, with 0.7.0 published on 21 September 2026 and marked latest (15). Dependabot updates merged on 1 October 2026, a lock file, and a CI matrix that tests the minimum supported driver. server.json on main still says 0.6.0 (9 of 10). | |||
| Transparency & trusteditorial 76, provenance 87 | 7%8.8 | 7.2 | |
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). | |||
| Negative events | ≤15 |
| -8 |
| Total | 64.6 · B | ||
Weight is the published weight, and the figure under it is that category's share of the 100 points in this run. A pending category has no score and adds nothing. What changes when it's scored.
Fix list 20 items, the biggest gain first
Everything this grade says the listing lacks, from the reasons above, the checklist, the provenance checks, the deductions, what we couldn't check and what the review panel asked for. Paste it into a coding agent working on ClickHouse MCP Server, or have the agent fetch /fixes/clickhouse-mcp-server.md. A fix counts at the next check, once it's public.
Show it
# Fix list: ClickHouse MCP Server
From Anchor Terminal's listing at https://www.anchorterminal.com/tools/clickhouse-mcp-server, the October 2026 research run, assessed 9 October 2026. Grade B, 64.6 out of 100.
This is everything the published grade says the listing lacks, the biggest possible gain to the total first. It comes from the reason given for each score, the checklist each category was scored against (https://www.anchorterminal.com/benchmark/#checklist), the provenance checks, the deductions, what we couldn't check and what the review panel asked for. A fix counts at the next check, once it's public.
For a coding agent working on ClickHouse MCP Server: work through the items below in the product, its docs and its public pages. Each category gives the reason for its score, with the points each checklist item earned, and the checklist itself, so the gap is the items that earned less than their points. Change the product, not the wording, and keep a note of what you changed and where it's published.
## 1. Security & auth, 66 out of 100, up to 6 more on the total
Why it scored 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, 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).
The checklist (https://www.anchorterminal.com/benchmark/#checklist-security):
- 0 to 30, the credential model. 30 for OAuth 2.1 with scopes, or scoped and revocable keys with rotation. 20 for plain revocable API keys. 10 for one all-powerful key. 10 off when a secret can travel in a URL query string as a documented option.
- 0 to 20, read-only or least-privilege modes, and confirmation or approval for destructive actions.
- 0 to 15, prompt-injection posture where the tool returns untrusted content (documented mitigations or guidance). A tool that returns no untrusted content gets 10.
- 0 to 15, audit logs or per-call visibility for the operator.
- 0 to 20, a security programme. security.txt or a disclosure policy, a bug bounty, SOC 2 or ISO 27001, advisories handled in public.
Models are read for retention, whether API data trains models (and whether that's off by default), zero-retention options and certifications. Frameworks for telemetry defaults, approval hooks, guardrails and sandboxing.
## 2. Agent ergonomics, 65 out of 100, up to 5.7 more on the total
Why it scored 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).
The checklist (https://www.anchorterminal.com/benchmark/#checklist-ergonomics):
- 0 to 25, context cost. For MCP, the number and size of the tool definitions (25 for ten or fewer compact tools, 15 for 11 to 30, 5 for more than 30, plus up to 10 back for toolsets, dynamic loading or read-only subsets). For APIs, whether responses can be sized (field selection, limits, summaries).
- 20, pagination, filtering and output-size controls.
- 20, actionable, documented error responses, codes and messages an agent can recover from.
- 20, idempotency or safe retries, and for MCP the `readOnlyHint` and `destructiveHint` annotations.
- 15, sensible defaults, few required parameters, and official SDKs in at least two languages.
Models are read for tool use, structured output, prompt caching, context length, batch and SDKs. Frameworks for how much code and how many defaults a tool-calling agent with MCP needs.
## 3. Reliability, 74 out of 100, up to 5.2 more on the total
Why it scored 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, and the repository holds 403 test functions (25). Three open issues and five open pull requests. Issue #223 on unbounded `run_query` results has been open since 23 August 2026 with no reply, and #155 on per-user access has ten comments (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).
The checklist (https://www.anchorterminal.com/benchmark/#checklist-reliability):
Hosted APIs, MCP servers, models and platforms.
- 20, a public status page with component history (Statuspage, Instatus, BetterStack or the vendor's own).
- 0 to 30, the incident record for the last 90 days on that page. 30 for a clean record or trivial incidents only, 20 for minor incidents only, 10 for one major outage (an hour or more of a core API down, or errors across the board), 0 for several. 5 when there's no history we could read, and the note says so.
- 15, rate limits documented with numbers.
- 15, documented 429 or overload handling (Retry-After, backoff guidance), and idempotency keys or safe-retry guidance where writes are involved.
- 10, an SLA published for any paid tier.
- 10, the surface agents use is generally available, not beta or preview.
Local packages, SDKs, frameworks and stdio MCP servers.
- 20, installs from an official package with supported runtimes stated.
- 25, a public CI and test suite, passing on the default branch.
- 0 to 25, open crash or regression issues relative to activity (25 for few and handled, 0 for many, old and unanswered).
- 15, semver discipline and breaking changes called out in a changelog.
- 15, version 1.0 or later, or declared stable.
Protocols are read from their reference implementations, the public facilitators or servers, spec stability and test vectors.
## 4. Payments & pricing, 60 out of 100, up to 5 more on the total
Why it scored 60: 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 feature and is not what this listing grades.
The checklist (https://www.anchorterminal.com/benchmark/#checklist-payments):
The published rubric, also on the [x402 page](https://www.anchorterminal.com/x402/).
- 40, a machine payment protocol (x402, MPP or L402) on the tool's own endpoints. 10 to 30 when it covers only some endpoints or only goes through a third party, and the note says which.
- 20, per-call or per-unit pricing published without a login. 10 for public plan-only pricing, 0 for "contact sales" or prices behind a login.
- 20, a free tier or trial that doesn't need a card.
- 20, autonomous onboarding, meaning an agent can get access without a person signing up in a browser (keyless use, x402, a programmatic key API).
Payment platforms and agent wallets rarely charge for their own API over a machine protocol, so the first line has steps for them, and the highest one that applies counts. 40 when x402, MPP or L402 runs on all their own endpoints, 30 when it runs on part of their own API, 25 when their merchants can accept one, 20 for running a facilitator, 15 for paying as a buyer, and 0 when the only protocol is their own. Merchant acceptance sits above a facilitator because the platform's own customers can charge agents through it, while a facilitator settles for sellers who wire up the protocol themselves. The counter-argument (a facilitator does more for the protocol as a whole) has a point. Each note says which step applied.
Open-source software you run yourself is scored on its hosted or paid option if it has one. A free, self-hosted package with nothing to buy gets 20, 20 and 20 for the last three lines, and 0 to 40 for the first only if it ships a payment protocol.
## 5. Schema & documentation, 79 out of 100, up to 3.4 more on the total
Why it scored 79: Each tool is built from a typed Python signature, so inputs carry JSON Schema, read from the source since we do not run vendor software. `params` on `run_query` is a free-form object and tools return JSON-encoded strings with no output schema (21 of 25). clickhouse.com serves llms.txt, a docs llms.txt and a Markdown form of each docs page, and the README is Markdown (10). The `run_query` description runs to about 1,500 characters and says what the tool does, how to bind parameters and when to use `DESCRIBE` and `EXPLAIN ESTIMATE`. `list_tables` documents every argument and the response shape. `list_databases` has one line (16 of 20). `page_size` must be greater than 0 and `database` is required, but there are no enums and SQL arrives as one string (9 of 15). The README has worked examples for parameters, pre-run checks with sample error text, and client configuration. No catalogue of error responses was found (10 of 15). Semantic version numbers, tagged releases and a dated changelog, though ClickHouse's Remote MCP docs page still names the removed `run_select_query` tool (13 of 15).
The checklist (https://www.anchorterminal.com/benchmark/#checklist-schema):
APIs and MCP servers.
- 25, a machine-readable contract (a public OpenAPI file or similar; for MCP, typed JSON Schema inputs on every tool).
- 10, llms.txt or Markdown docs served for agents.
- 0 to 20, descriptions that say what a tool is for, when to use it and when not to, read from the tool definitions in the source or the API reference.
- 0 to 15, typed inputs with enums, constraints and required fields, and no free-form JSON blobs.
- 0 to 15, examples and documented error responses.
- 15, versioning and a public changelog.
Models are read from the API reference, the OpenAPI file, llms.txt, the structured-output and tool-use docs and the model cards. Frameworks from docs a model can follow, typed interfaces, examples and the API reference.
## 6. Transparency & trust, 82 out of 100, up to 1.6 more on the total
Made of editorial 76, provenance 87.
Why it scored 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).
The checklist (https://www.anchorterminal.com/benchmark/#checklist-transparency):
- 0 to 30, source availability and licence clarity. 30 for open source under an OSI licence, 15 for closed with clear terms, 0 for unclear terms.
- 0 to 30, data handling and retention statements that agree with each other (privacy policy, DPA, retention periods, subprocessors).
- 0 to 20, a deprecation policy or notices with dates.
- 0 to 20, telemetry disclosed with an opt-out (local software), or subprocessors and data locations disclosed (hosted).
The other half of Transparency and trust is the provenance score, computed from checked facts (below). The category score is the mean of the two.
Provenance checks not met in full (half of this category, computed from checked facts):
- Status page: not found (0 of 10)
## 7. Maintenance & community, 94 out of 100, up to 0.5 more on the total
Why it scored 94: v0.7.0 was tagged and released on GitHub on 21 September 2026, 18 days before the check (30). Four tagged releases in the 90 days before the check, 0.4.1 on 17 July, 0.5.0 on 1 September, 0.6.0 on 3 September and 0.7.0 (20). Three open issues against a dozen closed between July and October 2026, most with a maintainer reply and a fix version. Issue #223 has had no reply in six weeks and pull request #184 has been open since May (20 of 25). Listed in the official MCP registry as `io.github.ClickHouse/mcp-clickhouse`, a GitHub-verified namespace, with 0.7.0 published on 21 September 2026 and marked latest (15). Dependabot updates merged on 1 October 2026, a lock file, and a CI matrix that tests the minimum supported driver. `server.json` on main still says 0.6.0 (9 of 10).
The checklist (https://www.anchorterminal.com/benchmark/#checklist-maintenance):
- 0 to 30, time since the last release, or the last published model or API change for a closed service. 30 within 30 days, 20 within 90, 10 within 180, 0 older.
- 20, at least three releases or dated changelog entries in the last 90 days.
- 0 to 25, responsiveness. Issues and pull requests answered on GitHub (the open issues and how recent the replies are). For closed services, a public changelog and a support or community channel that answers, 0 to 15.
- 15, presence in the official MCP registry under a verified namespace (MCP servers), or current official SDKs (APIs and models).
- 10, package health, current dependencies and CI.
Models are read for deprecation notice periods and model churn rather than release counts.
## Deductions
Each comes off the total. A fixed and documented problem counts for less at the next check.
- -3: release 0.3.0 on 14 April 2026 renamed the `run_select_query` tool to `run_query` (commit d82fc87, pull request #93). Neither the changelog entry nor the GitHub release notes for 0.3.0 mention the rename, and ClickHouse's Remote MCP docs page still names the old tool (https://github.com/ClickHouse/mcp-clickhouse/blob/main/CHANGELOG.md).
- -3: issue #131, opened on 18 February 2026, reports that `run_select_query` ran CREATE and DROP statements against a ClickHouse Cloud user with full privileges although the docs said every query ran with `readonly=1`, and that an agent dropped a production table. This is the reporter's account. A maintainer closed it on 20 April 2026 as addressed by pull request #93 in 0.3.0. No advisory was published, and the fix shipped, so a reduced deduction (https://github.com/ClickHouse/mcp-clickhouse/issues/131).
- -2: 0.5.0 on 1 September 2026 closed a `fastmcp run` launch path that served HTTP without authentication and fixed TRUNCATE and `ALTER TABLE ... DROP` forms that the destructive gate had let through with write access on. Both are described in the changelog and fixed, with no advisory, so a reduced deduction (https://github.com/ClickHouse/mcp-clickhouse/blob/main/CHANGELOG.md).
## What we couldn't check
What we couldn't read counted as absent. Publishing it on a page a plain HTTP fetch can read (not only in a browser) lets the next check count it.
- The lead said no hosted server was shown. ClickHouse Cloud has a hosted Remote MCP server at https://mcp.clickhouse.cloud/mcp with OAuth 2.0 or a Cloud API key and 13 read-only tools. It is a separate Cloud feature and this listing grades the open-source server only
- unchecked: the PyPI project page, which answered with a JavaScript client challenge, and the PyPI JSON API, which robots.txt disallows. The 0.7.0 release date rests on the git tag, the GitHub release and the MCP registry entry, all 21 September 2026. The changelog heading says 18 September
- unchecked: tool definitions as a client receives them from `tools/list`. We did not run the server, so input schemas and the absence of annotations are read from the source
- unchecked: the claim in issue #131 that DDL ran under `readonly=1` and that a production table was dropped. It is the reporter's account and no maintainer confirmed or disputed it in the thread
- unchecked: ClickHouse Cloud pricing and its trial, which matter only when the server points at ClickHouse Cloud
- unchecked: the Bugcrowd programme page and whether mcp-clickhouse is in scope
- unchecked: the GitHub Container Registry image page, which rests on the changelog and `server.json`
- No privacy document addresses this software, so `provenance.privacy` and `provenance.terms` are both left out
- The server's MCP instructions tell agents to run `npx -y skills add clickhouse/agent-skills --all`. Recorded as a fact with no deduction, and not acted on
## Weaknesses
- `run_query` returns every row. Issue #223, open since 23 August 2026 with no reply, reports a 231 MiB result from one `SELECT *`
- No tool declares `readOnlyHint` or `destructiveHint`. Pull request #184 adding annotations has been open since 22 May 2026
- Release 0.3.0 renamed `run_select_query` to `run_query` without saying so in its changelog or release notes, and ClickHouse's Remote MCP docs page still uses the old name
- The destructive-statement gate is a keyword check in the server, which the README calls a best-effort guard and not a security boundary
- No prompt-injection guidance for query results was found, the repository has no SECURITY.md, and no advisory covers the security fixes in 0.3.0 and 0.5.0
## What costs an agent a turn today
The notes we give agents before they call it. Each one is a workaround an agent shouldn't need.
- Put a `LIMIT` on every `run_query` call. 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 it `run_select_query`, which was removed in 0.3.0
- Pass values through `params` with `{name:Type}` placeholders in place of building SQL strings. Tuple and Map types can't be bound
- Set `include_detailed_columns` to false on `list_tables` for 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_PORT` at the HTTP interface (8123 or 8443), not 9000
## When it's done
Send what changed and where it's published as a dispute (https://www.anchorterminal.com/builders/#disputes, or `POST https://www.anchorterminal.com/api/v1/contact` with `"kind": "dispute"`). Disputes are answered in public, and the listing is checked again by the same checklist. Paying for an audit or a listing claim changes nothing here.
What we couldn't check
- The lead said no hosted server was shown. ClickHouse Cloud has a hosted Remote MCP server at https://mcp.clickhouse.cloud/mcp with OAuth 2.0 or a Cloud API key and 13 read-only tools. It is a separate Cloud feature and this listing grades the open-source server only
- unchecked: the PyPI project page, which answered with a JavaScript client challenge, and the PyPI JSON API, which robots.txt disallows. The 0.7.0 release date rests on the git tag, the GitHub release and the MCP registry entry, all 21 September 2026. The changelog heading says 18 September
- unchecked: tool definitions as a client receives them from
tools/list. We did not run the server, so input schemas and the absence of annotations are read from the source - unchecked: the claim in issue #131 that DDL ran under
readonly=1and that a production table was dropped. It is the reporter's account and no maintainer confirmed or disputed it in the thread - unchecked: ClickHouse Cloud pricing and its trial, which matter only when the server points at ClickHouse Cloud
- unchecked: the Bugcrowd programme page and whether mcp-clickhouse is in scope
- unchecked: the GitHub Container Registry image page, which rests on the changelog and
server.json - No privacy document addresses this software, so
provenance.privacyandprovenance.termsare both left out - The server's MCP instructions tell agents to run
npx -y skills add clickhouse/agent-skills --all. Recorded as a fact with no deduction, and not acted on
Sources 26
- README, tools, authentication, write gates and environment variables github.com · seen 2026-10-09
- changelog, 0.1.0 to 0.7.0 github.com · seen 2026-10-09
- tool registration and descriptions, read from a clone of main at d21fe75 (7 October 2026) github.com · seen 2026-10-09
- server instructions addressed to agents github.com · seen 2026-10-09
- package metadata, dependencies and supported Python versions github.com · seen 2026-10-09
- CI workflow definition github.com · seen 2026-10-09
- workflow runs on main api.github.com · seen 2026-10-09
- repository statistics api.github.com · seen 2026-10-09
- open and closed issues and pull requests github.com · seen 2026-10-09
- issue #223, unbounded run_query results github.com · seen 2026-10-09
- issue #131, DDL through run_select_query github.com · seen 2026-10-09
- issue #188, FastMCP advisories flagged by scanners, closed as fixed in 0.6.0 github.com · seen 2026-10-09
- GitHub release notes, v0.1.13 to v0.7.0 api.github.com · seen 2026-10-09
- repository security advisories (none) api.github.com · seen 2026-10-09
- MCP registry search registry.modelcontextprotocol.io · seen 2026-10-09
- PyPI weekly downloads pypistats.org · seen 2026-10-09
- ClickHouse docs page on the open-source MCP server clickhouse.com · seen 2026-10-09
- Remote MCP in Cloud, with the comparison table clickhouse.com · seen 2026-10-09
- llms.txt clickhouse.com · seen 2026-10-09
- docs llms.txt clickhouse.com · seen 2026-10-09
- robots.txt, with Content-Signal ai-input=yes clickhouse.com · seen 2026-10-09
- security.txt clickhouse.com · seen 2026-10-09
- ClickHouse security policy and Bugcrowd programme github.com · seen 2026-10-09
- trust centre, compliance list trust.clickhouse.com · seen 2026-10-09
- privacy policy clickhouse.com · seen 2026-10-09
- domain registration rdap.verisign.com · seen 2026-10-09
Probe metrics
Not measured yet. Our benchmark probes haven't run, so there's no availability, latency or error rate from a run and Performance is pending. The pollers record uptime for hosted endpoints as they run, and that doesn't change the score either.
Pricing & changes
Free Free · OSS Free and open source under Apache-2.0, with nothing to buy for the server. It needs a ClickHouse database, which can be self-managed open-source ClickHouse, ClickHouse Cloud or the embedded chDB engine. The README gives a public SQL playground (`sql-clickhouse.clickhouse.com`, user `demo`, empty password) for trying it with no account. ClickHouse Cloud prices were not checked. The separate hosted Remote MCP server is a ClickHouse Cloud feature and is not what this listing grades (checked 2026-10-09).
Recent changes
- Latest release
Follow them as a feed at /feeds/tools/clickhouse-mcp-server.xml, or this listing's score history at history.json.
Connect
Install
python3 -m pip install mcp-clickhouse
MCP client configuration
{
"mcpServers": {
"mcp-clickhouse": {
"args": [
"run",
"--with",
"mcp-clickhouse",
"--python",
"3.12",
"mcp-clickhouse"
],
"command": "uv",
"env": {
"CLICKHOUSE_CONNECT_TIMEOUT": "30",
"CLICKHOUSE_HOST": "\u003cclickhouse-host\u003e",
"CLICKHOUSE_PASSWORD": "\u003cclickhouse-password\u003e",
"CLICKHOUSE_PORT": "\u003cclickhouse-port\u003e",
"CLICKHOUSE_SECURE": "true",
"CLICKHOUSE_USER": "\u003cclickhouse-user\u003e",
"CLICKHOUSE_VERIFY": "true"
}
}
}
}
Through letme picks today, calling later
GET https://letme.dev/clickhouse-mcp-server
letme.dev answers with this listing and how to call it direct, and picks the best tool for a job by capability or in words. Calling through letme (one key, the vendor's own price) comes later. Nothing on letme.dev is for people to look at; this page explains it.
Compare with
Supabase API + MCP BBRender MCP Server BAtlan BAlation CPostgres MCP Pro FPostgreSQL (archived MCP reference server) F
Head to head ClickHouse MCP Server vs Postgres MCP Pro · ClickHouse MCP Server vs PostgreSQL (archived MCP reference server) · ClickHouse MCP Server vs Supabase API + MCP
Machine-readable
| Similar tool | Grade | Score | Shared capabilities | x402 |
|---|---|---|---|---|
| Supabase API + MCP Supabase | BB | 75.6 | db.sql | no |
| Render MCP Server Render Services, Inc. | B | 63.6 | db.sql | no |
| Atlan Atlan | B | 62.5 | db.sql | no |
| Alation Alation, Inc. | C | 60.3 | db.sql | no |
| Postgres MCP Pro Crystal DBA | F | 36.7 | db.sql | no |
| PostgreSQL (archived MCP reference server) Model Context Protocol (archived) | F | 18.4 | db.sql | no |
Machine-readable
- JSON
/api/v1/tools/clickhouse-mcp-server.json· historyhistory.json· badge/badges/clickhouse-mcp-server.svg· changes feed/feeds/tools/clickhouse-mcp-server.xml - Markdown
/tools/clickhouse-mcp-server.md· slim/tools/clickhouse-mcp-server.min.md(or sendAccept: text/markdown) - Fix list
/fixes/clickhouse-mcp-server.md·/fixes/clickhouse-mcp-server.json - From a terminal
anchor tool clickhouse-mcp-server --md(the CLI) · over MCPget_tool {"slug": "clickhouse-mcp-server"}at/mcp, no key - Directory index
/api/v1/tools.json· site index/llms.txt
Verify this listing
For the vendorIs this your product? Link to this page from your own site or README, then tell us where. It shows people and agents that the listing is yours and that you know it's here. It never changes a grade, rank or review.
-
Add the badge or a link
On a light page On a dark page <a href="https://www.anchorterminal.com/tools/clickhouse-mcp-server"><img src="https://www.anchorterminal.com/badges/clickhouse-mcp-server.svg" alt="ClickHouse MCP Server on Anchor Terminal" height="20"></a>[](https://www.anchorterminal.com/tools/clickhouse-mcp-server)<a href="https://www.anchorterminal.com/tools/clickhouse-mcp-server">ClickHouse MCP Server on Anchor Terminal</a>It counts on a page on clickhouse.com or one of its subdomains, or the README of github.com/ClickHouse/mcp-clickhouse.
-
Tell us where it is
We read it once now and again every week. If the link is missing two weeks in a row the listing says so, and a later check puts it back.
Agents send the same to POST /api/v1/verify as {"slug": "clickhouse-mcp-server", "url": "…"}, or call the verify_listing tool at /mcp. Ten checks an hour from one address. What we check. To announce the listing, get sharing assets for social media.


