Find Flights MCP Server
항공편 찾기 MCP 서버 
Duffel API를 사용하여 항공편 정보를 검색하고 조회하기 위한 MCP 서버입니다.
작동 원리
Related MCP server: Flight + Stay Search MCP
비디오 데모
https://github.com/user-attachments/assets/c111aa4c-9559-4d74-a2f6-60e322c273d4
이것이 도움이 되는 이유
Google Flights와 같은 도구는 간단한 여행에는 효과적이지만, 복잡한 여행 계획을 세울 때 더욱 빛을 발합니다. 그 이유는 다음과 같습니다.
상황적 메모리 : Claude는 채팅에서 이전에 검색한 모든 항공편을 기억하므로 가격을 비교하기 위해 여러 탭을 열어둘 필요가 없습니다.
유연한 날짜 검색 : 각 날짜를 수동으로 확인하지 않고도 여러 날짜를 쉽게 검색하여 최고의 가격을 찾을 수 있습니다.
복잡한 여정 : 여러 도시 여행, 경유 항공편에 적합하며, 다양한 노선 옵션을 비교해야 할 때도 문의하기만 하면 됩니다!
자연스러운 대화 : 찾고 있는 것이 무엇인지 설명하세요. 더 이상 달력 인터페이스를 클릭하거나 검색 매개변수를 조정하여 도시 이름, 날짜, 시간을 구문 분석할 필요가 없습니다.
채팅에 여행사가 참여해 여러분이 논의한 모든 내용을 기억하고 날짜와 경로를 즉시 검색할 수 있다고 생각해 보세요.
특징
여러 목적지 간 항공편 검색
편도, 왕복 및 다중 도시 항공편 쿼리 지원
자세한 항공편 제공 정보
유연한 검색 매개변수(출발 시간, 객실 등급, 승객 수)
항공편 연결 자동 처리
여러 날 동안 항공편을 검색하여 여행에 가장 적합한 항공편을 찾으세요(느림)
필수 조건
파이썬 3.x
더플 API 라이브 키
더플 API 키 받기
더플은 계정 확인 및 결제 정보 설정이 필요하지만, 이 MCP 서버는 항공편 검색에만 API를 사용합니다. 실제 예약이나 요금은 계정에 청구되지 않습니다.
먼저 duffel_test를 사용하여 이 도구의 성능을 확인해 보세요. 마음에 드신다면 아래 확인 절차를 거쳐 라이브 키를 사용하실 수 있습니다.
먼저 테스트 모드(권장)
전체 검증 프로세스를 거치기 전에 시뮬레이션된 데이터로 기능을 시험해 보려면 테스트 API 키( duffel_test )로 시작할 수 있습니다.
Duffel의 등록 페이지를 방문하세요
계정을 만드세요(회사 이름에 "개인용"을 선택할 수 있습니다)
테스트 API 키를 찾으려면 더 보기 > 개발자로 이동하세요(이미 제공됨).
라이브 API 키 받기
실제 비행 데이터에 액세스하려면 다음 단계를 따르세요.
Duffel 대시보드에서 왼쪽 상단 모서리에 있는 "테스트 모드"를 끕니다.
검증 과정에는 여러 단계가 필요합니다. 테스트 모드를 반복해서 꺼야 합니다.
첫 번째 토글: 이메일 주소 확인
다시 토글: 회사 정보 입력(개인 용도로는 괜찮습니다)
다시 전환: 결제 정보 추가(Duffel에서 필요하지만 이 MCP 서버에서는 요금이 청구되지 않음)
다시 전환: 나머지 확인 단계를 완료하세요.
마지막 토글: "동의 및 제출"을 클릭한 후 라이브 모드에 액세스합니다.
완전히 검증되면 추가 > 개발자 > 라이브 토큰 만들기로 이동하세요.
라이브 API 키를 복사하세요
💡 팁: 확인 단계를 완료할 때마다 다음 단계로 넘어가려면 테스트 모드를 다시 꺼야 합니다. 모든 요건을 충족할 때까지 계속 켜 두세요.
⚠️ 중요 참고 사항:
귀하의 결제 정보는 Duffel에서 직접 처리되며 MCP 서버에서 액세스하거나 저장되지 않습니다.
이 MCP 서버는 읽기 전용입니다. 즉, 항공편을 검색할 수만 있고 예약할 수는 없습니다.
이 통합을 통해 귀하의 결제 방법에는 요금이 청구되지 않습니다.
모든 민감한 정보(API 키 포함)는 사용자의 컴퓨터에 로컬로 저장됩니다.
테스트 API 키(
duffel_test)로 시작하여 기능을 평가할 수 있습니다.검증 프로세스에는 시간이 다소 소요될 수 있습니다. 이는 표준 Duffle 요구 사항입니다.
보안 참고 사항
이 MCP 서버는 Duffel의 검색 엔드포인트만 사용하며 예약이나 요금 청구는 하지 않습니다. 귀하의 결제 정보는 Duffel의 확인 절차에만 사용되며 MCP 서버에서 접근하거나 공유되지 않습니다.
API 사용 제한에 대한 참고 사항
Duffel의 현재 가격과 사용 한도를 확인하세요
귀하의 요구 사항에 따라 다양한 계층이 제공됩니다.
웹사이트에서 현재 가격을 검토하는 것이 좋습니다.
설치
Smithery를 통해 설치
Smithery를 통해 Find Flights for Claude Desktop을 자동으로 설치하려면:
지엑스피1
수동 설치
저장소를 복제합니다.
git clone https://github.com/ravinahp/flights-mcp
cd flights-mcpuv를 사용하여 종속성을 설치합니다.
uv sync참고: 이 프로젝트는 종속성 관리를 위해 pyproject.toml을 사용하므로 pip 대신 uv를 사용합니다.
MCP 서버로 구성
이 도구를 MCP 서버로 추가하려면 Claude 데스크톱 구성 파일을 수정하세요.
구성 파일 위치:
MacOS:
~/Library/Application\ Support/Claude/claude_desktop_config.json윈도우:
%APPDATA%/Claude/claude_desktop_config.json
JSON 파일에 다음 구성을 추가하세요.
{
"flights-mcp": {
"command": "uv",
"args": [
"--directory",
"/Users/YOUR_USERNAME/Code/flights-mcp",
"run",
"flights-mcp"
],
"env": {
"DUFFEL_API_KEY_LIVE": "your_duffel_live_api_key_here"
}
}
}⚠️ 중요:
YOUR_USERNAME실제 시스템 사용자 이름으로 바꾸세요.your_duffel_live_api_key_here실제 Duffel Live API 키로 바꾸세요.디렉토리 경로가 로컬 설치와 일치하는지 확인하세요.
전개
건물
패키지를 준비하세요:
# Sync dependencies and update lockfile
uv sync
# Build package
uv build이렇게 하면 dist/ 디렉토리에 배포판이 생성됩니다.
디버깅
최상의 디버깅 환경을 위해 MCP Inspector를 사용하세요.
npx @modelcontextprotocol/inspector uv --directory /path/to/find-flights-mcp run find-flights-mcp검사관은 다음을 제공합니다.
실시간 요청/응답 모니터링
입력/출력 검증
오류 추적
성과 지표
사용 가능한 도구
1. 항공편 검색
@mcp.tool()
async def search_flights(params: FlightSearch) -> str:
"""Search for flights based on parameters."""3가지 비행 유형을 지원합니다.
편도 항공편
왕복 항공편
여러 도시로 가는 항공편
매개변수는 다음과 같습니다.
type: 항공편 유형('편도', '왕복', '다구간')origin: 출발지 공항 코드destination: 목적지 공항 코드departure_date: 출발 날짜(YYYY-MM-DD)선택 매개변수:
return_date: 왕복 여행의 귀국 날짜adults: 성인 승객 수cabin_class: 선호하는 객실 등급departure_time: 특정 출발 시간 범위arrival_time: 특정 도착 시간 범위max_connections: 최대 연결 수
2. 제안 세부 정보 받기
@mcp.tool()
async def get_offer_details(params: OfferDetails) -> str:
"""Get detailed information about a specific flight offer."""고유 ID를 사용하여 특정 항공편 상품에 대한 포괄적인 세부 정보를 검색합니다.
3. 다중 도시 항공편 검색
@mcp.tool(name="search_multi_city")
async def search_multi_city(params: MultiCityRequest) -> str:
"""Search for multi-city flights."""복잡한 다중 도시 항공편 일정을 위한 전문 도구입니다.
매개변수는 다음과 같습니다.
segments: 비행 구간 목록adults: 성인 승객 수cabin_class: 선호하는 객실 등급max_connections: 최대 연결 수
사용 사례
몇 가지 예 (하지만 직접 시도해 보세요!)
다음 도구를 사용하면 다양한 복잡성의 항공편을 찾을 수 있습니다.
"1월 7일 SFO에서 NYC까지 비즈니스석으로 성인 2명을 위한 편도 항공편을 찾으세요"
"1월 8일 출발, 1월 15일 복귀하는 LAX발 런던행 왕복 항공편을 검색하세요"
"1월 7일 뉴욕에서 파리까지, 1월 10일 로마까지, 그리고 1월 15일 뉴욕으로 돌아오는 여러 도시 여행을 계획하세요."
"1월 7일부터 1월 15일까지 성인 2명이 이코노미석을 이용하는 경우, SFO에서 LAX까지 가장 저렴한 항공편은 무엇입니까?"
여러 날짜 내의 항공편을 검색하여 여행에 가장 적합한 항공편을 찾을 수도 있습니다. 현재로서는 편도 또는 왕복 항공편만 이 방법으로 검색하는 것이 좋습니다. 예: "1월 7일부터 1월 10일까지 성인 2인 이코노미석 기준 샌프란시스코 국제 공항(SFO)에서 로스앤젤레스(LAX)까지 가장 저렴한 항공편을 찾아주세요"
응답 형식
이 도구는 다음과 같은 JSON 형식의 응답을 반환합니다.
항공편 제공 세부 정보
가격 정보
슬라이스(경로) 세부 정보
통신사 정보
연결 세부 정보
오류 처리
이 서비스에는 다음에 대한 강력한 오류 처리 기능이 포함되어 있습니다.
API 요청 실패
잘못된 공항 코드
API 키가 누락되었거나 유효하지 않습니다.
네트워크 시간 초과
잘못된 검색 매개변수입니다
기여하다
[해당되는 경우 기여에 대한 지침 추가]
특허
이 프로젝트는 MIT 라이선스에 따라 라이선스가 부여되었습니다. 자세한 내용은 라이선스 파일을 참조하세요.
성능 노트
편도/왕복 항공편의 경우 검색은 50개로 제한됩니다.
여러 도시 검색은 10개의 제안으로 제한됩니다.
공급업체 시간 초과는 검색 유형에 따라 15~30초로 설정됩니다.
객실 등급
이용 가능한 객실 등급:
economy: 표준 이코노미 클래스premium_economy: 프리미엄 이코노미 클래스business: 비즈니스 클래스first: 일등석
객실 등급에 따른 요청 예시:
{
"params": {
"type": "one_way",
"adults": 1,
"origin": "SFO",
"destination": "LAX",
"departure_date": "2025-01-12",
"cabin_class": "business" // Specify desired cabin class
}
}Available Tools
3 toolsget_offer_detailsB
Get detailed information about a specific flight offer.
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden. It states it's a read operation ('Get'), implying it's non-destructive, but doesn't disclose behavioral traits like authentication requirements, rate limits, error handling, or what 'detailed information' entails beyond the input schema. This leaves significant gaps for an agent to understand how to use it effectively.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, clear sentence that directly states the tool's purpose without unnecessary words. It's appropriately sized and front-loaded, making it easy to parse quickly.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has an output schema (which likely defines the return structure), the description doesn't need to explain return values. However, with no annotations, 0% schema description coverage, and one parameter, the description is minimal. It covers the basic purpose but lacks usage guidelines and behavioral details, making it incomplete for optimal agent use despite the output schema's support.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description mentions 'a specific flight offer', which aligns with the 'offer_id' parameter in the input schema. However, schema description coverage is 0%, so the schema provides no parameter descriptions. The description adds minimal semantics by implying the parameter identifies an offer, but doesn't explain format, source, or constraints, offering only basic compensation for the low coverage.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the verb 'Get' and the resource 'detailed information about a specific flight offer', making the purpose understandable. However, it doesn't explicitly differentiate from sibling tools like 'search_flights' or 'search_multi_city', which appear to be search operations rather than detail retrieval for a specific offer.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites, such as needing an offer ID from a previous search, or clarify that it's for retrieving details of a single, pre-identified offer rather than searching for new ones.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_flightsD
Search for flights based on parameters.
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure but provides none. It doesn't indicate whether this is a read-only operation, whether it requires authentication, what rate limits might apply, what format results are returned in, or any other behavioral characteristics. For a search tool that likely interacts with external APIs, this lack of transparency is a significant gap that leaves the agent guessing about important operational aspects.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is maximally concise at just 6 words. While this conciseness comes at the expense of completeness, every word earns its place - 'Search' indicates the action, 'for flights' specifies the resource, and 'based on parameters' acknowledges the input requirements. There's no wasted verbiage or redundant phrasing, making it efficiently front-loaded despite its brevity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity of flight search (11 parameters with nested objects, multiple flight types, and sibling tools), the description is woefully incomplete. While the presence of an output schema means the description doesn't need to explain return values, it fails to provide context about the tool's scope, limitations, or relationship to other tools. With no annotations and minimal description, the agent lacks crucial information needed to use this tool effectively in context with 'search_multi_city' and 'get_offer_details'.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description states 'based on parameters' but provides zero information about what those parameters are or their semantics. With schema description coverage at 0% (the schema has descriptions but they're not counted in coverage), the description fails to compensate by explaining any of the 11 parameters documented in the schema. The agent must rely entirely on the schema to understand parameters like 'type', 'origin', 'destination', 'departure_date', etc., with no high-level guidance from the description.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Search for flights based on parameters' is tautological - it essentially restates the tool name 'search_flights' with minimal elaboration. While it indicates the general action (search) and resource (flights), it lacks specificity about what kind of search this performs or how it differs from sibling tools like 'search_multi_city'. The description doesn't provide meaningful differentiation from what the name already conveys.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides absolutely no guidance about when to use this tool versus alternatives. With sibling tools like 'search_multi_city' and 'get_offer_details' available, the agent receives no indication whether this is the primary search tool, whether it's for simple searches while 'search_multi_city' handles complex itineraries, or any prerequisites or constraints. The description offers zero contextual usage information.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
search_multi_cityC
Search for multi-city flights.
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description |
|---|---|---|
| result | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It mentions 'search' but doesn't disclose behavioral traits like whether this is a read-only operation, if it requires authentication, rate limits, pagination, error handling, or what the search returns (e.g., flight options, prices). For a complex search tool with no annotations, this is a significant gap.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
Extremely concise with a single sentence ('Search for multi-city flights.'). It's front-loaded and wastes no words, though this conciseness comes at the cost of completeness. Every word earns its place by stating the core function.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's complexity (multi-city flight search with 1 parameter containing nested objects), no annotations, and an output schema (which reduces need to describe returns), the description is incomplete. It lacks context on usage, behavior, and doesn't leverage the output schema to clarify purpose. For a search tool with rich schema but no annotations, more guidance is needed.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, but the input schema has detailed descriptions for all parameters (e.g., 'Flight segments', 'Departure date (YYYY-MM-DD)'). The description adds no parameter information beyond the schema. Baseline 3 is appropriate as the schema does the heavy lifting, though the description doesn't compensate for the 0% coverage with any additional context.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Search for multi-city flights' states the basic action (search) and resource (multi-city flights), but it's vague about scope and doesn't distinguish from sibling 'search_flights'. It doesn't specify what 'search' entails (e.g., finding available flights, prices, routes) or how multi-city differs from other flight types.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance on when to use this tool versus 'search_flights' or 'get_offer_details'. The description implies usage for multi-city flights but doesn't specify prerequisites, constraints (e.g., minimum segments), or alternatives. Without explicit when/when-not instructions, the agent lacks context for tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
3 tool updates
v1.0.0- First observed
get_offer_details - First observed
search_flights - First observed
search_multi_city
TDQS
Scored across 3 tools
Each tool has a clearly distinct purpose: get_offer_details retrieves details for a specific offer, search_flights handles standard flight searches, and search_multi_city handles multi-city itineraries. There is no overlap or ambiguity between these functions.
All tool names follow a consistent verb_noun pattern using snake_case: get_offer_details, search_flights, and search_multi_city. The naming is predictable and readable throughout.
With only 3 tools, the set feels thin for a flight search domain. While the core search functions are covered, typical operations like booking, managing reservations, or checking availability are missing, making the scope borderline minimal.
The toolset is significantly incomplete for flight operations. It lacks essential actions such as booking flights, canceling reservations, checking seat availability, or managing user profiles, which are critical for a functional flight service. Agents will face dead ends in common workflows.
Maintenance
Related MCP Connectors
Duffel MCP — live flight search + pricing via the Duffel Flights API (duffel.com)
Google Flights search data: fares, routes, stops, and price insights via a hosted MCP server.
Search ~300 airlines and book flights with a checkout link. OAuth sign-in by email code.
Live flight prices and working booking links for AI agents and travel apps.
Related MCP Servers
- AlicenseNot gradedqualityNot gradedmaintenanceEnables searching and retrieving flight information using Duffel API, supporting one-way, round-trip, and multi-city queries with flexible search parameters.MIT
- FlicenseCqualityCmaintenanceEnables searching for flights (one-way, round-trip, multi-city) and hotels using the Duffel API, with support for filtering by cabin class, passengers, dates, and viewing accommodation reviews.5-
- FlicenseCqualityDmaintenanceEnables searching for flights (one-way, round-trip, multi-city) and hotels using the Duffel API, with support for detailed offer information, cabin class preferences, and guest reviews.54-
- FlicenseAqualityNot gradedmaintenanceEnables LLMs to search and book flights across 300+ airlines, manage travel orders, and search airports through the Duffel API with support for real-time pricing, multi-city trips, and flexible cabin classes.6-