Aviasales MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Aviasales MCP Server
Русский · English · MIT License
Production-oriented Python MCP server for cached and live Aviasales/Travelpayouts
flight-price data. It exposes search_flights, analyze_price_calendar, and the
access-controlled live_search_flights tool.
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;
пустые ответы Data API по умолчанию не кэшируются;
опциональный живой поиск для проектов с одобренным Flight Search API;
обязательное преобразование обычных 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: mcp-duffel
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;
empty Data API responses are not cached by default;
optional live search for projects approved for the Flight Search API;
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
- AlicenseNot gradedqualityDmaintenanceProvides tools for searching flights, creating and canceling bookings, and retrieving user reservations through natural language.MIT
- AlicenseNot gradedqualityBmaintenanceEnables live flight search and pricing via the Duffel Flights API, allowing AI agents to query flight data and pricing.11 npmMIT
- 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 gradedqualityBmaintenanceProvides access to Aviasales flight data, including cheapest ticket prices, price calendars, month matrices, and popular destinations using IATA codes.201 npmMIT