Skip to content
LangChain

Duffel for LangChain

io.github.pipeworx-io/duffel

Duffel MCP — live flight search + pricing via the Duffel Flights API (duffel.com)

client:LangChain transport:streamable-http

Install Duffel in LangChain

pip install langchain-mcp-adapters

from langchain_mcp_adapters.client import MultiServerMCPClient

client = MultiServerMCPClient({
        "duffel": {
            "transport": "streamable_http",
            "url": "https://gateway.pipeworx.io/duffel/mcp",
        }
})

tools = await client.get_tools()

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

Duffel in other clients