Travelpayouts MCP server
travelpayouts-mcp
An MCP server for Travelpayouts, the company behind Aviasales: cheap flight search, a price calendar and hotels
Low risk
We rate an entry low when it mostly gives the agent instructions and reference material.
Why this level
- All tools are read-only over prices and options, no changes or bookings are made
- The API token grants read access to the Travelpayouts partner account
Install
In your terminal, with SkillFoxx CLI
npx skillfoxx add mcp/travelpayouts-mcpDetects the agents on your machine, checks the risk and pins the version.
Other ways to install
Run in a terminal
claude mcp add --transport stdio --env 'TRAVELPAYOUTS_TOKEN=<your TRAVELPAYOUTS_TOKEN>' travelpayouts -- npx -y @theyahia/travelpayouts-mcpOr add to the file .mcp.json, in the project
{
"mcpServers": {
"travelpayouts": {
"command": "npx",
"args": [
"-y",
"@theyahia/travelpayouts-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<your TRAVELPAYOUTS_TOKEN>"
}
}
}
}If the file already exists, add the server inside the mcpServers key.
Keys and settings
TRAVELPAYOUTS_TOKENsecret, required
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
The button opens the agent and offers to add the server. If nothing happens, copy the config below.
Add to the file ~/.cursor/mcp.json, for all projects
{
"mcpServers": {
"travelpayouts": {
"command": "npx",
"args": [
"-y",
"@theyahia/travelpayouts-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<your TRAVELPAYOUTS_TOKEN>"
}
}
}
}If the file already exists, add the server inside the mcpServers key. For a single project, put the same block into .cursor/mcp.json.
Keys and settings
TRAVELPAYOUTS_TOKENsecret, required
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
The button opens the agent and offers to add the server. If nothing happens, copy the config below.
Run in a terminal
code --add-mcp '{"name":"travelpayouts","type":"stdio","command":"npx","args":["-y","@theyahia/travelpayouts-mcp"],"env":{"TRAVELPAYOUTS_TOKEN":"<your TRAVELPAYOUTS_TOKEN>"}}'Or add to the file .vscode/mcp.json, in the project
{
"servers": {
"travelpayouts": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@theyahia/travelpayouts-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<your TRAVELPAYOUTS_TOKEN>"
}
}
}
}If the file already exists, add the server inside the servers key.
Keys and settings
TRAVELPAYOUTS_TOKENsecret, required
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Run in a terminal
codex mcp add travelpayouts --env 'TRAVELPAYOUTS_TOKEN=<your TRAVELPAYOUTS_TOKEN>' -- npx -y @theyahia/travelpayouts-mcpOr add to the file ~/.codex/config.toml, for all projects
[mcp_servers.travelpayouts]
command = "npx"
args = ["-y", "@theyahia/travelpayouts-mcp"]
env = { TRAVELPAYOUTS_TOKEN = "<your TRAVELPAYOUTS_TOKEN>" }If the file already exists, append the block to the end.
Keys and settings
TRAVELPAYOUTS_TOKENsecret, required
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Add to the file ~/.gemini/settings.json, for all projects
{
"mcpServers": {
"travelpayouts": {
"command": "npx",
"args": [
"-y",
"@theyahia/travelpayouts-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<your TRAVELPAYOUTS_TOKEN>"
}
}
}
}If the file already exists, add the server inside the mcpServers key.
Keys and settings
TRAVELPAYOUTS_TOKENsecret, required
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Add to the file ~/.config/devin/mcp_config.json, for all projects
{
"mcpServers": {
"travelpayouts": {
"command": "npx",
"args": [
"-y",
"@theyahia/travelpayouts-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<your TRAVELPAYOUTS_TOKEN>"
}
}
}
}If the file already exists, add the server inside the mcpServers key. Legacy Cascade keeps the MCP config in ~/.codeium/windsurf/mcp_config.json.
Keys and settings
TRAVELPAYOUTS_TOKENsecret, required
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Formerly Windsurf.
Add to the file cline_mcp_settings.json, for all projects
{
"mcpServers": {
"travelpayouts": {
"command": "npx",
"args": [
"-y",
"@theyahia/travelpayouts-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<your TRAVELPAYOUTS_TOKEN>"
}
}
}
}If the file already exists, add the server inside the mcpServers key. Open the settings file in Cline: MCP Servers tab, Configure MCP Servers.
Keys and settings
TRAVELPAYOUTS_TOKENsecret, required
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Add to the file .roo/mcp.json, in the project
{
"mcpServers": {
"travelpayouts": {
"command": "npx",
"args": [
"-y",
"@theyahia/travelpayouts-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<your TRAVELPAYOUTS_TOKEN>"
}
}
}
}If the file already exists, add the server inside the mcpServers key.
Keys and settings
TRAVELPAYOUTS_TOKENsecret, required
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
A fork of Roo Code, same .roo folders.
Add to the file opencode.json, in the project
{
"mcp": {
"travelpayouts": {
"type": "local",
"command": [
"npx",
"-y",
"@theyahia/travelpayouts-mcp"
],
"environment": {
"TRAVELPAYOUTS_TOKEN": "<your TRAVELPAYOUTS_TOKEN>"
}
}
}
}If the file already exists, add the server inside the mcp key.
Keys and settings
TRAVELPAYOUTS_TOKENsecret, required
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Add to the file ~/.config/zed/settings.json, for all projects
{
"context_servers": {
"travelpayouts": {
"command": "npx",
"args": [
"-y",
"@theyahia/travelpayouts-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<your TRAVELPAYOUTS_TOKEN>"
}
}
}
}If the file already exists, add the server inside the context_servers key.
Keys and settings
TRAVELPAYOUTS_TOKENsecret, required
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Add to the file .codeassistant/mcp.json, in the project
{
"mcpServers": {
"travelpayouts": {
"command": "npx",
"args": [
"-y",
"@theyahia/travelpayouts-mcp"
],
"env": {
"TRAVELPAYOUTS_TOKEN": "<your TRAVELPAYOUTS_TOKEN>"
}
}
}
}If the file already exists, add the server inside the mcpServers key.
Keys and settings
TRAVELPAYOUTS_TOKENsecret, required
Replace the values in angle brackets with your own. Keys never go into install links and are not stored by us.
Get TRAVELPAYOUTS_TOKEN from your Travelpayouts account, then connect the server in your Claude Desktop config with npx -y @theyahia/travelpayouts-mcp using this environment variable.
Other ways from the author
npm install -g @theyahia/travelpayouts-mcpGlobal package install from the README.
This is third-party code. Review the repository files before installing.
What it does
The server calls the Travelpayouts API using an access token and gives an agent 13 tools across three areas: eight flight tools, including route and date search, the cheapest month, a daily price calendar, popular directions from a city, a specific airline's routes, current special offers, direct-only flights, and prices for plus-or-minus N days around a date, two hotel tools for city search with dates and guest count and pricing for a specific hotel, and three lookup and autocomplete tools for airports, airlines and cities by name or IATA code. API requests automatically retry with exponential backoff on rate limits and server errors.
Who it is for. For people planning trips who want to find cheap flights and hotels through an agent instead of manually browsing dates.
Good fit when
- You want to find the cheapest departure dates within a month or date range
- You want to compare popular directions from your city with prices
- You want to pick a hotel and a matching flight for the same dates together
Not a fit when
- You do not have a Travelpayouts API token
- You need to buy a ticket or book a hotel: the server only shows prices and options, and booking happens on partner sites
Example request
Find the cheapest flights from Moscow to Istanbul in June and show hotels in Sochi for July 10-17Limitations
The project has a single author and is part of the same author's larger series of Russian API MCP servers. All 13 tools are read-only over prices and options; there is no booking tool among them. The README does not describe Travelpayouts rate limits.
How to disable. Remove the travelpayouts server from your MCP client config.
MCP
- Transport
- stdio
- Authentication
- API key
| Environment variables | |
|---|---|
| TRAVELPAYOUTS_TOKEN required, secret | API token from the Travelpayouts account dashboard. |
Security check
- All tools are read-only over prices and options, no changes or bookings are made
- The API token grants read access to the Travelpayouts partner account
README in short
The English README gives tables of 13 tools across three sections: flights, hotels and lookups, installation via npm or npx, a single token environment variable, a Claude Desktop config, and five demo prompts noting which tools they use.
FAQ
Can I buy a ticket through this server?
No, all tools only show prices and options; buying and booking happen separately on partner sites.
How do I get a Travelpayouts token?
The README links to Travelpayouts' API help page; the token is issued in your account dashboard.
Related
A self-hosted knowledge base with block-level references and a built-in MCP server for connecting AI agents to your notes
A CLI for every Google Workspace API with JSON output and agent skills: Drive, Gmail, Calendar, Sheets and more
Local search over Markdown notes, docs and meeting transcripts: keywords, semantic search and reranking, with an MCP server
A task manager for AI-driven development: breaks a PRD into dependent tasks and guides the agent through them via MCP or CLI