Google Flights API for LangChain
io.github.saulius876-lgtm/google-flights
Google Flights prices for any route and date: round trips, cabins, stops, airlines, cheapest dates.
client:LangChain
transport:streamable-http
Install Google Flights API in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"google-flights": {
"transport": "streamable_http",
"url": "https://mcp.apify.com/?tools=sauliusautomatesit/google-flights-api",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs