travel-mcp-server
📝 아키텍처 설명 및 엔지니어 노트: tanayshah.dev/projects/travel-mcp-server/ — 작성자: Tanay Shah, 뉴욕 AI 엔지니어.
Travel MCP Server
AI 어시스턴트에게 항공편, 호텔, 날씨 데이터에 대한 실시간 액세스 권한을 제공하는 MCP 서버입니다.
개발 동기
단순히 여행에 대해 대화하는 것을 넘어, 실제로 항공편을 검색하고 호텔 가격을 비교하며 날씨 예보를 확인하는 등 Claude를 여행 계획에 실제로 유용하게 활용할 수 있는지 확인하고 싶었습니다. MCP(Model Context Protocol)는 AI 어시스턴트가 외부 도구를 호출할 수 있게 함으로써 이를 가능하게 합니다.
가장 어려웠던 점은 MCP 통합이 아니라 신뢰할 수 있는 여행 데이터를 확보하는 것이었습니다. Google Flights는 스크래퍼를 강력하게 차단하므로 항공편은 샘플 데이터로 대체됩니다. Booking.com은 비교적 관대하여 호텔 스크래핑이 실제로 작동합니다. 날씨 정보는 별도의 설정 없이 바로 작동하는 Open-Meteo의 무료 API를 사용합니다.
Related MCP server: ts-travel-mcp-server
주요 기능
도구 | 데이터 소스 | 상태 |
| Google Flights (fast-flights 경유) | 샘플 데이터 대체 |
| Booking.com (Playwright 스크래퍼) | 실시간 스크래핑 |
| Open-Meteo API | 실시간 API |
빠른 시작
# Install
pip install -e .
playwright install chromium
# Start MongoDB
docker run -d --name mongodb -p 27017:27017 mongo:latest
# Test it
travel-mcp test weather --city Paris --start 2025-06-15
travel-mcp test hotels --city "New York"
travel-mcp test flights --from JFK --to LAX --date 2025-06-15Claude Desktop과 함께 사용하기
~/Library/Application Support/Claude/claude_desktop_config.json에 다음을 추가하세요:
{
"mcpServers": {
"travel": {
"command": "travel-mcp",
"args": ["serve"]
}
}
}그런 다음 Claude에게 다음과 같이 질문해 보세요:
"도쿄에서 1박당 200달러 미만인 호텔을 찾아줘"
"다음 주 파리 날씨는 어때?"
"JFK에서 LAX로 가는 항공편을 검색해줘"
CLI 명령어
travel-mcp serve # Run MCP server
travel-mcp test flights ... # Test flight search
travel-mcp test hotels ... # Test hotel search
travel-mcp test weather ... # Test weather search
travel-mcp cache stats # View cache statistics
travel-mcp cache clear # Clear cached data아키텍처
Claude Desktop
↓ (MCP protocol)
Travel MCP Server
↓
┌────────────┬─────────────┬──────────────┐
│ Flights │ Hotels │ Weather │
│ fast-flights│ Playwright │ Open-Meteo │
└────────────┴─────────────┴──────────────┘
↓ ↓ ↓
MongoDB (cache layer)기술 스택
Python 3.11+ (asyncio 포함)
MCP SDK (Claude 통합용)
Playwright (브라우저 자동화용)
MongoDB (TTL 인덱스를 사용한 캐싱용)
Typer (CLI용)
Loguru (로깅용)
라이선스
MIT
This server cannot be deployed
Maintenance
Related MCP Connectors
Search and compare flight offers through a cache-aware Streamable HTTP MCP server for AI agents.
Flight search MCP server providing search, pagination, and itinerary details for AI assistants.
TravelMind: 8 MCP tools for travel (12306 trains, flights, hotels, geocode, planning, policy).
AI Reasoning Cache & Consensus Layer with 11 MCP tools via Streamable HTTP.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceA smart MCP gateway that routes AI agents to the right tools using hybrid search (vector + full-text) on MongoDB Atlas, collapsing the retrieval infrastructure into a single query.MIT
- AlicenseAqualityDmaintenanceA full-stack travel booking MCP server that enables AI clients to search flights, make reservations, cancel bookings, and manage persistent state across sessions.915 npm5MIT
- FlicenseBqualityBmaintenanceUnified MCP server exposing 12 DevOps tools across GitHub, PostgreSQL, Slack, and Google Calendar for AI agents, with rate limiting, input validation, and per-service scoped tokens.30-
- FlicenseNot gradedqualityCmaintenanceMCP server for agentic travel recommendations, exposing tools to retrieve member profiles and personalized travel recommendations with partner-specific rules and policies.-