ClickHouse MCP Server
Explore ClickHouse schemas and run analytical SQL queries through MCP.
Overview
ClickHouse's MCP server provides schema inspection and SQL query capabilities for ClickHouse analytics databases. It is aimed at read-oriented analysis of large datasets. Query cost can be high on columnar workloads, so enforce row/time limits and use read-only credentials.
Capabilities
- Schema listing
- SQL queries
- Analytical reads
- Table metadata
- Read-only access patterns
Connection profile
- Transports
- stdio
- Authentication
- ClickHouse user and password; TLS connection
- License
- Apache-2.0
- Vendor
- ClickHouse
- Repository
- github.com/ClickHouse/mcp-clickhouse
Client format support is reviewed against official client documentation. It is not a claim that this specific server was tested with every client.
Configuration starting point
This entry does not have a verified launcher preset. Use the transports and authentication model above to build a configuration manually; do not guess a package name.
Open the config generatorSecurity notes
- Use read-only ClickHouse credentials and enforce query time and row limits.
- Analytical queries over large tables can consume substantial cluster resources.
- Query results may include customer-level data; avoid exporting them to untrusted clients.
The catalog records source evidence, not a security audit. Review the server's permissions, recent releases, and the data it can access before connecting it to a real account.
Sources & evidence
- github.com/ClickHouse/mcp-clickhouseRepository · checked Oct 23, 2026 · documented
ClickHouse's repository documents the MCP server, environment configuration, and query tools.