flight-recon-mcp

v0.1.1
flight-recon-mcp Checked 2 days ago Published 6 months ago

Flight reconnaissance MCP server: search, price calendar, layover scoring, carbon emissions, weighted optimal-path ranking.

These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.

search_airports

Resolve a city or airport name to IATA codes. Tries RapidAPI Sky-Scrapper first (has a dedicated airport endpoint); falls back to SerpApi if RapidAPI is quota-exhausted (note: SerpApi returns empty for airport lookups — pass a 3-letter IATA code directly if both providers are out).

ParameterTypeDescription
query *string
limitinteger

search_flights

Search flights across configured providers with automatic fallback. Order: SerpApi (Google Flights, 250/mo) → RapidAPI Sky-Scrapper (20/mo). SerpApi results include carbon emissions and per-segment legroom.

ParameterTypeDescription
departure_date *string
destination *string
origin *string
adultsinteger
cabin_classstring
childreninteger
currency
infantsinteger
max_resultsinteger
return_date

cheapest_dates

Per-day price view for a route. Tries SerpApi first, RapidAPI's price calendar as fallback.

ParameterTypeDescription
destination *string
origin *string
currencystring

flight_inspiration

'Where can I go for $X from here?' — destination discovery. Only SerpApi (Google Travel Explore) implements this; if SerpApi is quota-exhausted, the tool will say so.

ParameterTypeDescription
origin *string
currencystring
max_price

analyze_layovers

Score every layover in an offer on connection-time risk, terminal change, overnight burden, and airport quality.

ParameterTypeDescription
offer_id *string

rank_options

Score and rank previously-fetched offers by a weighted combination of price, duration, stops, layover quality, seat quality, and carbon.

ParameterTypeDescription
offer_ids *array
weight_carbonnumber
weight_durationnumber
weight_layover_qualitynumber
weight_pricenumber
weight_seat_qualitynumber
weight_stopsnumber

find_optimal_path

End-to-end: query every available search provider, merge results, rank, and return the top N with per-criterion rationale.

ParameterTypeDescription
departure_date *string
destination *string
origin *string
adultsinteger
cabin_classstring
childreninteger
currencystring
infantsinteger
return_date
top_ninteger
weight_carbonnumber
weight_durationnumber
weight_layover_qualitynumber
weight_pricenumber
weight_seat_qualitynumber
weight_stopsnumber

compare_offers

Side-by-side comparison of two or more offers in memory.

ParameterTypeDescription
offer_ids *array