
ravinahp/flights-mcp 是从 https://github.com/ravinahp/flights-mcp. 导入的 MCP 服务器候选服务器。
概览
ravinahp/flights-mcp 是从 https://github.com/ravinahp/flights-mcp. 导入的 MCP 服务器候选服务器。
概述(AI 翻译)
MCP 服务器,用于使用 Duffel API 搜索和检索飞行信息。
工作原理
视频演示
https://github.com/user-attachments/assets/c111aa4c-9559-4d74-a2f6-60e322c273d4
为什么这很有帮助
虽然像Google Flights这样的工具非常适合简单的旅行,但这个工具在处理复杂的旅行计划时表现尤为出色。原因如下:
- 上下文记忆:Claude会记住你之前所有航班搜索,所以你无需同时打开多个标签页来比较价格
- 灵活日期搜索:轻松跨多天搜索,无需手动查看每个日期,即可找到最佳价格
- 复杂行程:非常适合跨城旅行、一次中转航班,或需要比较不同航线时,只需询问即可!
- 自然对话:只需描述你想要的内容——不必再点击日历界面,也不用调整搜索参数以解析城市名称、日期和时间。
可以把它想象成聊天中有一位旅行代理,他记得你讨论过的所有内容,并能即时跨日期和路线搜索。
特色
- 搜索多个目的地之间的航班
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Find Flights MCP Server
MCP server for searching and retrieving flight information using Duffel API.
How it Works
Video Demo
https://github.com/user-attachments/assets/c111aa4c-9559-4d74-a2f6-60e322c273d4
Why This is Helpful
While tools like Google Flights work great for simple trips, this tool shines when dealing with complex travel plans. Here’s why:
- Contextual Memory: Claude remembers all your previous flight searches in the chat, so you don’t need to keep multiple tabs open to compare prices
- Flexible Date Search: Easily search across multiple days to find the best prices without manually checking each date
- Complex Itineraries: Perfect for multi-city trips, one-stop flights, or when you need to compare different route options you can just ask!
- Natural Conversation: Just describe what you’re looking for - no more clicking through calendar interfaces or juggling search parameters down to parsing city names, dates, and times.
Think of it as having a travel agent in your chat who remembers everything you’ve discussed and can instantly search across dates and routes.
Features
- Search for flights between multiple destinations
- Support for one-way, round-trip, and multi-city flight queries
- Detailed flight offer information
- Flexible search parameters (departure times, cabin class, number of passengers)
- Automatic handling of flight connections
- Search for flights within multiple days to find the best flight for your trip (slower)
Prerequisites
- Python 3.x
- Duffel API Live Key
Getting Your Duffel API Key
Duffel requires account verification and payment information setup, but this MCP server only uses the API for searching flights - no actual bookings or charges will be made to your account.
Try using duffel_test first to see the power of this tool. If you end up liking it, you can go through the verification process below to use the live key.
Test Mode First (Recommended)
You can start with a test API key (duffel_test) to try out the functionality with simulated data before going through the full verification process:
- Visit Duffel’s registration page
- Create an account (you can select “Personal Use” for Company Name)
- Navigate to More > Developer to find your test API key (one is already provided)
Getting a Live API Key
To access real flight data, follow these steps:
- In the Duffel dashboard, toggle “Test Mode” off in the top left corner
- The verification process requires multiple steps - you’ll need to toggle test mode off repeatedly:
- First toggle: Verify your email address
- Toggle again: Complete company information (Personal Use is fine)
- Toggle again: Add payment information (required by Duffel but NO CHARGES will be made by this MCP server)
- Toggle again: Complete any remaining verification steps
安装
npx -y @smithery/cli install @ravinahp/travel-mcp --client claude