duffel_flight_search
Pack: duffel · Endpoint: https://gateway.pipeworx.io/duffel/mcp
Search flights (with pricing) from 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
| Name | Type | Required | Description |
|---|---|---|---|
origin | string | yes | Origin airport IATA code, e.g. “JFK” |
destination | string | yes | Destination airport IATA code, e.g. “LHR” |
departure_date | string | yes | Outbound date in YYYY-MM-DD format, e.g. “2026-08-15” |
return_date | string | no | Optional return date (YYYY-MM-DD). If given, searches a round trip (destination back to origin on this date). |
passengers | integer | no | Number of adult passengers (default 1, max 9) |
cabin_class | string | no | Optional cabin: economy, premium_economy, business, or first |
_apiKey | string | yes | Your 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.