clickhouse-mcp-server (sepfazeli/clickhouse-mcp-server) is an MCP server listed on the M8ven Trust Index. It scores 74 out of 100, grade C. It declares 6 tools. No publisher has claimed this listing.
Provides AI agents safe, read-only access to a ClickHouse database, enabling table listing, query execution, schema inspection, and caching.
Emerging. No concerning findings. Grades remain capped until the project builds reputation through adoption. Grades reflect the full trust pyramid: code, verification depth, and reputation. New projects cap at C until adoption is earned.
How we verified
Verified is a snapshot. Live keeps it current, and builds your track record.
⚡ Connect GitHub → continuous verification on every pushwhy connect →Who stands behind it
sepfazeli
Source: Glama
Claim it to get a verified publisher badge, a free copy of our full audit findings, and direct contact for any high-priority issues we find. Or connect your repo for our deepest verification, Live Monitored: read-only, revoke anytime. What we access →
Install from
The grade above is for the source repository. Registries can serve a different version, so we mark the ones we were not able to read.
These names and descriptions are the publisher's own, read from the source code. We print them as written. Our assessment is the findings above, not this list.
list_tablesList all tables in the connected ClickHouse database with their engine type and row count.
run_queryExecute a read-only SQL query against ClickHouse. Only SELECT, WITH (CTE), SHOW, DESCRIBE, EXISTS, and EXPLAIN statements are allowed. Results are cached for 60s. A maximum row limit of 1000 is enforced (or lower if scoped).
describe_tableGet the schema of a specific ClickHouse table: column names, types, default expressions, and a sample of up to 3 rows.
aggregateBuild and run a time-windowed aggregation query without writing raw SQL. Specify a table, metric column, aggregation function, and optional time column with interval for grouping.
cache_statsShow query cache statistics: entry count, max entries, and TTL.
clear_cacheClear all cached query results.
CACHE_TTL_MSCLICKHOUSE_DATABASE"": "default"CLICKHOUSE_PASSWORDCLICKHOUSE_URL"": "http://localhost:8123",CLICKHOUSE_USER"": "default",LOG_LEVELSet to debug, info, warn, or error (default: info).MCP_API_KEYThe server supports per-API-key permission scopes via the MCP_AUTH_SCOPES and environment variables. This lets you restrict which tables, columns, and row limits are available per caller.MCP_AUTH_SCOPESThe server supports per-API-key permission scopes via the and MCP_API_KEY environment variables. This lets you restrict which tables, columns, and row limits are available per caller.MCP_HTTP_PORTAll four hints declared on every tool
6/6 tools missing one or more hints — list_tables (missing: idempotentHint, openWorldHint); run_query (missing: idempotentHint, openWorldHint); describe_table (missing: idempotentHint, openWorldHint), +3 more. OpenAI's directory rejects tools where any of the four hints are missing or non-boolean.
For every tool, set all four hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) to explicit true/false values that match the handler’s actual behaviour.
Tool inputs are validated
3/6 tool handlers declare input schemas (50%)
Declare an inputSchema with zod/joi/yup on every tool definition.
Tool handlers catch errors
4/6 tool handlers wrap calls in try/catch (67%)
Wrap each tool handler body in try/catch and return a structured error response.
License file
No license file
Add a LICENSE file (MIT, Apache-2.0, etc.).
Tool test coverage
Only 0/6 tools referenced in tests (0%)
Write tests that reference each tool by name so every tool has at least one test.
Claim the listing to review these findings one by one and send us a correction where you disagree, straight to the team. Claiming also means we tell you when the grade moves, and reach you first if we find anything urgent.
[](https://m8ven.ai/mcp/sepfazeli/clickhouse-mcp-server)?variant=verified to the badge URL.Vetting this one by hand? Tool Check is an MCP that scores other MCPs. Add it once and ask Claude, ChatGPT, or any MCP client to grade a server, surface CVEs, check the publisher, and suggest safer alternatives — before you install.
https://m8ven.ai/api/mcp/tool-check