Parse a GTFS Schedule (static) feed to build trip-planning or timetable data

domain: gtfs.org · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Download the agency's GTFS zip file containing the required CSV text files (agency.txt, stops.txt, routes.txt, trips.txt, stop_times.txt, calendar.txt/calendar_dates.txt)
  2. Validate the feed structure against the canonical reference at gtfs.org/documentation/schedule/reference
  3. Join stop_times.txt to trips.txt and calendar.txt to resolve which trips run on a given date
  4. Use shapes.txt, if present, to render route geometry
  5. Re-download periodically since GTFS Schedule feeds are static snapshots, not real-time

Known gotchas

Related routes

Parse and validate a GTFS Schedule (static) feed
gtfs.org · 6 steps · unrated
Consume a GTFS-Realtime TripUpdates feed for predicted arrival/departure times
gtfs.org · 5 steps · unrated
Validate a static GTFS Schedule feed with MobilityData's Canonical GTFS Validator
github.com/MobilityData · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans