MCP2u

Build by an AI engineer for AI engineers.

Flight Search MCP

A simple MCP server for LLMs to search for flights for non-commercial use.

Pro tip: to use in your AI tool, just take a screenshot of this and ask your AI to use this public MCP server.

Server endpoint

/api/mcp/flights

Choose a remote MCP server in your client and paste this URL. Authentication: none.

Available tools

search_flights — Search flights using airport codes and fixed dates. Round-trip results include an outbound continuation.

search_return_flights — Pass that continuation to retrieve return choices.

Example tool arguments

search_flights

Required: origin, destination, and departureDate. Use three-letter airport codes and dates in YYYY-MM-DD format. Include returnDate for a round trip; omit it for a one-way search.

All other fields are optional. Defaults: one adult, no children or infants, economy cabin, USD, and ranking: "top" (provider recommended). Ranking also accepts "cheapest" or "fastest". Budget, stops, and airline filters are optional.

{
  "origin": "SFO",
  "destination": "NRT",
  "departureDate": "2027-04-12",
  "returnDate": "2027-04-22",
  "ranking": "cheapest"
}

search_return_flights

continuation is required and is the only accepted field. Its value is a UUID string, not an integer or hash. Use the token returned by search_flights; do not generate one yourself.

After a round-trip search, select an outbound flight and copy its continuation value into this argument. Replace the placeholder below with the actual token from that result.

{
  "continuation": "PASTE_SELECTED_FLIGHT_CONTINUATION_HERE"
}

Ask your assistant: “Find the cheapest round-trip flight from SFO to NRT, April 12–22, 2027, with at most one stop.”