Search flights and retrieve flight details through the Duffel API.
Setup
Choose your client, copy the config, then fill in any required environment variables.
claude mcp add flights --env DUFFEL_API_KEY_LIVE='<DUFFEL_API_KEY_LIVE>' -- npx -y @smithery/cli install @ravinahp/travel-mcp --client claude~/.codex/config.toml
[mcp_servers.flights]
command = "npx"
args = ["-y", "@smithery/cli", "install", "@ravinahp/travel-mcp", "--client", "claude"]
env = { DUFFEL_API_KEY_LIVE = "<DUFFEL_API_KEY_LIVE>" }
# codex mcp add flights --env DUFFEL_API_KEY_LIVE='<DUFFEL_API_KEY_LIVE>' -- npx -y @smithery/cli install @ravinahp/travel-mcp --client claude~/.cursor/mcp.json
{
"mcpServers": {
"flights": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@ravinahp/travel-mcp",
"--client",
"claude"
],
"env": {
"DUFFEL_API_KEY_LIVE": "<DUFFEL_API_KEY_LIVE>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"flights": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@ravinahp/travel-mcp",
"--client",
"claude"
],
"env": {
"DUFFEL_API_KEY_LIVE": "<DUFFEL_API_KEY_LIVE>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"flights": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@ravinahp/travel-mcp",
"--client",
"claude"
],
"env": {
"DUFFEL_API_KEY_LIVE": "<DUFFEL_API_KEY_LIVE>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"flights": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@ravinahp/travel-mcp",
"--client",
"claude"
],
"env": {
"DUFFEL_API_KEY_LIVE": "<DUFFEL_API_KEY_LIVE>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"flights": {
"command": "npx",
"args": [
"-y",
"@smithery/cli",
"install",
"@ravinahp/travel-mcp",
"--client",
"claude"
],
"env": {
"DUFFEL_API_KEY_LIVE": "<DUFFEL_API_KEY_LIVE>"
}
}
}
}Environment variables
DUFFEL_API_KEY_LIVE
Replace the placeholders with your own credentials and keep them out of version control.