012
MCP server · Databases
Checked 2026-10-30 ClickHouse MCP
Official ClickHouse MCP server to list databases and tables and run read-only SQL queries, with optional embedded chDB.
Install
{
"mcpServers": {
"mcp-clickhouse": {
"command": "uv",
"args": [
"run",
"--with",
"mcp-clickhouse",
"--python",
"3.12",
"mcp-clickhouse"
],
"env": {
"CLICKHOUSE_HOST": "<clickhouse-host>",
"CLICKHOUSE_PORT": "<clickhouse-port>",
"CLICKHOUSE_USER": "<clickhouse-user>",
"CLICKHOUSE_PASSWORD": "<clickhouse-password>",
"CLICKHOUSE_ROLE": "<clickhouse-role>",
"CLICKHOUSE_SECURE": "true",
"CLICKHOUSE_VERIFY": "true",
"CLICKHOUSE_CONNECT_TIMEOUT": "30"
}
}
}
}Replace placeholder paths and keys with your own. Never paste real secrets into shared configs.
Verification note
Config snippet copied verbatim from the official README on 2026-10-30. Not run by Stack Registry.
- Repo
- ClickHouse/mcp-clickhouse
- Maintainer
- ClickHouse
- Stars
- ★ 899
- Commit
- 2026-10-27
- License
- Apache-2.0
- Auth
- Access token
- Tags
- clickhousesqlanalytics