Real-time transit stops, routes, arrivals, vehicle positions, and schedules via OneBusAway APIs.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Query stops, routes, real-time arrivals, vehicle positions, and schedules from OneBusAway transit APIs via MCP. STDIO or Streamable HTTP.
15 tools covering the full OneBusAway transit data surface β discovery, real-time operations, schedules, alerts, and block schedules:
| Tool | Description |
|---|---|
onebusaway_list_agencies | List all transit agencies on this OneBusAway instance with IDs, contact info, and geographic coverage |
onebusaway_find_stops | Find bus stops near a lat/lon within a configurable radius, optionally filtered by stop code |
onebusaway_search_stops | Search stops by name or code string to resolve a human-readable name to a stop ID |
onebusaway_get_stop | Fetch details for a specific stop by agency-prefixed ID |
onebusaway_find_routes | Find transit routes near a lat/lon, optionally filtered by name or number |
onebusaway_search_routes | Search routes by name or number to resolve a route short name to a route ID |
onebusaway_get_route | Fetch details for a specific route by agency-prefixed ID |
onebusaway_list_routes_for_agency | List all routes operated by an agency |
onebusaway_get_arrivals | Real-time arrivals and departures at a stop β GPS-tracked predictions, schedule deviation, vehicle positions, and active alerts |
onebusaway_get_trip | Real-time status and full stop sequence for an active trip |
onebusaway_get_vehicles | Real-time positions of all active vehicles for an agency, optionally filtered to one route |
onebusaway_get_schedule_for_stop | Full-day departure schedule for a stop by route and direction |
onebusaway_get_schedule_for_route | Full-day schedule for a route β all trips and stop sequences |
onebusaway_get_alert | Fetch full service alert detail by situation ID β summary, description, reason, affected stops/routes, consequence, and active time windows |
onebusaway_get_block | Fetch the full-day block schedule for a vehicle by block ID β all trips in order with stop times, useful for fleet tracking |
onebusaway_find_stopsFind bus stops near a geographic location.
75403)limitExceeded flag signals when more stops exist beyond the returned setonebusaway_get_arrivalsonebusaway_get_arrivalsReal-time arrivals and departures at a stop.
minutesBefore, minutesAfter β defaults 5/35)predicted boolean distinguishes GPS-tracked estimates from schedule-only projectionstripId on each arrival feeds onebusaway_get_trip for vehicle trackingonebusaway_get_tripReal-time status and stop sequence for a specific trip.
in_progress, layover_before, layover_during)serviceDateMs for looking up trips from a prior service dayonebusaway_get_vehiclesReal-time positions of all active vehicles for an agency.
routeId filter (applied client-side after fetching all agency vehicles)predicted flag distinguish actively-reporting vehicles from stale entriesonebusaway_search_routesSearch for routes by name or number across the instance.
onebusaway_find_routes (lat/lon) or onebusaway_list_routes_for_agency are the alternativesonebusaway_get_schedule_for_stop and onebusaway_get_schedule_for_routeStatic schedule lookups β full-day timetables without real-time data.
onebusaway_get_schedule_for_stop: all departures grouped by route and direction, with trip IDs for follow-up callsonebusaway_get_schedule_for_route: all trips for the route with full stop sequences and GTFS stop times| Type | Name | Description |
|---|---|---|
| Resource | onebusaway://stop/{stopId} | Stop metadata β name, coordinates, served routes, and wheelchair accessibility |
| Resource | onebusaway://route/{routeId} | Route metadata β short name, description, agency, and schedule URL |
All resource data is also reachable via onebusaway_get_stop and onebusaway_get_route. Stop and route IDs use agency-prefixed format: {agencyId}_{localId} (e.g. 1_75403, 1_100259).
Built on @cyanheads/mcp-ts-core:
none, jwt, oauthin-memory, filesystem, Supabase, Cloudflare KV/R2/D1OneBusAway-specific:
onebusaway-sdk with typed error classification (NotFound, RateLimited, ServiceUnavailable)api.pugetsound.onebusaway.org) β works with ONEBUSAWAY_API_KEY=TEST for developmentONEBUSAWAY_BASE_URL for any OneBusAway-compatible instance (NYC, Washington DC, Tampa, etc.)Agent-friendly output:
predicted boolean on every arrival and vehicle distinguishes GPS-tracked data from schedule-only projections β agents branch on data, not string parsingtripId from arrivals feeds onebusaway_get_trip; stopId from searches feeds arrivals; agencyId from list feeds vehicles and route listingonebusaway_search_routes 404 β fallback to onebusaway_find_routes or onebusaway_list_routes_for_agency)Add the following to your MCP client configuration file. ONEBUSAWAY_API_KEY=TEST works on the Puget Sound instance without registration.
Or with npx (no Bun required):
Or with Docker:
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/onebusaway-mcp-server)<a href="https://allmcps.com/mcp/onebusaway-mcp-server"><img src="https://allmcps.com/api/badge/onebusaway-mcp-server?style=directory" alt="Onebusaway MCP Server on AllMCPs" /></a>