Skip to main content
MCP server CX Codex

Aviasales Flight Prices — Claude Code MCP server: flight fares

Aviasales Flight Prices — an MCP server for flight price search via Aviasales and Travelpayouts API. Thirteen tools: route and month search, cheapest departure day, flexible dates, airport lookup.

GPL-3.0 ★ 9 updated 2026-10-24

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add --env AVIASALES_API_TOKEN=<AVIASALES_API_TOKEN> --env AVIASALES_MARKET=<AVIASALES_MARKET> --env AVIASALES_DEFAULT_CURRENCY=<AVIASALES_DEFAULT_CURRENCY> --env AVIASALES_PARTNER_ID=<AVIASALES_PARTNER_ID> --transport stdio aviasales-flight-prices -- uvx aviasales-mcp
Open on GitHub

What Aviasales Flight Prices does

The server exposes thirteen tools for working with the Travelpayouts API: fare search by route and month, price calendar for a given month, comparison of departure and return dates with one-day shifts, budget destination search, city and airport name resolution. Unlike Google Flights scrapers, the agent does not have to guess IATA codes: lookup_cities and find_nearest_airports resolve place names.

Running it requires Docker and a Travelpayouts API token (free, issued on the partner program site). Without Docker, install via uvx aviasales-mcp (Python 3.12+). The token is passed through the AVIASALES_API_TOKEN variable, market and currency through AVIASALES_MARKET and AVIASALES_DEFAULT_CURRENCY.

The image is packaged in the ghcr.io/stufently/aviasales-mcp:latest Docker container, versions are tagged. An invalid token does not block process startup — the error surfaces on the first search request.

What it helps with

  • find flight fares by route and month
  • determine the cheapest departure day
  • compare departure and return dates with one-day offsets
  • find destinations from a city within budget
  • resolve a city or resort name to an airport code

Example prompts for the agent

  • How much does a flight from Moscow to Istanbul cost in March?
  • I'm flying Berlin to Lisbon on May 12, returning on the 19th. Will it be cheaper if I shift the dates by a day?
  • Where can I fly from St Petersburg for less than 30,000 rubles?

How to install Aviasales Flight Prices

Platform CLI

claude mcp add --env AVIASALES_API_TOKEN=<AVIASALES_API_TOKEN> --env AVIASALES_MARKET=<AVIASALES_MARKET> --env AVIASALES_DEFAULT_CURRENCY=<AVIASALES_DEFAULT_CURRENCY> --env AVIASALES_PARTNER_ID=<AVIASALES_PARTNER_ID> --transport stdio aviasales-flight-prices -- uvx aviasales-mcp

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from aviasales-mcp <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Aviasales Flight Prices

How do I install Aviasales Flight Prices in Claude Code?

Run claude mcp add aviasales-mcp -e AVIASALES_API_TOKEN=<AVIASALES_API_TOKEN> -- uvx aviasales-mcp and substitute your Travelpayouts token for the placeholder.

What does Aviasales Flight Prices do?

The server connects the agent to thirteen tools for searching flight prices via the Travelpayouts API: fares by route, cheapest day, flexible dates, airport and city lookup. The agent answers flight price questions without scraping Google Flights.

Where do I get a token for Aviasales Flight Prices?

The token is issued free on the Travelpayouts site in the partner program API tools section. An invalid token will not prevent the server from starting, but the first search request will return an error.

Similar MCP servers

All MCP servers for Agent setup: memory, context, orchestration →

Project sponsors

Companies that keep this analytics open