Skip to content
Grok

mcp clickhouse for Grok

io.github.dockndevai/mcp-clickhouse

ClickHouse query & management for AI agents — SQL-classified read/write/destructive gating.

client:Grok transport:stdio runtime:npm

Install mcp clickhouse in Grok

.mcp.json (in your project root)

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

{
  "mcpServers": {
    "mcp-clickhouse": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dockndevai/mcp-clickhouse"
      ],
      "env": {
        "CLICKHOUSE_URL": "<CLICKHOUSE_URL>",
        "CLICKHOUSE_USER": "<CLICKHOUSE_USER>",
        "CLICKHOUSE_PASSWORD": "<CLICKHOUSE_PASSWORD>",
        "CLICKHOUSE_MODE": "<CLICKHOUSE_MODE>"
      }
    }
  }
}

Grok Build reads Claude Code's .mcp.json and Claude Desktop's config unchanged, so a server you have already set up there needs nothing new. The Grok web app and X integration do not take custom servers. Grok docs

mcp clickhouse in other clients