Skip to main content
Glama
naren8642

Duffel MCP Server

by naren8642

Duffel MCP Server

An MCP (Model Context Protocol) server that wraps the Duffel flights API, letting you search for flights directly from Claude Code using natural language.

Tools Exposed

Tool

Description

search_flights

Search one-way or round-trip flights by IATA code, date, cabin class

get_offer_details

Get full details on a specific offer (baggage, fare conditions, etc.)

list_airports

Look up IATA codes by city/airport name

Related MCP server: Google Flights MCP

Setup

1. Get a Duffel API Token

  1. Sign up free at duffel.com

  2. Go to Dashboard → Developers → API tokens

  3. Create a Test token (starts with duffel_test_...)

  4. Live tokens (starting with duffel_live_...) enable real bookings — use test for demos

2. Install & Build

npm install
npm run build

3. Configure Claude Code

Add to your Claude Code MCP config (~/.claude/claude_desktop_config.json or project-level .claude/mcp.json):

{
  "mcpServers": {
    "duffel": {
      "command": "node",
      "args": ["/absolute/path/to/duffel-mcp/dist/index.js"],
      "env": {
        "DUFFEL_API_TOKEN": "duffel_test_your_token_here"
      }
    }
  }
}

For Claude Code CLI, use: claude mcp add duffel node /path/to/dist/index.js then set the env var in your shell or .env.

4. Restart Claude Code

Once restarted, you'll have flight search available as native tools.

Example Prompts in Claude Code

Search for flights from RDU to SFO on April 15th for 2 passengers in economy

Find round-trip flights from Raleigh to London, departing May 10 returning May 20, business class

What's the cheapest flight from JFK to LAX next Friday?

Look up the airport code for Raleigh Durham

Get full details and baggage policy for offer [offer_id]

Development

# Run without building (uses tsx)
DUFFEL_API_TOKEN=duffel_test_... npm run dev

# Build for production
npm run build

Architecture

Claude Code
    │
    ▼  (MCP stdio transport)
duffel-mcp server (this repo)
    │
    ▼  (HTTPS REST)
Duffel API
    │
    ▼
Airlines / GDS

Extending

Want to add booking? Add these tools next:

  • create_order — book the selected offer

  • get_order — retrieve booking confirmation

  • list_orders — see all bookings

See Duffel API docs for the full reference.

F
license - not found
-
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    -
    maintenance
    A remote MCP server that searches Google Flights for flight information and airport codes. It enables users to find flights, locate airports, and generate travel dates through natural language interactions.
  • A
    license
    -
    quality
    D
    maintenance
    MCP server that enables Google Flights search via SerpApi, supporting one-way, round-trip, and multi-city itineraries with defaults for Business class, Star Alliance, and EUR pricing. It provides flight search, booking options, and usage tracking.
    144
    MIT

View all related MCP servers

Related MCP Connectors

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

  • Geo-based flight search MCP server. Find more flights between any two places on earth

  • MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/naren8642/duffel-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server