@theyahia/travelpayouts-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@@theyahia/travelpayouts-mcpfind cheapest flights from JFK to LHR in August"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@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-mcpOr use directly with npx:
npx @theyahia/travelpayouts-mcpRelated MCP server: flights-mcp
Environment Variables
Variable | Required | Description |
| 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 cheap flights by route, dates, and currency |
| Find cheapest flights for an entire month |
| Price calendar showing cheapest price per day |
| Popular flight directions from a city with prices |
| Routes served by a specific airline |
| Current special flight deals across all routes |
| Search only non-stop flights between two cities |
| Prices for ±N days around a target date (flexible travel) |
Hotels (2)
Tool | Description |
| Search hotels by city with dates and guest count |
| Get prices for a specific hotel by ID |
Lookup (3)
Tool | Description |
| Search/autocomplete airports by name or IATA code |
| Search airlines by name or IATA/ICAO code |
| 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 TypeScriptLicense
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.
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/theYahia/travelpayouts-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server