Skip to content
LangChain

google flights for LangChain

io.github.andreacappelletti97/google-flights

MCP server for Google Flights: search, price tracking, cabin comparison, emissions, and more.

client:LangChain transport:stdio runtime:npm

Install google flights in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "google-flights": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "google-flights-mcp"],
        }
})

tools = await client.get_tools()

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

google flights in other clients