Onebusaway MCP Server
Real-time transit stops, routes, arrivals, vehicle positions, and schedules via OneBusAway APIs.
Connect it
Settings → Connectors → Add custom connector
URL: https://onebusaway.caseyjhand.com/mcpSettings → Apps & Connectors → Advanced → Developer mode
Create connector with URL: https://onebusaway.caseyjhand.com/mcp{
"mcpServers": {
"onebusaway-mcp-server": {
"url": "https://onebusaway.caseyjhand.com/mcp"
}
}
}claude mcp add --transport http onebusaway-mcp-server https://onebusaway.caseyjhand.com/mcp{
"servers": {
"onebusaway-mcp-server": {
"type": "http",
"url": "https://onebusaway.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"onebusaway-mcp-server": {
"command": "npx",
"args": [
"-y",
"@cyanheads/onebusaway-mcp-server@0.2.1"
]
}
}
}claude mcp add onebusaway-mcp-server -- npx -y @cyanheads/onebusaway-mcp-server@0.2.116 tools, verified live
onebusaway_list_agenciesread-onlyList all transit agencies served by this OneBusAway instance. Returns agency IDs, names, contact info, timezone, and geographic coverage center. Agency IDs are needed for onebusaway_list_routes_for_agency and onebusaway_get_vehicles.
onebusaway_find_stopsread-onlyFind bus stops near a location. Returns stops within a radius, each with ID, name, direction, served routes, and wheelchair boarding status. Use stopId values from results to fetch real-time arrivals with onebusaway_get_arrivals. Optionally filter by stop code (the number printed on the stop sign, e.g. "75403").
onebusaway_find_routesread-onlyFind transit routes near a location, optionally filtered by name or number. Returns routes with IDs, short names, and descriptions. Use routeId values to fetch schedules, vehicles, or stop sequences.
onebusaway_search_stopsread-onlySearch for stops by name or code. Returns matching stops with IDs and coordinates. Use to resolve a human-readable stop name or number to a stop ID for arrivals lookups with onebusaway_get_arrivals.
onebusaway_search_routesread-onlySearch for routes by name or number. Returns matching routes with IDs. Use to resolve a route short name (e.g. "44") to a route ID for schedule or vehicle lookups with onebusaway_get_vehicles or onebusaway_get_schedule_for_route.
onebusaway_get_stopread-onlyFetch details for a specific stop by ID. Returns the stop's name, coordinates, direction, served routes, and wheelchair accessibility. Stop IDs use agency-prefixed format: {agencyId}_{localId} (e.g. "1_75403" for Metro Transit stop 75403).
onebusaway_get_routeread-onlyFetch details for a specific route by ID. Returns short name, description, agency, route type, and schedule URL. Route IDs use agency-prefixed format: {agencyId}_{localId} (e.g. "1_100259").
onebusaway_list_routes_for_agencyread-onlyList all routes operated by an agency. Returns route IDs, short names, and descriptions. Use to enumerate an agency's full service before searching for a specific route. Get agencyId values from onebusaway_list_agencies.
onebusaway_get_arrivalsread-onlyReal-time arrivals and departures at a stop. Returns predicted arrival times, schedule deviation (how many seconds late/early), vehicle positions, and any active service alerts. The predicted boolean on each arrival indicates whether GPS tracking backs the estimate â predicted=false means schedule-only. Use tripId from results for follow-up onebusaway_get_trip calls. Stop IDs use agency-prefixed
onebusaway_get_stop_contextread-onlyEverything happening at a stop in one call: the stop's details, its real-time arrivals, and full detail for every service alert on the stop or on any arrival in the window. Returns what onebusaway_get_stop, onebusaway_get_arrivals, and one onebusaway_get_alert call per alert would, from a single upstream request â arrivals in the onebusaway_get_arrivals shape, alerts in the onebusaway_get_alert
onebusaway_get_alertread-onlyFetch full detail for a service alert (situation) by ID. Returns the summary, description, reason (e.g. detour, construction), affected stops and routes, consequence description, and active time windows. Situation IDs appear in onebusaway_get_arrivals responses under situationIds and situations[].id.
onebusaway_get_tripread-onlyReal-time status and stop sequence for a trip. Returns vehicle position, schedule deviation, current phase, and remaining stops. Use tripId from onebusaway_get_arrivals to look up a specific vehicle's progress.
onebusaway_get_blockread-onlyFetch the full-day block schedule for a vehicle by block ID. A block is the ordered sequence of trips a single vehicle makes in one service day. Returns all trips in order with their stop times. Useful for 'when will this bus return?' and fleet tracking. Block IDs appear as blockId in onebusaway_get_trip responses; obtain a tripId from onebusaway_get_arrivals first.
onebusaway_get_vehiclesread-onlyReal-time positions of all active vehicles for an agency. Optionally filter to a single route (client-side). Returns GPS coordinates, heading, schedule deviation, and current trip. Useful for "where are all the buses on route X right now?" Use agencyId values from onebusaway_list_agencies.
onebusaway_get_schedule_for_stopread-onlyFull-day departure schedule for a stop. Lists every departure by route and direction for the specified date (defaults to today). Useful for planning or when real-time data isn't needed. For live predictions, use onebusaway_get_arrivals instead.
onebusaway_get_schedule_for_routeread-onlyFull-day schedule for a route â all trips, stop sequences, and departure times for the specified date (defaults to today). Returns up to all trips for the route. For live predictions, use onebusaway_get_arrivals at specific stops instead.
Alternatives in Developer Tools
Compare →
Front-End ChecklistA
Review frontend code and live pages against 386 quality-gated web development rules.
PMPostHog MCP ServerOfficialA
Official PostHog MCP Server for product analytics, feature flags, experiments, and more.
MAMakeOfficialA
Build, run and debug Make automation scenarios.
SMSentry MCPOfficialA
MCP server for Sentry - error monitoring, issue tracking, and debugging for AI assistants
Compiler ExplorerA
Compile code with thousands of compilers, inspect the assembly, and share godbolt.org links
MIMiroOfficialA
Official Miro MCP server - Supports context to code and creating diagrams, docs, and data tables.