Aviasales MCP Server
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., "@Aviasales MCP Serverfind cheap 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.
Aviasales MCP Server
Русский · English · MIT License
Production-oriented Python MCP server for cached Aviasales/Travelpayouts flight-price
data and verified Travelpayouts affiliate links. It exposes exactly two tools:
search_flights and analyze_price_calendar.
Travelpayouts Data API responses are cached market data, not guaranteed live inventory. Price and availability must be confirmed on Aviasales before purchase.
Русский
Возможности
Streamable HTTP endpoint:
https://YOUR_DOMAIN/mcp;строгая Pydantic-валидация запросов;
Redis Streams, несколько worker-процессов, backpressure и reclaim заданий;
retry, deadline, cache, rate limit и circuit breaker;
обязательное преобразование обычных Aviasales URL через Partner Links API;
Bearer-аутентификация, Host/Origin allowlist, health/readiness и метрики.
Быстрый запуск в Docker
git clone https://github.com/neurologicby/mcp-aviasales-search.git
cd mcp-aviasales-search
cp .env.example .env
nano .env
chmod 600 .env
docker compose config --quiet
docker compose up --build -d
curl http://127.0.0.1:8000/readyzВ .env обязательно замените TRAVELPAYOUTS_TOKEN, TRAVELPAYOUTS_TRS,
TRAVELPAYOUTS_MARKER и MCP_BEARER_TOKEN. Для production укажите HTTPS-домен в
MCP_ISSUER_URL, MCP_RESOURCE_SERVER_URL, MCP_ALLOWED_HOSTS и
MCP_ALLOWED_ORIGINS. Порт по умолчанию привязан только к 127.0.0.1; внешний доступ
настраивается через HTTPS reverse proxy.
Подробные руководства:
Проверка
uv sync --extra test --python 3.13
uv run pytest --cov=aviasales_mcp --cov-report=term-missing
uv run ruff check .
uv run bandit -q -r src
docker compose config --quietRelated MCP server: Airline Reservation MCP Server
English
Features
Streamable HTTP endpoint at
https://YOUR_DOMAIN/mcp;strict Pydantic request validation;
Redis Streams, multiple workers, backpressure and stale-job reclaim;
retries, deadlines, caching, distributed rate limiting and a circuit breaker;
mandatory conversion of plain Aviasales URLs through the Partner Links API;
bearer authentication, Host/Origin allowlists, health/readiness and metrics.
Docker quick start
git clone https://github.com/neurologicby/mcp-aviasales-search.git
cd mcp-aviasales-search
cp .env.example .env
nano .env
chmod 600 .env
docker compose config --quiet
docker compose up --build -d
curl http://127.0.0.1:8000/readyzReplace TRAVELPAYOUTS_TOKEN, TRAVELPAYOUTS_TRS, TRAVELPAYOUTS_MARKER, and
MCP_BEARER_TOKEN in .env. For production, set the HTTPS domain in
MCP_ISSUER_URL, MCP_RESOURCE_SERVER_URL, MCP_ALLOWED_HOSTS, and
MCP_ALLOWED_ORIGINS. The published port binds to 127.0.0.1 by default; expose it
through an HTTPS reverse proxy.
Full guides:
Validation
uv sync --extra test --python 3.13
uv run pytest --cov=aviasales_mcp --cov-report=term-missing
uv run ruff check .
uv run bandit -q -r src
docker compose config --quietLicense
Released under the MIT License.
This server cannot be deployed
Maintenance
Related MCP Connectors
Search and compare flight offers through a cache-aware Streamable HTTP MCP server for AI agents.
Flight search & booking for AI agents. 400+ airlines, $20-50 cheaper than OTAs.
Flight search MCP server providing search, pagination, and itinerary details for AI assistants.
Travelpayouts MCP — wraps the Aviasales Flights Data API (travelpayouts.com)
Related MCP Servers
- AlicenseAqualityFmaintenanceConnects AI agents to Google Flights data, enabling retrieval of flight information, cheapest options, time-filtered flights, and best recommendations.429MIT
- FlicenseNot gradedqualityDmaintenanceProvides tools for searching flights, creating and canceling bookings, and retrieving user reservations through natural language.-
- AlicenseNot gradedqualityBmaintenanceEnables live flight search and pricing via the Duffel Flights API, allowing AI agents to query flight data and pricing.153 npmMIT
- AlicenseNot gradedqualityBmaintenanceEnables 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