← Index

ClickHouse

io.github.ClickHouse/mcp-clickhouse·v0.4.1·Databases

Official ClickHouse MCP server for querying and exploring ClickHouse clusters and chDB.

In-path gate · all MCP tools

Using ClickHouse in Claude, Cursor, Gemini CLI, Cline, or Zed?

MCP tool contracts can change remotely with no version bump. The mcpindex gate pins each contract and HOLDs the call when it drifts-before your agent acts. Zero credentials. This is not the package install for this server itself (use Install this server for that).

Install the mcpindex gate (one command)

Rewrites your MCP host config so each server launches behind the gate. Inspect first: curl -fsSL https://mcpindex.ai/install.sh | less

curl -fsSL https://mcpindex.ai/install.sh | sh
Trust verdict · v1 advisory · method
NOT YET SCREENEDno verdict on file

Verdict not yet evaluated for this tool. The semantic screen takes adversarial cases first; coverage rolls out as the corpus expands (15/150 labels to graduation). The deterministic conformance probe is built but has not yet run on the public corpus, so a recorded verdict here is REVIEW or UNVERIFIED, never a clearing ALLOW. Until a verdict is recorded, an agent should treat this tool as not-yet-cleared and fall back to its own checks. Method: the eval, four-state verdict, honest limits.

Own this server? Screen its description →

Environment variables
CLICKHOUSE_HOST
required

Hostname of the ClickHouse server

CLICKHOUSE_USER
required

Username for ClickHouse authentication

CLICKHOUSE_PASSWORD
requiredsecret

Password for ClickHouse authentication

CLICKHOUSE_PORT

ClickHouse HTTP(S) port. Defaults to 8443 when CLICKHOUSE_SECURE=true, 8123 otherwise

CLICKHOUSE_SECURE

Use HTTPS to connect to ClickHouse

CLICKHOUSE_VERIFY

Verify SSL certificates

CLICKHOUSE_DATABASE

Default database to use

CLICKHOUSE_ROLE

ClickHouse role to activate for the session

CLICKHOUSE_ALLOW_WRITE_ACCESS

Allow write operations (DDL and DML). Queries run read-only by default

CLICKHOUSE_ALLOW_DROP

Allow destructive operations (DROP, TRUNCATE) when write access is also enabled

CLICKHOUSE_MCP_QUERY_TIMEOUT

Query tool timeout in seconds

CLICKHOUSE_HOST
required

Hostname of the ClickHouse server

CLICKHOUSE_USER
required

Username for ClickHouse authentication

CLICKHOUSE_PASSWORD
requiredsecret

Password for ClickHouse authentication

CLICKHOUSE_PORT

ClickHouse HTTP(S) port. Defaults to 8443 when CLICKHOUSE_SECURE=true, 8123 otherwise

CLICKHOUSE_SECURE

Use HTTPS to connect to ClickHouse

CLICKHOUSE_VERIFY

Verify SSL certificates

CLICKHOUSE_DATABASE

Default database to use

CLICKHOUSE_ROLE

ClickHouse role to activate for the session

CLICKHOUSE_ALLOW_WRITE_ACCESS

Allow write operations (DDL and DML). Queries run read-only by default

CLICKHOUSE_ALLOW_DROP

Allow destructive operations (DROP, TRUNCATE) when write access is also enabled

CLICKHOUSE_MCP_QUERY_TIMEOUT

Query tool timeout in seconds

MCP quality score · maturity, not trust · methodology
freshness
25
completeness
20
installability
25
documentation
15
stability
5
Alternatives in Databases