MCP server for Travelpayouts API -- flight search, popular routes, price calendar.
MCPpedia last refreshed this data
io.github.theYahia/travelpayouts-mcp is an MCP server that MCP server for Travelpayouts API -- flight search, popular routes, price calendar. Its tool list has not been published yet over stdio and sse, requires no API key, and scores 78/100 on MCPpedia's security, maintenance and efficiency rubric.
Config is the same across clients - only the file and path differ.
{
"mcpServers": {
"travelpayouts": {
"env": {
"TRAVELPAYOUTS_TOKEN": "your-token"
},
"args": [
"-y",
"@theyahia/travelpayouts-mcp"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
MCP server for Travelpayouts API -- flight search, popular routes, price calendar.
Run this in your terminal to verify the server starts. Then let us know if it worked - your result helps other developers.
npx -y '@theyahia/travelpayouts-mcp' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories - click any category to see the underlying evidence.
No known CVEs.
Checked @theyahia/travelpayouts-mcp against OSV.dev.
Click any tool to inspect its schema.
Find cheapest flights for a monthFind the cheapest flights from one city to another for an entire month using lookup_cities and get_cheapest_month
Popular destinations from a cityShow popular flight destinations from a specified city with current prices using get_popular_directions
Hotels and flights combination searchSearch for hotel accommodations and matching flights for the same destination and dates using search_hotels and search_flights_prices
Flexible date flight searchFind flight prices for flexible travel dates around a target date using get_nearest_prices
Direct flights searchFind only non-stop flights between two cities using get_direct_routes
Be the first to review
Have you used this server?
Share your experience - it helps other developers decide.
Sign in to write a review.
Others in other
Private-by-default, local-first memory/context/task orchestrator for MCP apps and agents.
Compress tool outputs, logs, files, and RAG chunks before they reach the LLM. 60-95% fewer tokens, same answers. Library, proxy, MCP server.
SQL for Android APK and DEX files: classes, methods, strings, references and smali.
System 1 decision models (Jev, Laya, Cua-S1) as brain for agents: Browser use, computer use, games and robotics
MCP Security Weekly
Get CVE alerts and security updates for io.github.theYahia/travelpayouts-mcp and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
If you were looking for a way to have Claude or another AI assistant find the cheapest flight on a route, show a price calendar across flexible dates, resolve an airport or airline code or search hotels, this is it. 13 tools sit on the Travelpayouts (Aviasales) API: flight search, price calendars, hotel search, airport/airline/city lookup, direct routes and flexible date pricing.
npm install -g @theyahia/travelpayouts-mcp
Or use directly with npx:
npx @theyahia/travelpayouts-mcp
| Variable | Required | Description |
|---|---|---|
TRAVELPAYOUTS_TOKEN | Yes | API token from Travelpayouts |
{
"mcpServers": {
"travelpayouts": {
"command": "npx",
"args": ["-y", "@theyahia/travelpayouts-mcp"],
"env": {
"TRAVELPAYOUTS_TOKEN": "your-token"
}
}
}
}
| Tool | Description |
|---|---|
search_flights_prices | Search cheap flights by route, dates, and currency |
get_cheapest_month | Find cheapest flights for an entire month |
get_calendar_prices | Price calendar showing cheapest price per day |
get_popular_directions | Popular flight directions from a city with prices |
get_airline_directions | Routes served by a specific airline |
get_special_offers | Current special flight deals across all routes |
get_direct_routes | Search only non-stop flights between two cities |
get_nearest_prices | Prices for ±N days around a target date (flexible travel) |
| Tool | Description |
|---|---|
search_hotels | Search hotels by city with dates and guest count |
get_hotel_prices | Get prices for a specific hotel by ID |
| Tool | Description |
|---|---|
lookup_airports | Search/autocomplete airports by name or IATA code |
lookup_airlines | Search airlines by name or IATA/ICAO code |
lookup_cities | Search/autocomplete cities by name or IATA code |
API token passed via X-Access-Token header or query parameter. Retries on 429 (rate limit) and 5xx (server errors) with exponential backoff.
"Find the cheapest flights from Moscow to Istanbul in June"
Uses lookup_cities to resolve IATA codes, then get_cheapest_month to find the best deals for the month.
"What are the popular destinations from Saint Petersburg right now?"
Uses get_popular_directions with origin LED to show trending routes and current prices.
"Search hotels in Sochi for July 10-17 for 2 adults, then find flights there from Moscow"
Uses search_hotels for accommodation options, then search_flights_prices for matching flight dates.
"I want to fly Moscow → Dubai around March 15, but ±3 days is fine if it's cheaper"
Uses get_nearest_prices to compare prices across 7 dates centered on March 15.
"Find only direct flights from Moscow to Minsk"
Uses get_direct_routes with direct=true filter.
npm install
npm run dev # Run with tsx
npm test # Run tests
npm run build # Compile TypeScript
MIT
Telegram: @vhodvai