@theyahia/travelpayouts-mcp
MCP server for the Travelpayouts (Aviasales) API. It provides 13 tools for flight search, price calendars, hotel search, and airport/airline/city lookup.
README
@theyahia/travelpayouts-mcp
MCP server for the Travelpayouts (Aviasales) API. 13 tools for flight search, price calendars, hotel search, airport/airline/city lookup, direct routes, and flexible date pricing.
Install
npm install -g @theyahia/travelpayouts-mcp
Or use directly with npx:
npx @theyahia/travelpayouts-mcp
Environment Variables
| Variable | Required | Description |
|---|---|---|
TRAVELPAYOUTS_TOKEN |
Yes | API token from Travelpayouts |
Claude Desktop Config
{
"mcpServers": {
"travelpayouts": {
"command": "npx",
"args": ["-y", "@theyahia/travelpayouts-mcp"],
"env": {
"TRAVELPAYOUTS_TOKEN": "your-token"
}
}
}
}
Tools (13)
Flights (8)
| 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) |
Hotels (2)
| Tool | Description |
|---|---|
search_hotels |
Search hotels by city with dates and guest count |
get_hotel_prices |
Get prices for a specific hotel by ID |
Lookup (3)
| 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 |
Auth
API token passed via X-Access-Token header or query parameter. Retries on 429 (rate limit) and 5xx (server errors) with exponential backoff.
Demo Prompts
-
"Find the cheapest flights from Moscow to Istanbul in June" Uses
lookup_citiesto resolve IATA codes, thenget_cheapest_monthto find the best deals for the month. -
"What are the popular destinations from Saint Petersburg right now?" Uses
get_popular_directionswith 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_hotelsfor accommodation options, thensearch_flights_pricesfor matching flight dates. -
"I want to fly Moscow → Dubai around March 15, but ±3 days is fine if it's cheaper" Uses
get_nearest_pricesto compare prices across 7 dates centered on March 15. -
"Find only direct flights from Moscow to Minsk" Uses
get_direct_routeswith direct=true filter.
Development
npm install
npm run dev # Run with tsx
npm test # Run tests
npm run build # Compile TypeScript
License
MIT
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.