Skip to main content
Glama
travelpayouts-mcp

travelpayouts-mcp

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TRAVELPAYOUTS_TRSNoID проекта (trs), напр. YOUR_TRS (для Links API).
TRAVELPAYOUTS_TOKENYesПартнёрский API-токен (X-Access-Token).
TRAVELPAYOUTS_DOMAINNoХост Aviasales для сырых ссылок (www.aviasales.ru / www.aviasales.com).
TRAVELPAYOUTS_LOCALENoЛокаль справочника/названий: ru, en, es.
TRAVELPAYOUTS_MARKERNoПартнёрский маркер, напр. YOUR_MARKER (для Links API).
TRAVELPAYOUTS_MARKETNoМаркет Data API: ru (по умолчанию), us, …ru
TRAVELPAYOUTS_TIMEOUTNoТаймаут HTTP, секунды (по умолчанию 20).20
TRAVELPAYOUTS_API_BASENoПереопределение API (тесты, мок).
TRAVELPAYOUTS_CURRENCYNoВалюта: rub (по умолчанию), usd, eur.rub

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Travelpayouts / Aviasales MCP: flight deals, price calendars, popular directions and partner links. Prices come from the Aviasales cache (up to 7 days old). Affiliate links are created only via create_partner_links (Partner Links API).

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": false
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_cheapest_ticketsA

Cheapest Aviasales tickets found during the last 48 hours for a route or dates (Travelpayouts Data API, cached up to 7 days). Returns prices, airline, transfers and plain search URLs. Use create_partner_links to turn a URL into a tracked affiliate link.

get_price_calendarB

Cheapest ticket for every day of a month for a route (v1/prices/calendar). Good for 'when is it cheaper to fly' answers.

get_month_matrixC

Cheapest price per day of a month (v2/prices/month-matrix), grouped by transfers. Alternative calendar view.

get_special_offersA

Abnormally cheap flight deals (v3/get_special_offers) — the best starting point for 'deal of the day' content.

get_popular_directionsB

Cheapest origins flying to a destination (v3/get_popular_directions) — useful for destination landing pages.

get_city_directionsC

Popular destinations from a city (v1/city-directions).

get_latest_pricesC

Recently found prices for a period (v3/get_latest_prices): dates or directions, sorted by price.

resolve_placeA

Resolve a city name or IATA code to IATA codes (cities + airports) using the Travelpayouts directory. Use before search tools.

build_search_urlA

Build a plain Aviasales search URL (params string + filled form URL + results URL). No tracking: for affiliate links call create_partner_links.

create_partner_linksA

Create Travelpayouts affiliate links from brand URLs via the Partner Links API (branded short links, tracked by sub_id). Requires TRAVELPAYOUTS_TOKEN, TRAVELPAYOUTS_MARKER and TRAVELPAYOUTS_TRS. Limits: max 10 URLs per call, 100 calls/min per marker.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 10 tools

Disambiguation4/5

Most tools target clearly distinct endpoints (deals, popular directions, place resolution, URL/affiliate building), but get_price_calendar and get_month_matrix both return 'cheapest price per day of a month' and differ only by API version and transfer grouping, which invites misselection. search_cheapest_tickets vs get_latest_prices is also a close pair, though descriptions distinguish cached-route results from period-wide recent prices.

Naming Consistency5/5

Every tool follows a consistent snake_case verb_noun pattern (get_*, search_*, resolve_*, build_*, create_*), with verbs that accurately reflect the operation. No camelCase or stylistic mixing.

Tool Count5/5

10 tools is well within the ideal range and each maps to a distinct Travelpayouts API endpoint or a necessary helper (place resolution, URL building, affiliate link creation). No filler tools.

Completeness4/5

The surface covers the full affiliate workflow: resolve place → search prices/calendars/deals → build search URL → create tracked links. Minor gaps exist, such as no tool for airline/route metadata or batch multi-route queries, but agents can work around them with existing tools.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues