
Flights
STDIOHTTP-SSEMCP server providing flight search capabilities using Aviasales API with filtering and booking features.
MCP server providing flight search capabilities using Aviasales API with filtering and booking features.
A Model Context Protocol (MCP) server that provides flight search capabilities using the Aviasales Flight Search API. This server allows you to search for flights, filter results, get detailed flight information, and generate booking links.
https://github.com/user-attachments/assets/87d79d54-c4ab-4938-9792-18572315f1ba
You can either use the remote MCP server or deploy your own instance:
Remote MCP
A public instance is available at:
https://findflights.me/sse
This server uses the SSE transport protocol and is ready to use without setup.
⚠️ Important: Currently not all LLM clients support remote MCP connections. For example, Claude.ai supports remote MCP integrations only on Pro+ plans.
Self-Hosted Deployment
If you prefer to run your own server, follow the instructions in the Installation section.
Note: To deploy your own server, you must obtain an Aviasales API Key and Marker ID.
git clone <repository-url> cd flights-mcp
Set up environment variables (see Environment Variables section)
Run the server
uv run src/flights-mcp/main.py
The server binds to 0.0.0.0, making it accessible on all network interfaces of the host machine.
The following environment variables are required:
FLIGHTS_AVIASALES_API_TOKEN
(required): Your Aviasales API token
FLIGHTS_AVIASALES_MARKER
(required): Your Aviasales marker ID
FLIGHTS_TRANSPORT
(optional): Transport protocol to use
stdio
(default), streamable_http
, sse
FLIGHTS_HTTP_PORT
(optional): Port for HTTP/SSE transport
FLIGHTS_TRANSPORT
is streamable_http
or sse
4200
FLIGHTS_HTTP_PATH
(optional): URI path for the endpoint
FLIGHTS_TRANSPORT
is streamable_http
or sse
/mcp
The server provides the following MCP tools:
Tool | Description |
---|---|
search_flights | Searches for flights using the Aviasales Flight Search API. Returns search description with search_id and summary of found options. |
get_flight_options | Retrieves, filters, and sorts flight options from a previous search. Returns a paginated list of filtered flight options. |
get_flight_option_details | Returns detailed flight information including segments, pricing, baggage allowances, and agency terms. |
request_booking_link | Generates a booking link for a specific flight option. |
search_flights()
- Call multiple times for flexible datesget_flight_options()
- Lightweight tool, call multiple times with different filters and sorting optionget_flight_option_details()
- For user's preferred optionsrequest_booking_link()
- Only when user confirms booking intentFor issues related to: