Skip to content
LangChain

ClickHouse Loom for LangChain

io.github.clickhouse/loom

Shared long-term memory, document search and a code index for AI agents, self-hosted on ClickHouse.

client:LangChain transport:streamable-http

Install ClickHouse Loom in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "loom": {
            "transport": "streamable_http",
            "url": "https://{loom_host}/mcp",
        }
})

tools = await client.get_tools()

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

ClickHouse Loom in other clients