duffel_flight_search

Pack: duffel · Endpoint: https://gateway.pipeworx.io/duffel/mcp

Search flights (with pricing) from to on — returns the 5 cheapest real, bookable offers from the Duffel Flights API, each with total price, airline, and per-segment flight numbers/times. Pass return_date for a round trip. This is REAL flight inventory: use a Duffel test token (duffel_test_…) for sandbox results. Example: duffel_flight_search({ origin: “JFK”, destination: “LHR”, departure_date: “2026-08-15”, passengers: 2, cabin_class: “economy”, apiKey: “duffel_test…” })

Parameters

NameTypeRequiredDescription
originstringyesOrigin airport IATA code, e.g. “JFK”
destinationstringyesDestination airport IATA code, e.g. “LHR”
departure_datestringyesOutbound date in YYYY-MM-DD format, e.g. “2026-08-15”
return_datestringnoOptional return date (YYYY-MM-DD). If given, searches a round trip (destination back to origin on this date).
passengersintegernoNumber of adult passengers (default 1, max 9)
cabin_classstringnoOptional cabin: economy, premium_economy, business, or first
_apiKeystringyesYour Duffel access token (from duffel.com). A test token “duffel_test_…” works against the sandbox.

Example call

curl -X POST https://gateway.pipeworx.io/duffel/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"duffel_flight_search","arguments":{}}}'

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "duffel": {
      "url": "https://gateway.pipeworx.io/duffel/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build July 2, 2026