> ## Documentation Index
> Fetch the complete documentation index at: https://clickhouse.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Connect to ClickHouse

> Choose a client, driver, protocol, or built-in interface for connecting to ClickHouse

Choose the interface that best fits how you use ClickHouse. For application development, start with an official language client or driver. For interactive work, use a native or web-based tool. For direct integrations, use a network protocol. Before connecting, configure [network ports](https://clickhouse.com/docs/concepts/features/security/network-ports.md), [access rights](https://clickhouse.com/docs/concepts/features/security/access-rights.md), and [TLS](https://clickhouse.com/docs/concepts/features/security/tls/configuring-tls.md) as needed.

## Native tools

> [card] [clickhousectl](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/native-tools/clickhousectl.md)
>
> The official ClickHouse CLI (`chctl`): local ClickHouse and Postgres development, and ClickHouse Cloud management.

> [card] [ClickHouse Client](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/native-tools/clickhouse-client.md)
>
> Native command-line client supporting command-line options and configuration files.

> [card] [Web Terminal](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/native-tools/web-terminal.md)
>
> An in-browser `clickhouse-client` session over WebSocket.

> [card] [Model Context Protocol (MCP)](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/native-tools/mcp.md)
>
> Connect AI assistants to ClickHouse through a standardized interface.

## Drivers and language clients

> [card] [ADBC driver](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/drivers/adbc.md)
>
> Connect ADBC-compatible applications to ClickHouse.

> [card] [ODBC driver](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/drivers/odbc.md)
>
> Connect ODBC-compatible applications to ClickHouse.

> [card] [Language clients](https://clickhouse.com/docs/integrations/language-clients.md)
>
> Browse official ClickHouse clients for your programming language.

## Protocols

> [card] [HTTP interface](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/protocols/http.md)
>
> Use ClickHouse over HTTP from any platform or language.

> [card] [Native TCP interface](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/protocols/native-tcp.md)
>
> Use the native protocol for ClickHouse-aware clients and inter-server communication.

> [card] [gRPC interface](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/protocols/grpc.md)
>
> Use ClickHouse's gRPC interface.

> [card] [Arrow Flight interface](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/protocols/arrow-flight.md)
>
> Connect Flight SQL clients using Apache Arrow.

> [card] [MySQL interface](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/protocols/compatibility/mysql.md)
>
> Connect MySQL-compatible clients.

> [card] [PostgreSQL interface](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/protocols/compatibility/postgresql.md)
>
> Connect PostgreSQL-compatible clients.

> [card] [SSH interface](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/protocols/ssh.md)
>
> Connect with an SSH client to the ClickHouse server.

## Prometheus

> [card] [Prometheus API and PromQL](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/prometheus.md)
>
> Store Prometheus metrics in ClickHouse and query them with PromQL.

> [card] [Prometheus metrics endpoint](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/prometheus/metrics.md)
>
> Expose ClickHouse server metrics for a Prometheus server to scrape.

## Built-in web interfaces

> [card] [Web SQL UI (Play)](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/built-in-web-interfaces/web-sql.md)
>
> The built-in in-browser SQL interface served by ClickHouse at `/play`.

> [card] [SQL Console](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/built-in-web-interfaces/sql-console.md)
>
> An embedded web interface for running queries and exploring data.

> [card] [Documentation Search](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/built-in-web-interfaces/documentation-search.md)
>
> Search the reference documentation embedded in a running ClickHouse server.
