avia-mcp
Click on "Deploy 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., "@avia-mcp find the cheapest flights from Moscow to Istanbul next month"
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.
avia-mcp
MCP-сервер для поиска дешёвых авиабилетов через Aviasales Data API (Travelpayouts).
Цены берутся из кэша поисков Aviasales примерно за 48 часов — это не живой поиск. Актуальную цену подтверждает ссылка на Aviasales из ответа. Покупки и бронирования через сервер нет.
Инструменты
Инструмент | Что делает |
| IATA-код города или аэропорта по названию. Токен не нужен. |
| Самые дешёвые билеты по маршруту на дату или месяц. |
| Минимальная цена по дням месяца и три самых дешёвых дня. |
| Самые дешёвые направления из города, с потолком цены. |
Related MCP server: mcp-travelpayouts
Токен
Бесплатный токен: travelpayouts.com → «Инструменты» → API.
Без токена работает только search_places.
Подключение
Нужен Node.js 22 или новее. Сервер запускается через npx, ставить вручную ничего не надо.
Claude Code:
claude mcp add avia --scope user -e TRAVELPAYOUTS_TOKEN=ваш_токен -- npx -y avia-mcpClaude Desktop, Cursor и другие клиенты — в конфиге MCP-серверов
(для Claude Desktop это claude_desktop_config.json):
{
"mcpServers": {
"avia": {
"command": "npx",
"args": ["-y", "avia-mcp"],
"env": { "TRAVELPAYOUTS_TOKEN": "ваш_токен" }
}
}
}Переменные окружения
Переменная | По умолчанию | Что задаёт |
| — | Токен Travelpayouts. |
|
| Валюта цен. |
Разработка
git clone https://github.com/danyasnov/avia-mcp.git
cd avia-mcp
npm install
npm run build
cp .env.example .env # впишите токенПри запуске из клона сервер читает .env в корне проекта; переменные окружения
процесса важнее файла. Подключить локальную сборку:
claude mcp add avia --scope user -- node /путь/к/avia-mcp/dist/index.jsПроверка
npm test
npm run smokenpm run smoke запускает собранный сервер и вызывает каждый инструмент по разу.
Без токена отвечает только search_places, остальные возвращают подсказку про токен.
Лицензия
MIT
Available Tools
4 toolscheapest_destinationsARead-only
Куда дешевле всего улететь из города: по одному самому дешёвому билету на каждое направление, от дешёвых к дорогим. Подходит для вопросов «куда слетать в ноябре до 20 000 ₽». Цены берутся из кэша поисков Aviasales примерно за 48 часов, это не живой поиск: актуальную цену подтверждает ссылка url.
Inputs: origin (required), limit, direct, currency, +3 more.
price_calendarARead-only
Минимальная цена по каждому дню вылета в выбранном месяце — чтобы найти самые дешёвые даты. С trip_duration цены за перелёт туда-обратно, без него — в одну сторону. Отдельно возвращает три самых дешёвых дня. Дни без данных в ответ не попадают. Цены берутся из кэша поисков Aviasales примерно за 48 часов, это не живой поиск: актуальную цену подтверждает ссылка url.
Inputs: month (required), origin (required), destination (required), direct, +2 more.
search_flightsARead-only
Самые дешёвые авиабилеты по маршруту на дату или месяц, от дешёвых к дорогим. Цена для туда-обратно — за весь перелёт. Цены берутся из кэша поисков Aviasales примерно за 48 часов, это не живой поиск: актуальную цену подтверждает ссылка url.
Inputs: origin (required), destination (required), departure_at (required), limit, +3 more.
search_placesARead-only
Находит IATA-код города или аэропорта по названию. Вызывайте перед остальными инструментами, если код неизвестен: им нужны коды вроде MOW или LED, а не названия.
Inputs: query (required), limit.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
Each tool targets a distinct task: IATA code lookup (search_places), route pricing (search_flights), destination discovery (cheapest_destinations), and date-flexibility search (price_calendar). There is mild overlap between search_flights by month and price_calendar, and between search_flights and cheapest_destinations, but descriptions clarify the boundaries well.
All names are snake_case and descriptive, but the convention is not uniform: two use a search_ verb prefix while cheapest_destinations and price_calendar are noun phrases. Still readable and predictable enough to distinguish at a glance.
Four tools is a lean but well-scoped set covering code resolution, route pricing, destination discovery, and calendar pricing. Each earns its place, though the surface is on the thin side for a full flight-search domain.
The surface covers the core discovery workflow: resolve location, search a route, explore cheap destinations, and find cheap dates. Notable gaps include multi-city/round-trip specifics beyond trip_duration and no booking or price-alert operation, but these are workarounds rather than dead ends.
Maintenance
Related MCP Connectors
Unofficial Travelpayouts MCP — wraps the Aviasales Flights Data API (travelpayouts.com)
Flight search, airfare analytics, flexible destinations
Public flight itinerary fares, stops, layovers and cheapest-date calendars with relative dates.
Live Google Flights fares: search routes, discover cheap deals from an origin.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceEnables flight price searching via Aviasales/Travelpayouts Data API, including fares by route and date, cheapest-day and flexible-date lookups, budget and inspiration searches, and airport/city/airline reference resolution.GPL 3.0
- AlicenseNot gradedqualityCmaintenanceProvides access to Aviasales flight data, including cheapest ticket prices, price calendars, month matrices, and popular destinations using IATA codes.77 npmMIT
- AlicenseAqualityBmaintenanceFlight price search via the Aviasales / Travelpayouts Data API: 13 read-only tools for fares by route and month, cheapest day, flexible dates, budget search and IATA lookup.1390 PyPI9GPL 3.0
- AlicenseBqualityBmaintenanceEnables MCP clients such as Claude Desktop, Claude Code, Cursor, VS Code, and DSH to search cheap flights, inspect price calendars and popular directions, resolve IATA places, build Aviasales search URLs, and create affiliate short links with sub_id tracking.10MIT