ClickHouse MCP
v0.2.0io.github.burakdirin/clickhouse-mcp-server
Query ClickHouse databases from AI assistants, read-only by default with opt-in writes.
Target client
run in your project directory
claude mcp add clickhouse-mcp-server -e CLICKHOUSE_HOST=<CLICKHOUSE_HOST> -e CLICKHOUSE_PORT=<CLICKHOUSE_PORT> -e CLICKHOUSE_USER=<CLICKHOUSE_USER> -e CLICKHOUSE_PASSWORD=<CLICKHOUSE_PASSWORD> -e CLICKHOUSE_DATABASE=<CLICKHOUSE_DATABASE> -e CLICKHOUSE_SECURE=<CLICKHOUSE_SECURE> -e CLICKHOUSE_VERIFY=<CLICKHOUSE_VERIFY> -e CLICKHOUSE_ALLOW_WRITE=<CLICKHOUSE_ALLOW_WRITE> -e CLICKHOUSE_QUERY_TIMEOUT=<CLICKHOUSE_QUERY_TIMEOUT> -e CLICKHOUSE_MAX_ROWS=<CLICKHOUSE_MAX_ROWS> -- uvx clickhouse-mcp-server
setup guides: Claude Code Claude Desktop Cursor VS Code Zed Windsurf Cline Gemini CLI Grok LangChain
Adds it for this project only. Append --scope user to make it available everywhere. Claude Code docs
This listing does not declare its tools. Connect the server and your client will discover them on the handshake.