Cursor logo Add ClickHouse MCP Server to Cursor

Licensenpm latest releaseDownloadsGitHub Stars
An MCP server for ClickHouse.
/ClickHouse/mcp-clickhouse
{
  "mcp-clickhouse": {
    "command": "uv",
    "args": [
      "run",
      "--with",
      "mcp-clickhouse",
      "--python",
      "3.13",
      "mcp-clickhouse"
    ],
    "env": {
      "CLICKHOUSE_HOST": "<clickhouse-host>",
      "CLICKHOUSE_PORT": "<clickhouse-port>",
      "CLICKHOUSE_USER": "<clickhouse-user>",
      "CLICKHOUSE_PASSWORD": "<clickhouse-password>",
      "CLICKHOUSE_SECURE": "true",
      "CLICKHOUSE_VERIFY": "true",
      "CLICKHOUSE_CONNECT_TIMEOUT": "30",
      "CLICKHOUSE_SEND_RECEIVE_TIMEOUT": "30"
    }
  }
}