Skip to content
Zed

ClickHouse for Zed

io.github.alyiox/mcp-clickhousex

Read-only MCP server for ClickHouse metadata, parameterized queries, and plan analysis.

client:Zed transport:stdio runtime:pypi

Install ClickHouse in Zed

~/.config/zed/settings.json · windows: %APPDATA%\Zed\settings.json

Held in this page only — never stored, logged, or sent anywhere but back to your screen.

{
  "context_servers": {
    "mcp-clickhousex": {
      "command": "uvx",
      "args": [
        "mcp-clickhousex"
      ],
      "env": {
        "MCP_CLICKHOUSE_DSN": "<MCP_CLICKHOUSE_DSN>"
      }
    }
  }
}

Merge this into your existing settings object — do not replace the file. Zed docs

ClickHouse in other clients