How to Use the Duffel MCP in Claude Code
Query flight offers, book stays, and manage travel orders from your terminal with Claude Code and the Duffel MCP Server.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Duffel MCP to Claude Code
Create your Vinkius account to connect Duffel to Claude Code and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Command-line flight searches with this MCP Server
The `create_offer_request` tool executes instant flight searches directly from your Claude Code terminal. Claude Code runs the Duffel search and pipes the JSON output to command-line utilities like jq. Once you locate a Duffel offer, use `price_offer` inside Claude Code to verify the final cost. This lets you check live Duffel inventory and ticket pricing from your Claude Code terminal session.
Scripted accommodation booking via terminal
The `search_stays` tool finds hotel rooms using simple Claude Code terminal inputs. Claude Code queries the Duffel endpoint, retrieves accommodation details, and uses `quote_stay` to secure pricing. You can script this entire Duffel flow for automated corporate travel booking using Claude Code. Claude Code executes the Duffel `book_stay` tool headlessly, returning the booking confirmation directly to your shell.
Terminal-based flight order operations
The `list_orders` tool displays all active bookings in a clean Claude Code terminal list. You can search, filter, and inspect specific Duffel reservations by running `get_order` in Claude Code. If a traveler cancels, run `cancel_order` inside Claude Code to process the cancellation immediately. You manage full Duffel ticketing lifecycles without leaving your Claude Code terminal.
Set up Duffel MCP in Claude Code
Prerequisites
- Claude Code CLI installed (
npm install -g @anthropic-ai/claude-code) - Active Vinkius subscription with a valid endpoint token
- 1
Run the add command
Open your terminal and run the command shown on the right. Replace
[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. Use--scope userto make it available across all projects. - 2
Verify the connection
Start a Claude Code session and type
/mcpto list connected servers. You should seeduffel-mcpwith a green status indicator. - 3
Start using tools
Ask Claude Code something like "Check my latest Duffel transactions." It will automatically discover and invoke the available Duffel tools.
claude mcp add --transport http duffel-mcp https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Duffel MCP in Claude Code
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Duffel MCP today
We host it, we monitor it, we maintain it. You just paste one token.