Skip to content
LangChain

Compera for LangChain

io.github.fredxhansson-cmyk/compera

Live Swedish price & service comparison (products, broadband, mobile, electricity, loans)

client:LangChain transport:streamable-http tools:9

Install Compera in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "compera": {
            "transport": "streamable_http",
            "url": "https://compera.se/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

Compera in other clients