flightdata for LangChain
io.github.cloudcorprecords/flightdata
Google Flights search as JSON: itineraries, prices, times, stops and emissions filters.
client:LangChain
transport:stdio
runtime:npm
Install flightdata in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"flightdata": {
"transport": "stdio",
"command": "npx",
"args": ["-y", "@reneturcios/flightdata"],
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs