travel-mcp-server
Allows searching flights using Google Flights data (currently returning sample data).
π Architecture write-up & engineer's notes: tanayshah.dev/projects/travel-mcp-server/ β by Tanay Shah, AI engineer in NYC.
Travel MCP Server
An MCP server that gives AI assistants real-time access to flights, hotels, and weather data.
Why I Built This
I wanted to see if I could make Claude actually useful for travel planning - not just chatting about trips, but actually searching flights, comparing hotel prices, and checking weather forecasts. The Model Context Protocol (MCP) makes this possible by letting AI assistants call external tools.
The hard part wasn't the MCP integration - it was getting reliable travel data. Google Flights blocks scrapers aggressively, so flights fall back to sample data. Booking.com is more forgiving, so hotel scraping actually works. Weather uses Open-Meteo's free API which just works.
Related MCP server: stays
What It Does
Tool | Data Source | Status |
| Google Flights (via fast-flights) | Sample data fallback |
| Booking.com (Playwright scraper) | Live scraping |
| Open-Meteo API | Live API |
Quick Start
# 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-15Use with Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"travel": {
"command": "travel-mcp",
"args": ["serve"]
}
}
}Then ask Claude things like:
"Find me hotels in Tokyo under $200/night"
"What's the weather like in Paris next week?"
"Search flights from JFK to LAX"
CLI Commands
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 dataArchitecture
Claude Desktop
β (MCP protocol)
Travel MCP Server
β
ββββββββββββββ¬ββββββββββββββ¬βββββββββββββββ
β Flights β Hotels β Weather β
β fast-flightsβ Playwright β Open-Meteo β
ββββββββββββββ΄ββββββββββββββ΄βββββββββββββββ
β β β
MongoDB (cache layer)Tech Stack
Python 3.11+ with asyncio
MCP SDK for Claude integration
Playwright for browser automation
MongoDB for caching with TTL indexes
Typer for CLI
Loguru for logging
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Flicense-qualityDmaintenanceProvides weather-aware travel planning tools that fetch 3-day forecasts and generate structured itineraries using a multi-agent orchestration system. It exposes specialized agents for weather data and trip planning to any MCP-compliant client.Last updated
- AlicenseAqualityCmaintenanceGoogle Hotels MCP server via direct RPC β no scraping, no browser automation. Three tools: hotel list search (16 filter slots: stars, price, amenities, brands, free cancellation), per-OTA rate plans and cancellation policies for a single hotel, and parallel top-N enrichment. One-command setup for Claude Code, Codex, and ChatGPTLast updated38MIT
- Alicense-qualityBmaintenanceA 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.Last updatedMIT
- Alicense-qualityDmaintenanceA full-stack travel booking MCP server that enables AI clients to search flights, make reservations, cancel bookings, and manage persistent state across sessions.Last updated195MIT
Related MCP Connectors
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.
AI marketplace β flights, tours, activities, transport & more via MCP. No auth required.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/tanayshah11/travel-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server