Skip to content
LangChain

faregrid for LangChain

io.github.cloudcorprecords/faregrid

Search one-way and round-trip flight fares across dates and destinations, with price verdicts.

client:LangChain transport:stdio runtime:npm

Install faregrid in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "faregrid": {
            "transport": "stdio",
            "command": "npx",
            "args": ["-y", "@reneturcios/faregrid"],
        }
})

tools = await client.get_tools()

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

faregrid in other clients