ClickHouse (uvx) MCP Server
CommunityContributed by ClickHouse
Query ClickHouse databases and chDB. List databases and tables, inspect schemas, and run SELECT queries (read-only by default) against ClickHouse Cloud or self-hosted clusters.
About the ClickHouse (uvx) MCP Server
The ClickHouse (uvx) MCP server is a local (stdio) Model Context Protocol server available in the McpMux registry. Query ClickHouse databases and chDB. List databases and tables, inspect schemas, and run SELECT queries (read-only by default) against ClickHouse Cloud or self-hosted clusters. This is a community-contributed MCP server by ClickHouse.
Install the ClickHouse (uvx) MCP server with one click using McpMux. It works with Cursor, Claude Desktop, Claude Code, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible AI client. This server requires authentication — McpMux securely stores your credentials with AES-256-GCM encryption.
Transport Configuration
{
"type": "stdio",
"command": "uvx",
"args": [
"mcp-clickhouse"
],
"env": {
"CLICKHOUSE_HOST": "${input:CLICKHOUSE_HOST}",
"CLICKHOUSE_USER": "${input:CLICKHOUSE_USER}",
"CLICKHOUSE_PASSWORD": "${input:CLICKHOUSE_PASSWORD}",
"CLICKHOUSE_PORT": "${input:CLICKHOUSE_PORT}",
"CLICKHOUSE_SECURE": "${input:CLICKHOUSE_SECURE}",
"CLICKHOUSE_VERIFY": "${input:CLICKHOUSE_VERIFY}"
},
"metadata": {
"inputs": [
{
"id": "CLICKHOUSE_HOST",
"label": "ClickHouse Host",
"description": "Hostname of your ClickHouse server. For ClickHouse Cloud, use the host shown in your service connection details (e.g. <service-id>.<region>.clickhouse.cloud).",
"type": "text",
"required": true,
"secret": false,
"placeholder": "your-instance.clickhouse.cloud",
"obtain": {
"url": "https://clickhouse.com/cloud",
"instructions": "1. Sign in to ClickHouse Cloud\n2. Open your service\n3. Click 'Connect'\n4. Copy the host (and create a dedicated, least-privilege user for the MCP server)",
"button_label": "Open ClickHouse Cloud"
}
},
{
"id": "CLICKHOUSE_USER",
"label": "ClickHouse User",
"description": "Username for authentication. Use a dedicated user with only the minimum privileges needed; avoid default or admin users.",
"type": "text",
"required": true,
"secret": false,
"placeholder": "default"
},
{
"id": "CLICKHOUSE_PASSWORD",
"label": "ClickHouse Password",
"description": "Password for authentication. May be empty for some instances (e.g. the public ClickHouse SQL playground), but is required for most deployments.",
"type": "text",
"required": false,
"secret": true,
"placeholder": ""
},
{
"id": "CLICKHOUSE_PORT",
"label": "ClickHouse Port",
"description": "Port of the ClickHouse HTTP interface. Defaults to 8443 when HTTPS (secure) is enabled and 8123 when disabled. Usually only set this for a non-standard port.",
"type": "number",
"required": false,
"secret": false,
"default": "8443",
"placeholder": "8443"
},
{
"id": "CLICKHOUSE_SECURE",
"label": "Use HTTPS (Secure)",
"description": "Enable an HTTPS (TLS) connection. Keep true for ClickHouse Cloud; set false for non-secure local connections.",
"type": "boolean",
"required": false,
"secret": false,
"default": "true"
},
{
"id": "CLICKHOUSE_VERIFY",
"label": "Verify SSL Certificate",
"description": "Verify the server's SSL certificate. Keep true in production; set false only for self-signed certs in trusted environments.",
"type": "boolean",
"required": false,
"secret": false,
"default": "true"
}
]
}
}Categories
Tags
Supported AI Clients
The ClickHouse (uvx) MCP server works with all MCP-compatible AI clients through McpMux:
Related MCP Servers
MongoDB (Docker)
Connect to MongoDB databases and Atlas clusters via Docker. Query collections, inspect schemas, manage indexes, and run aggregation pipelines in an isolated container.
MongoDB (npx)
Connect to MongoDB databases and Atlas clusters. Query collections, inspect schemas, manage indexes, and run aggregation pipelines through the official MongoDB MCP server.

PostgreSQL (Docker)
Query PostgreSQL databases, analyze performance, and optimize indexes via Docker. Execute SQL, inspect schemas, get EXPLAIN plans, identify slow queries, and run health checks.

PostgreSQL (uvx)
Query PostgreSQL databases, analyze performance, and optimize indexes. Execute SQL, inspect schemas, get EXPLAIN plans, identify slow queries, and run health checks via Postgres MCP Pro.
Redis (Docker)
Interact with Redis databases via Docker. Execute commands, manage keys, and work with data structures across standalone, cluster, and Sentinel modes.
Redis (uvx)
Interact with Redis databases. Execute commands, manage keys, and work with data structures across standalone, cluster, and Sentinel modes.
Install ClickHouse (uvx) with McpMux
One-click install from the McpMux desktop app. Auto-configures for Cursor, Claude, VS Code, ChatGPT, Windsurf, JetBrains, and any MCP-compatible client.