Updated April 2026
Install Altinity MCP
Pick your client, copy the command, done.
1
Add it to Claude Code
Run this in a terminal.
claude mcp add altinity-mcp -- docker run -it --rm ghcr.io/altinity/altinity-mcp:latest --clickhouse-host clickhouseEnvironment Variables
Set these before running Altinity MCP.
VariableDescriptionRequired
CLICKHOUSE_HOSTThe hostname of the ClickHouse serverNoMCP_TRANSPORTTransport protocol to use (stdio, http, sse)NoMCP_PORTPort for HTTP or SSE transportNoAvailable Tools (3)
Once configured, Altinity MCP gives your AI agent access to:
list_tablesList all tables available in the ClickHouse databasedescribe_schemaRetrieve the schema definition for a specific tabletable_nameexecute_queryExecute a SQL query against the ClickHouse databasequeryTry It Out
After setup, try these prompts with your AI agent:
→List all the tables currently available in my ClickHouse database.
→Describe the schema for the 'events' table so I can understand its columns.
→Run a query to count the number of rows in the 'logs' table for the last 24 hours.
→Find the top 10 most active users from the 'user_activity' table using a SQL query.
Prerequisites & system requirements
- An MCP-compatible client (Claude Code, Cursor, Windsurf, Claude Desktop, or Codex)
- Docker installed and running
Alternative installation methods
Helm
helm install altinity-mcp oci://ghcr.io/altinity/altinity-mcp/helm/altinity-mcpSource
go build -o altinity-mcp ./cmd/altinity-mcpKeep this setup from going cold
Save the docs, env vars, and workflow around Altinity MCP in Conare so Claude Code, Codex, and Cursor remember it next time.
Need the legacy visual installer? Open Conare IDE.