ClickHouse for Windsurf
io.github.burakdirin/clickhouse-mcp-server
Query ClickHouse databases from AI assistants, read-only by default with opt-in writes.
client:Windsurf
transport:stdio
runtime:pypi
Install ClickHouse in Windsurf
~/.codeium/windsurf/mcp_config.json · windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
{
"mcpServers": {
"clickhouse-mcp-server": {
"command": "uvx",
"args": [
"clickhouse-mcp-server"
],
"env": {
"CLICKHOUSE_HOST": "<CLICKHOUSE_HOST>",
"CLICKHOUSE_PORT": "<CLICKHOUSE_PORT>",
"CLICKHOUSE_USER": "<CLICKHOUSE_USER>",
"CLICKHOUSE_PASSWORD": "<CLICKHOUSE_PASSWORD>",
"CLICKHOUSE_DATABASE": "<CLICKHOUSE_DATABASE>",
"CLICKHOUSE_SECURE": "<CLICKHOUSE_SECURE>",
"CLICKHOUSE_VERIFY": "<CLICKHOUSE_VERIFY>",
"CLICKHOUSE_ALLOW_WRITE": "<CLICKHOUSE_ALLOW_WRITE>",
"CLICKHOUSE_QUERY_TIMEOUT": "<CLICKHOUSE_QUERY_TIMEOUT>",
"CLICKHOUSE_MAX_ROWS": "<CLICKHOUSE_MAX_ROWS>"
}
}
}
}
Global only — Windsurf has no per-project MCP config. Refresh Cascade after saving. Windsurf docs