Skip to content
LangChain

AlgoTrips for LangChain

com.algotrips/algotrips

Plan priced day-by-day trips: flights, hotels, activities and transfers. Book on algotrips.com.

client:LangChain transport:streamable-http tools:5

Install AlgoTrips in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

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

AlgoTrips in other clients