mcpbeat Sign in

ClickHouse MCP Server

by clickhouse Your server? Claim it
local only

ClickHouse runs on your own machine — the client starts it, so there is no endpoint to ping. 64 610 installs a week from pypi. Last commit 17 Sep 2026.

Official ClickHouse MCP server for querying and exploring ClickHouse clusters and chDB.

Installs per day peak 14 040 · avg 7 329 · +41% w/w
a month agotoday
64 610
Installs / week
pypi · mcp-clickhouse
876
Stars
4 open issues
17 Sep 2026
Last commit
0 releases in 90 days
Apache-2.0
License
Python

Nothing serious here today

Today is the operative word: we check ClickHouse every 15 minutes and re-read its code on every release. Watch it and you find out the day that stops being true.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mcp-clickhouse -- uvx mcp-clickhouse
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-clickhouse": {
      "args": [
        "mcp-clickhouse"
      ],
      "command": "uvx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-clickhouse]
command = "uvx"
args = ["mcp-clickhouse"]
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-clickhouse": {
      "args": [
        "mcp-clickhouse"
      ],
      "command": "uvx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "mcp-clickhouse": {
      "args": [
        "mcp-clickhouse"
      ],
      "command": "uvx"
    }
  }
}

This one needs environment variables set before it will start: CLICKHOUSE_HOST (Hostname of the ClickHouse server), CLICKHOUSE_USER (Username for ClickHouse authentication), CLICKHOUSE_PASSWORD (Password for ClickHouse authentication), CLICKHOUSE_PORT (ClickHouse HTTP(S) port. Defaults to 8443 when CLICKHOUSE_SECURE=true, 8123 otherwise), CLICKHOUSE_SECURE (Use HTTPS to connect to ClickHouse), CLICKHOUSE_VERIFY (Verify SSL certificates), CLICKHOUSE_DATABASE (Default database to use), CLICKHOUSE_ROLE (ClickHouse role to activate for the session), CLICKHOUSE_ALLOW_WRITE_ACCESS (Allow write operations (DDL and DML). Queries run read-only by default), CLICKHOUSE_ALLOW_DROP (Allow destructive operations (DROP, TRUNCATE, DELETE, UPDATE, REPLACE, CLEAR, and DETACH PERMANENTLY) when write access is also enabled), CLICKHOUSE_MCP_QUERY_TIMEOUT (Query tool timeout in seconds), CLICKHOUSE_MCP_MAX_WORKERS (Maximum query worker thread pool size). The author declared them in the registry entry; get the values from the project itself.

Alternatives to ClickHouse

same job, measured the same way
MCP Registry MCP Server
by wei

MCP server for querying the official MCP registry.

33 installs/wk local only
pplog
by esaio

Official MCP server for pplog - a poem sharing service

51 installs/wk local only
Clickhouse Dataops MCP
by aguantar

DataOps ClickHouse MCP server with query optimization and pipeline monitoring

85 installs/wk local only
ClickHouse
by alyiox

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

127 installs/wk local only
Mux
by mux

The official MCP Server for the Mux API

414 installs/wk 2 tools answering
Mailtrap
by mailtrap

Official MCP Server for Mailtrap

417 installs/wk local only
MCP Trino
by txn2

MCP server for Trino data warehouses. Query, analyze plans, and explore schemas.

local only
SerpApi
by serpapi

Official SerpApi MCP server for Google, Bing, and other search engines.

3 tools answering

ClickHouse — questions

Answers built from our own checks of this server.

Why is there no uptime for ClickHouse?
ClickHouse runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the pypi package mcp-clickhouse was installed 64 610 times last week.
How do I connect ClickHouse?
Copy the ready config from this page — we generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each with the file path that client actually reads. It runs locally, so the command pulls mcp-clickhouse straight from pypi; nothing to host, nothing to sign up for.
How many people use ClickHouse?
The pypi package mcp-clickhouse was installed 64 610 times in the last week. Week over week that is +41%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is ClickHouse open source?
Yes — it is published under the Apache-2.0 licence, written in Python, 876 stars on GitHub and 4 open issues. The source link is on this page, so you can read exactly what it does with your data before you connect it.