> ## 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.

# Native interface (TCP)

> Documentation for the native TCP interface in ClickHouse

The native protocol is used in the [command-line client](https://clickhouse.com/docs/concepts/features/connect-to-clickhouse/native-tools/clickhouse-client.md), for inter-server communication during distributed query processing, and also in some language clients (e.g. [clickhouse-go](https://clickhouse.com/docs/integrations/go.md#connection-details)).

ClickHouse provides official specifications for the native protocol and the columnar format it carries:

* [Native Protocol](https://clickhouse.com/docs/resources/develop-contribute/native-protocol/protocol.md) — packet framing, the connection state machine, version negotiation, and the body of every non-`Block` message.
* [Native Format](https://clickhouse.com/docs/resources/develop-contribute/native-protocol/format.md) — the `Block` and column structure, the per-type encodings, and the compression frame. This format also appears outside the TCP protocol, for example with `FORMAT Native` over HTTP.
