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. 79 352 installs a week from pypi. Last commit 5 Nov 2026.

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

Installs per day peak 15 197 · avg 10 585 · -11% w/w
a month agotoday
79 352
Installs / week
pypi · mcp-clickhouse
903
Stars
4 open issues
5 Nov 2026
Last commit
from GitHub
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 -e 'CLICKHOUSE_HOST=<CLICKHOUSE_HOST>' -e 'CLICKHOUSE_USER=<CLICKHOUSE_USER>' -- uvx mcp-clickhouse
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mcp-clickhouse": {
      "command": "uvx",
      "args": [
        "mcp-clickhouse"
      ],
      "env": {
        "CLICKHOUSE_HOST": "<CLICKHOUSE_HOST>",
        "CLICKHOUSE_USER": "<CLICKHOUSE_USER>"
      }
    }
  }
}
~/.codex/config.toml
[mcp_servers.mcp-clickhouse]
command = "uvx"
args = ["mcp-clickhouse"]
env = { CLICKHOUSE_HOST = "<CLICKHOUSE_HOST>", CLICKHOUSE_USER = "<CLICKHOUSE_USER>" }
.cursor/mcp.json
{
  "mcpServers": {
    "mcp-clickhouse": {
      "command": "uvx",
      "args": [
        "mcp-clickhouse"
      ],
      "env": {
        "CLICKHOUSE_HOST": "<CLICKHOUSE_HOST>",
        "CLICKHOUSE_USER": "<CLICKHOUSE_USER>"
      }
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mcp-clickhouse": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-clickhouse"
      ],
      "env": {
        "CLICKHOUSE_HOST": "<CLICKHOUSE_HOST>",
        "CLICKHOUSE_USER": "<CLICKHOUSE_USER>"
      }
    }
  }
}

Put your own values in place of <CLICKHOUSE_HOST> (Hostname of the ClickHouse server), <CLICKHOUSE_USER> (Username for ClickHouse authentication). The author’s registry entry marks them as required.

Optional settings from the registry entry, left out of the block above: CLICKHOUSE_PASSWORD (Password for ClickHouse authentication. Required unless a client certificate uses the default or mutual TLS mode), 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_CA_CERT (Path to a PEM CA bundle for ClickHouse server certificate verification), CLICKHOUSE_CLIENT_CERT (Path to a PEM client certificate for the ClickHouse HTTPS connection), CLICKHOUSE_CLIENT_CERT_KEY (Path to the PEM private key for CLICKHOUSE_CLIENT_CERT), CLICKHOUSE_TLS_MODE (Client certificate mode: mutual, proxy, or strict), 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).

Alternatives to ClickHouse

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

MCP server for querying the official MCP registry.

48 installs/wk local only
pplog
by esaio

Official MCP server for pplog - a poem sharing service

352 installs/wk local only
Strut Stack SQL
by rzlco666

Token-efficient MCP server for MySQL, PostgreSQL, SQLite, DuckDB, SQL Server, and ClickHouse

local only
Clickhouse Dataops MCP
by aguantar

DataOps ClickHouse MCP server with query optimization and pipeline monitoring

94 installs/wk local only
TwitterAPIs
by twitterapis

Official MCP server for twitterapis.com. Twitter/X search, users, DMs, Grok, monitoring and writes.

390 installs/wk answering
ClickHouse
by alyiox

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

196 installs/wk local only
Mux
by mux

The official MCP Server for the Mux API

2 054 installs/wk 2 tools answering
Mailtrap
by mailtrap

Official MCP Server for Mailtrap

1 089 installs/wk local only

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 79 352 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 in the form 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 79 352 times in the last week. Week over week that is -11%. 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, 903 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.