clickhouse-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CLICKHOUSE_URL | No | The URL of the ClickHouse server | http://localhost:8123 |
| CLICKHOUSE_PASSWORD | No | The password for ClickHouse authentication | |
| CLICKHOUSE_USERNAME | No | The username for ClickHouse authentication | default |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_databasesA | List all databases in ClickHouse. |
| list_tablesA | List tables in a database. |
| describe_tableA | Describe the columns and types of a table. |
| show_create_tableA | Return the CREATE TABLE statement for a table (schema, engine, settings). |
| sample_rowsA | Read a small sample of rows from a table to understand its shape. Defaults to 10 rows. |
| queryA | Run a read-only SQL query against ClickHouse (SELECT/WITH/SHOW/DESCRIBE/EXPLAIN only). Results are capped to keep the agent's context small. Use it to investigate telemetry: group by time, aggregate, find anomalies, join logs/metrics/traces. Add LIMIT on big tables. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jvanvalkenhoef/mcp_server_clickhouse'
If you have feedback or need assistance with the MCP directory API, please join our Discord server