
salamentic/google-flights-mcp
API development이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기
Quick-flights API를 사용하여 여행사 수준의 비행 계획을 생성하는 모델 Context Protocol 서버.
개요
Quick-flights API를 사용하여 여행사 수준의 비행 계획을 생성하는 모델 Context Protocol 서버. - 편도 및 왕복 항공편 검색 - 여행 매개 변수를 기반으로 종합 여행 계획을 생성 - 공항 코드 정보를 얻기 - 일반적인 여행 쿼리에 대한 템플릿을 사용합니다 1. Python 3.10 이상 설치해야 합니다. 2. 필요한 패키지를 설치: 1. Claude 데스크톱 설치 2. Claude 데스크톱 구성 파일 생성 또는 편집: - macOS: ~/Library/Application Support/Claude/claude desktop config.json - Windows: %APPDATA%\Claude\claude desktop config.json 3. Flight-planner 서버 구성 추가: 4. /PATH/TO/를 서버 파일에 실제 경로로 대체하십시오 5. Restart Claude 데스크탑 테스트 및 개발을 위해, 당신은 MCP 검사기를 사용할 수 있습니다: - search one way flights: 공항 간 편도 항공편 검색 - search round trip flights: 공항 간 왕복 항공편 검색 - create travel plan: 종합 여행 계획 생성
개요(AI 번역)
Quick-flights API를 사용하여 여행사 수준의 비행 계획을 생성하는 모델 Context Protocol 서버.
특징
- 편도 및 왕복 항공편 검색
- 여행 매개 변수를 기반으로 종합 여행 계획 만들기
- 공항 코드 정보 얻기
- 공통 여행 쿼리에 대한 템플릿 사용
설치
- Python 3.10 이상이 설치되어 있는지 확인하십시오.
- 필요한 패키지를 설치:
사용법
서버 실행
직접 서버를 실행할 수 있습니다:
Claude Desktop과 통합
- Claude 데스크탑 설치
- Claude 데스크탑 구성 파일을 만들거나 편집하십시오:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - 윈도우:
%APPDATA%\Claude\claude_desktop_config.json
-
Flight-planner 서버 구성 추가:
-
/PATH/TO/]를 서버 파일에 실제 경로로 바꾸기 -
Restart Claude 데스크탑
MCP 검사기를 사용하여
테스트 및 개발을 위해, 당신은 MCP 검사기를 사용할 수 있습니다:
사용 가능한 도구
search_one_way_flights: 공항 간 편도 항공편 검색search_round_trip_flights: 공항 간 왕복 항공편 검색create_travel_plan: 종합 여행 계획 수립
이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.
README
Flight Planner MCP Server
A Model Context Protocol server that creates travel agent-level flight plans using the fast-flights API.
Features
- Search for one-way and round-trip flights
- Create comprehensive travel plans based on trip parameters
- Get airport code information
- Use templates for common travel queries
Installation
- Make sure you have Python 3.10 or higher installed
- Install the required packages:
pip install mcp fast-flights
Usage
Running the Server
You can run the server directly:
python flight_planner_server.py
Integrating with Claude Desktop
-
Install Claude Desktop
-
Create or edit your Claude Desktop configuration file:
- macOS:
~/Library/Application Support/Claude/claude_desktop_config.json - Windows:
%APPDATA%\Claude\claude_desktop_config.json
- macOS:
-
Add the flight-planner server configuration:
{
"mcpServers": {
"flight-planner": {
"command": "python",
"args": [
"/PATH/TO/flight_planner_server.py"
],
"env": {
"PYTHONPATH": "/PATH/TO/PROJECT"
}
}
}
}
- Replace
/PATH/TO/with the actual path to your server file - Restart Claude Desktop
Using the MCP Inspector
For testing and development, you can use the MCP Inspector:
# Install the inspector
npm install -g @modelcontextprotocol/inspector
# Run the inspector with your server
npx @modelcontextprotocol/inspector python flight_planner_server.py
Available Tools
search_one_way_flights: Search for one-way flights between airportssearch_round_trip_flights: Search for round-trip flights between airportscreate_travel_plan: Generate a comprehensive travel plan
Available Resources
airport_codes://{query}: Get airport code information based on a search query
Available Prompts
flight_search_prompt: Template for searching flightstravel_plan_prompt: Template for creating a comprehensive travel plan
Example Queries for Claude
Once integrated with Claude Desktop, you can ask things like:
- “What flights are available from NYC to SFO on 2025-04-15?”
- “Can you create a travel plan for my business trip from LAX to TPE from 2025-05-01 to 2025-05-08?”
- “Help me find airport codes for Tokyo.”
- “What’s the best time to book flights from Boston to London for a summer vacation?”
License
MIT
설치
npx @modelcontextprotocol/inspector python flight_planner_server.py설정
{
"mcpServers": {
"flight-planner": {
"command": "python",
"args": [
"/PATH/TO/flight_planner_server.py"
],
"env": {
"PYTHONPATH": "/PATH/TO/PROJECT"
}
}
}
}