Skip to content
LangChain

Google Flights Scraper for LangChain

io.github.sumitrmardy/google-flights-scraper

Public flight itinerary fares, stops, layovers and cheapest-date calendars with relative dates.

client:LangChain transport:streamable-http

Install Google Flights Scraper in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "google-flights-scraper": {
            "transport": "streamable_http",
            "url": "https://mcp.apify.com/?tools=sumitr_mardy/google-flights-scraper",
        }
})

tools = await client.get_tools()

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

Google Flights Scraper in other clients