Install ClickHouse in Claude Code
PyPI (uv)
claude mcp add clickhouse -e CLICKHOUSE_HOST=... -e CLICKHOUSE_USER=... -- uvx mcp-clickhouse{
"mcpServers": {
"clickhouse": {
"command": "uvx",
"args": [
"mcp-clickhouse"
],
"env": {
"CLICKHOUSE_HOST": "...",
"CLICKHOUSE_USER": "..."
}
}
}
}Docker
claude mcp add clickhouse -e CLICKHOUSE_HOST=... -e CLICKHOUSE_USER=... -- docker run -i --rm -e CLICKHOUSE_HOST -e CLICKHOUSE_USER ghcr.io/clickhouse/mcp-clickhouse:0.7.0{
"mcpServers": {
"clickhouse": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"-e",
"CLICKHOUSE_HOST",
"-e",
"CLICKHOUSE_USER",
"ghcr.io/clickhouse/mcp-clickhouse:0.7.0"
],
"env": {
"CLICKHOUSE_HOST": "...",
"CLICKHOUSE_USER": "..."
}
}
}
}Replace each ... with your own value.
Frequently asked questions
What does the ClickHouse MCP server do?
ClickHouse database integration with schema inspection and query capabilities.
Is the ClickHouse MCP server free?
The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.
Does ClickHouse run locally or remotely?
Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.
How do I add ClickHouse to Claude Code?
Run: claude mcp add clickhouse -e CLICKHOUSE_HOST=... -e CLICKHOUSE_USER=... -- uvx mcp-clickhouse
More databases MCP servers
View allAirtable
domdomegg/airtable-mcp-server
Airtable database integration with schema inspection, read and write capabilities.
Sequential Thinking Working Notes
arben-adm/mcp-sequential-thinking
Local working notes, decisions, evidence and resumable sessions with SQLite persistence.
Supabase
alexander-zuev/supabase-mcp-server
Execute SQL queries and explore Supabase databases.
Agent Swarm
desplega-ai/agent-swarm
Full Agent Swarm API and MCP server with local SQLite storage for multi-agent orchestration.
CLI
planetscale/cli
Built into the PlanetScale CLI: direct access to your PlanetScale databases.
Neo4j
neo4j-contrib/mcp-neo4j
Neo4j integration: run queries, use Neo4j as knowledge graph memory and manage Neo4j Aura instances.