ClickHouse MCP Server
Official ClickHouse MCP server: run SQL with run_query and browse with list_databases and list_tables, plus optional chDB (embedded ClickHouse) tools. Queries are read-only by default. Writes need CLICKHOUSE_ALLOW_WRITE_ACCESS=true, and destructive statements also need CLICKHOUSE_ALLOW_DROP=true. Set CLICKHOUSE_HOST, CLICKHOUSE_PORT, CLICKHOUSE_USER and CLICKHOUSE_PASSWORD. It supports MCP 2026-07-28 and older handshakes. Version 0.7.0 (Sep 21, 2026); Python 3.10 to 3.15, with 3.12 recommended.
Install
uv run --with mcp-clickhouse --python 3.12 mcp-clickhouseSource: official setup docs
At a glance
| Repository | ClickHouse/mcp-clickhouse |
| GitHub stars | 918 |
| Last commit | 2026-11-16 (14 days ago) |
| Status | maintained |
| Security advisories | No published advisories found as of 2026-11-30. Details |
| Clients mentioned in README | Claude Desktop |
| Auth | Database credentials (env vars) · CLICKHOUSE_HOST CLICKHOUSE_USER CLICKHOUSE_PASSWORD |
| Language / License | Python / Apache-2.0 |
| Official MCP registry | Listed ✓ |
Security advisories
No published advisories found as of 2026-11-30.
Checked 2026-11-30 in the repo's GitHub security advisories and OSV.dev for mcp-clickhouse (PyPI). No advisory doesn't prove a server is safe. How to stay updated.