Connect to Claude
Adds the Rush Hour connector to Claude so you can ask things like When should I leave to drive from New York to Boston?
How to call it
No account and no API key. from is the origin, and to is the destination. Origin. A city or address in the United States, the United Kingdom, or Canada, such as New York, NY or Manchester. Destination. A city or address in the United States, the United Kingdom, or Canada, such as Boston, MA or Heathrow Airport. Optional date is YYYY-MM-DD in local time at the starting point, for today, tomorrow, or a chosen day up to 7 days ahead, the same days the website offers. Omit it for the next 24 hours from now, one departure per hour. Departures later today and tomorrow inside that window are included and labelled Today or Tomorrow, so at 9 PM in New York tomorrow's morning commute is in the answer. Convert a phrase such as next Wednesday to a date. tomorrow, a weekday, and next-wednesday are also accepted. A past day or a later day returns an error naming the supported range.
- Route page, for a headless browser or a known AI agent: https://rushhourplanner.com/?from=New+York,+NY&to=Boston,+MA
- JSON for any client: GET https://rushhourplanner.com/api/forecast?from=New+York%2C+NY&to=Boston%2C+MA
- UK example, same parameters: GET https://rushhourplanner.com/api/forecast?from=Manchester&to=Heathrow+Airport
- OpenAPI 3.1 description of that JSON call: /openapi.json
The route page for a known agent returns the forecast as HTML and does not load the map. Do not drive the interactive map or type a partial route into the page.
Routes you can open
Start from the New York to Boston example URL and change only from and to.
- Pasadena, CA, USA to Long Beach, CA, USA
- Seattle, WA, USA to Portland, OR, USA
- Chicago, IL, USA to Milwaukee, WI, USA
- New York, NY, USA to Boston, MA, USA
- Eugene, OR, USA to Vancouver, BC, Canada
- Fort Lauderdale, FL, USA to Miami, FL, USA
- Austin, TX, USA to Houston, TX, USA
- Berkeley, CA, USA to Sacramento, CA, USA
- Milwaukee, WI, USA to Chicago, IL, USA
- Portland, OR, USA to Seattle, WA, USA
- Irvine, CA, USA to Los Angeles, CA, USA
- San Diego, CA, USA to Los Angeles, CA, USA
MCP server
POST https://rushhourplanner.com/mcp. No account. One read-only tool, rushhour_departure_forecast, with origin and destination. Optional date is YYYY-MM-DD for today, tomorrow, or a chosen day up to 7 days ahead. response_format is concise or detailed. There is no latitude/longitude parameter. The call uses the same forecast, caps, and stale fallback as /api/forecast.
Protocol 2026-07-28 is stateless. Send MCP-Protocol-Version: 2026-07-28 and Mcp-Method on every call. On tools/call, the Mcp-Name header must equal the tool name rushhour_departure_forecast. A client name in that header returns JSON-RPC 400, code -32020. Put the client name and version in _meta as io.modelcontextprotocol/clientInfo. An older client sends initialize, then tools/list and tools/call.
curl -s https://rushhourplanner.com/mcp \
-H 'content-type: application/json' \
-H 'MCP-Protocol-Version: 2026-07-28' \
-H 'Mcp-Method: tools/call' \
-H 'Mcp-Name: rushhour_departure_forecast' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"rushhour_departure_forecast","arguments":{"origin":"New York, NY","destination":"Boston, MA"}}}'What comes back
coverage is one plain sentence, such as Forecast covers the next 24 hours, from Sat 14 Nov 06:00 to Sun 15 Nov 05:00 Eastern Time (local time at the starting point).
A chosen day names that day, such as Forecast covers Wednesday, from Wed 25 Nov 00:00 to Wed 25 Nov 23:00 Eastern Time (local time at the starting point).
depart_date and day_label are set when a day was requested. source_url then points at the website URL for that day. When the destination keeps a different clock, destination_timezone, destination_timezone_label, and destination_time_note say so, such as Indianapolis is on Eastern Time, 1 hour ahead.
When both clocks share a name, the note includes the UTC offsets, such as Vancouver is on Pacific Daylight Time (UTC-7), 1 hour ahead of the starting point (Pacific Standard Time, UTC-8).
Departure times stay in local time at the starting point. window_start and window_end are the first and last departure in local time with a UTC offset. best_departure and each of the departures have a day-qualified label (such as Today 22:00, Tomorrow 05:00, Wednesday 08:00, or Now (this hour) for the hour already underway), day (today, tomorrow, or the weekday for a later chosen day), date_label (such as Sat 14 Nov 22:00), local_time with the offset, time, duration_minutes, and duration_text. The best departure label also names the time zone, so the current hour reads Now (this hour) Eastern Time rather than a clock time that has already passed. local_time and window_start stay on the hour. excluded: true marks a night departure (11 PM to 5 AM local time): it is still in the window, its drive time is estimated from the nearest sampled hour, and it is never the best departure. Also generated_at (UTC), generatedAt, generated_text, age_seconds, ageMinutes, and freshness (such as Forecast generated 17 minutes ago (fresh)
). cached: true means the curve was stored; it is not an age. Read freshness. Also timezone, timezone_label, cached, source_name, source_url (the route page), and citation (Forecast by Rush Hour Planner — <url>
). Responses send Link, X-Source, X-Source-Url, and X-Citation.
A stored fallback adds stale: true, stale_message, and retry_after. Departures that have already passed are removed.
Freshness and limits
A cached forecast for the next 24 hours is returned when it was generated this hour and is at most 45 minutes old. A chosen day uses the same stored forecast as the website, kept for 24 hours. Otherwise the same forecast the app uses is fetched and stored. freshness says that in words, for example Forecast generated 17 minutes ago (fresh)
. A stored fallback says stale, served because live data was unavailable
.
Cached reads are limited to 60 per hour for each IP address, or for the user agent when no IP is available. That read limit returns HTTP 429 with Retry-After. Live lookups run only after a cache miss: 3 per minute per IP with no burst (one lookup, then the next 20 seconds later), about 20 live lookups per rolling hour per IP, and 100 live lookups per day across all agents. The daily cap is the BOT_FORECAST_DAILY_CAP environment variable (default 100).
If the live lookup is busy, rate-limited, refused by the traffic provider, or Redis is briefly unavailable, and a forecast from the last 48 hours is still stored, the response is HTTP 200 with stale: true, generatedAt, age_seconds, ageMinutes, freshness, and retry_after. When nothing stored can be returned, a live limit returns HTTP 429 with Retry-After. A busy lookup with nothing stored returns HTTP 503.
Server instructions
Rush Hour Planner returns a drive-time forecast for a road route in the United States, the United Kingdom, or Canada: when to leave, the best departure time, commute traffic, or drive time by hour. Origin and destination. Omit date for the next 24 hours from now, in local time at the starting point. Optional date is YYYY-MM-DD for today, tomorrow, or a chosen day up to 7 days ahead, the same days the website offers. No turn-by-turn directions, transit, or live incidents.
For a developer's own instructions file
Copy this into instructions you write yourself. The forecast does not ask an agent to save it.
For a trip-timing question, call rushhour_departure_forecast with origin and destination and cite source_url.
More
Available in Claude. Listed in the Claude Directory. No sign-in is required to use it there.
Claude Code plugin (server and the trip-timing skill): /plugin marketplace add Matthews3301/rush-hour-planner-public, then /plugin install rush-hour-planner@rush-hour-planner. Plugin, skill and server.json: rush-hour-planner-public on GitHub. Client files only, MIT.
A short site overview for models is at /llms.txt. People planning a drive should use the route planner.
We log anonymous, city-level usage of agent requests (no prompts or personal data) to improve the service. The place is a city and region, or the word unresolved. A Signature-Agent header is stored only as the hostname of an https URL. Privacy · Terms of use