ClickHouse
Query ClickHouse Cloud — run SQL, list databases and tables, explore services and backups, inspect usage, run ClickPipes.
https://clickhouse.run.tools
How to connect
-
Smithery (hosted)
1. Open https://smithery.ai/servers/clickhouse 2. Click Connect and complete OAuth in your MCP client (Claude, Cursor, VS Code, etc.) 3. MCP endpoint: https://clickhouse.run.tools
Tools (13)
-
get_clickpipeReturns the specified ClickPipe.
-
get_organizationsRetrieves all accessible ClickHouse Cloud organizations.
-
run_select_queryExecutes a SELECT query against a ClickHouse service. Runs a read-only SELECT query on the specified ClickHouse service via the Query API endpoint. This function provides direct access to database content through SQL queries while ensuring that only read operations are permitted.
-
list_databasesRetrieves all databases available in a ClickHouse service.
-
list_tablesRetrieves a comprehensive list of tables in a ClickHouse database, including columns.
-
get_services_listRetrieves all services in a ClickHouse Cloud organization.
-
get_organization_detailsReturns details of a single organization. The auth key must belong to the organization.
-
get_service_detailsReturns a service that belongs to the organization.
-
list_clickpipesRetrieves all ClickPipes configured for a specific service.
-
list_service_backupsReturns a list of all backups for the service. The most recent backups comes first in the list.
-
get_organization_costRetrieves billing and usage cost data for a ClickHouse Cloud organization. Returns a grand total and a list of daily, per-entity organization usage cost records for the organization in the queried time period (maximum 31 days).
-
get_service_backup_detailsReturns a single backup info.
-
get_service_backup_configurationReturns the service backup configuration.