Skip to main content
You want a trip planned without ten browser tabs: real flight options, how to get around, what the weather will be, and a day-by-day plan. Your agent pulls live Google Flights results, directions between the places you want to see, and the forecast for your dates, then Claude assembles an itinerary. ~$0.08, self-contained — just an origin, a destination, and dates.
This is a durable gateway demo — a sandboxed client can’t fake live flight prices, real routing, or a real forecast. The value is paid, real-time data, not generation.

The prompt


What runs

  1. POST /serpapi/v1/flights — live Google Flights results for the dates (~$0.02)
  2. POST /googlemaps/v1/directions — routes between the places on the list (~$0.02)
  3. POST /openweather/v1/forecast — 5-day / 3-hour forecast for the destination (~$0.02)
  4. POST /anthropic/v1/messages — Claude builds the itinerary + flight pick + packing list (~$0.02)

Run it

Claude Desktop (MCP)

Paste the prompt with any origin, destination, and dates. The agent decides how many routing/forecast passes it needs.

SDK


Expected output


Extend it

  • Render the itinerary to a shareable PDF with PDFShift (/pdfshift/v1/convert)
  • Add Google Maps places (/googlemaps/v1/places) to suggest restaurants near each stop
  • Swap SerpAPI flights filters (type, cabin, stops) to compare nonstop vs cheapest
  • Run it for several candidate cities in parallel and let Claude rank them by weather + flight price