OctoTrip Flights for LangChain
app.octotrip/flights
Free, no-login flight search with real-time pricing from multiple airlines.
client:LangChain
transport:streamable-http
Install OctoTrip Flights in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"flights": {
"transport": "streamable_http",
"url": "https://mcp.octotrip.app/flights/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs