This guide walks you through connecting ClickHouse to LangChain using the Composio tool router. By the end, you'll have a working ClickHouse agent that can show total user signups for last week, summarize top 5 products by revenue, insert a new sales record into database through natural language commands.
This guide will help you understand how to give your LangChain agent real control over a ClickHouse account through Composio's ClickHouse MCP server.
Before we dive in, let's take a quick look at the key ideas and tools involved.








