Repository navigation
v8.0.0
Breaking Changes
- Requires Node 26+ (was 20).
Added (API Client)
airports.getSchedulesByRoute(from, to)returns aSchedule.airports.getSchedulesByPeriod(from, to, year, month)returns aMonthlySchedule.- Booking-link helpers under
helpers:generateBookingLink,generateOneWayBookingLink,generateReturnBookingLink. - Proxy support via
hpagent(HTTP_PROXY/HTTPS_PROXYenv vars). RYANAIR_CLIENT_VERSIONenv var to override theclient-versionheader when Ryanair retires the bundled value. See README.- Live integration test for
flights.getAvailableagainst the booking API.
Changed (API Client)
flights.getAvailableself-issues afr-correlation-idcookie per process and sends aclient-versionheader. The cookie that shipped in 7.1.2 had expired, so every call was returning409 Availability declined.got13 -> 15 (default import only; the runtime named export is gone),zod3 -> 4,date-fns3 -> 4.- Build stack: swc + tsc + prettier + eslint -> tsdown + oxlint + oxfmt. No public-API impact.
- Package manager: npm -> pnpm.
Fixed (API Client)
flights.getAvailable()returns flight data instead of409 Availability declined.
Removed (API Client)
tough-cookiedependency (never imported).- Hardcoded session cookie from
client/index.ts.
Added (MCP)
First public release of @2bad/ryanair-mcp. Bin: ryanair-mcp, transport: stdio.
Tools:
- Airports:
get_active_airports,get_active_airports_v3,get_airport_info,get_airport_destinations,get_closest_airport,get_nearby_airports,calculate_distance,find_routes,get_airport_schedules,get_schedules_by_route,get_schedules_by_period. - Flights:
get_available_flights,get_available_flight_dates. - Fares:
get_cheapest_fares_per_day,find_daily_fares_in_range,find_cheapest_round_trip. - Booking:
generate_booking_link.
Fixed (MCP)
- Tool type inference works under
@modelcontextprotocol/sdk1.26+.