Skip to content
LangChain

ClickHouse MCP by usefulapi for LangChain

io.usefulapi/clickhouse

Run read-only SQL, list databases and tables, describe columns, explain queries in ClickHouse.

client:LangChain transport:streamable-http tools:7

Install ClickHouse MCP by usefulapi in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "clickhouse": {
            "transport": "streamable_http",
            "url": "https://clickhouse.usefulapi.io/mcp",
        }
})

tools = await client.get_tools()

get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs

What LangChain can do once it is connected

ClickHouse MCP by usefulapi in other clients