{"name":"io.github.cyanheads/onebusaway-mcp-server","slug":"cyanheads-onebusaway-mcp-server","title":null,"description":"Real-time transit stops, routes, arrivals, vehicle positions, and schedules via OneBusAway APIs.","url":"https://mcp.market/server/cyanheads-onebusaway-mcp-server","rating":null,"grade":"A","score":93,"certified":false,"status":"active","category":"other","tags":[],"presence":{"score":33,"stars":1,"forks":0,"downloads_week":128,"last_push_at":"2026-09-19T19:32:11.000Z","license":"Apache-2.0"},"uptime":{"percent":100,"checks":9,"ok":9,"last_checked_at":"2026-09-21T15:30:38.915Z","last_ok_at":"2026-09-21T15:30:38.915Z","latency_ms":167},"claimed":false,"transport":"mixed","callable_via_gateway":true,"default_price_micros":0,"repository":"https://github.com/cyanheads/onebusaway-mcp-server","website":null,"version":"0.1.15","remotes":[{"type":"streamable-http","url":"https://onebusaway.caseyjhand.com/mcp"}],"packages":[{"registryType":"npm","registryBaseUrl":"https://registry.npmjs.org","identifier":"@cyanheads/onebusaway-mcp-server","version":"0.1.15","runtimeHint":"bun","transport":{"type":"stdio"},"packageArguments":[{"value":"run","type":"positional"},{"value":"start:stdio","type":"positional"}],"environmentVariables":[{"description":"OneBusAway API key. TEST works on the Puget Sound instance for development.","format":"string","default":"TEST","name":"ONEBUSAWAY_API_KEY"},{"description":"Base URL for the OneBusAway instance. Defaults to Puget Sound.","format":"string","default":"https://api.pugetsound.onebusaway.org","name":"ONEBUSAWAY_BASE_URL"},{"description":"Upstream requests the pacer allows per window.","format":"string","default":"20","name":"ONEBUSAWAY_RATE_LIMIT_REQUESTS"},{"description":"Width of the pacer's sliding rate window, in milliseconds.","format":"string","default":"60000","name":"ONEBUSAWAY_RATE_LIMIT_WINDOW_MS"},{"description":"Longest a call may wait in the pacer queue, in milliseconds. Keep it under the SDK client's 60 s request timeout.","format":"string","default":"45000","name":"ONEBUSAWAY_RATE_LIMIT_MAX_WAIT_MS"},{"description":"Sets the minimum log level for output (e.g., 'debug', 'info', 'warning').","format":"string","default":"info","name":"MCP_LOG_LEVEL"}]},{"registryType":"npm","registryBaseUrl":"https://registry.npmjs.org","identifier":"@cyanheads/onebusaway-mcp-server","version":"0.1.15","runtimeHint":"bun","transport":{"type":"streamable-http","url":"http://localhost:3010/mcp"},"packageArguments":[{"value":"run","type":"positional"},{"value":"start:http","type":"positional"}],"environmentVariables":[{"description":"OneBusAway API key. TEST works on the Puget Sound instance for development.","format":"string","default":"TEST","name":"ONEBUSAWAY_API_KEY"},{"description":"Base URL for the OneBusAway instance. Defaults to Puget Sound.","format":"string","default":"https://api.pugetsound.onebusaway.org","name":"ONEBUSAWAY_BASE_URL"},{"description":"Upstream requests the pacer allows per window.","format":"string","default":"20","name":"ONEBUSAWAY_RATE_LIMIT_REQUESTS"},{"description":"Width of the pacer's sliding rate window, in milliseconds.","format":"string","default":"60000","name":"ONEBUSAWAY_RATE_LIMIT_WINDOW_MS"},{"description":"Longest a call may wait in the pacer queue, in milliseconds. Keep it under the SDK client's 60 s request timeout.","format":"string","default":"45000","name":"ONEBUSAWAY_RATE_LIMIT_MAX_WAIT_MS"},{"description":"The hostname for the HTTP server.","format":"string","default":"127.0.0.1","name":"MCP_HTTP_HOST"},{"description":"The port to run the HTTP server on.","format":"string","default":"3010","name":"MCP_HTTP_PORT"},{"description":"The endpoint path for the MCP server.","format":"string","default":"/mcp","name":"MCP_HTTP_ENDPOINT_PATH"},{"description":"Authentication mode to use: 'none', 'jwt', or 'oauth'.","format":"string","default":"none","name":"MCP_AUTH_MODE"},{"description":"Sets the minimum log level for output (e.g., 'debug', 'info', 'warning').","format":"string","default":"info","name":"MCP_LOG_LEVEL"}]}],"tools":[{"name":"onebusaway_find_routes","description":"Find 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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude of the search center, in [-90, 90]."},"lon":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude of the search center, in [-180, 180]."},"radius":{"default":500,"description":"Search radius in meters. Must be positive; capped at 1600m. Defaults to 500m. Ignored when latSpan and lonSpan are both set.","type":"number","exclusiveMinimum":0,"maximum":1600},"latSpan":{"description":"Optional bounding-box height in degrees, as an alternative to radius. Takes effect only when lonSpan is also set, in which case radius is ignored.","type":"number","exclusiveMinimum":0},"lonSpan":{"description":"Optional bounding-box width in degrees, as an alternative to radius. Takes effect only when latSpan is also set, in which case radius is ignored.","type":"number","exclusiveMinimum":0},"query":{"description":"Filter by route name or number (e.g. \"44\" or \"Link Light Rail\").","type":"string"}},"required":["lat","lon"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_find_stops","description":"Find 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\").","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"lat":{"type":"number","minimum":-90,"maximum":90,"description":"Latitude of the search center, in [-90, 90]."},"lon":{"type":"number","minimum":-180,"maximum":180,"description":"Longitude of the search center, in [-180, 180]."},"radius":{"default":300,"description":"Search radius in meters. Must be positive; capped at 1600m, beyond which results degrade. Defaults to 300m.","type":"number","exclusiveMinimum":0,"maximum":1600},"query":{"description":"Optional stop code filter (the number printed on the stop sign, e.g. \"75403\"). When provided, returns only stops matching this code within the radius.","type":"string"}},"required":["lat","lon"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_get_alert","description":"Fetch 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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"situationId":{"type":"string","minLength":1,"description":"Situation/alert ID from onebusaway_get_arrivals (situations[].id or arrivals[].situationIds[])."}},"required":["situationId"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_get_arrivals","description":"Real-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 format: {agencyId}_{localId} (e.g. \"1_75403\").","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"stopId":{"type":"string","minLength":1,"description":"Agency-prefixed stop ID (e.g. \"1_75403\" for Metro Transit stop 75403). Use onebusaway_find_stops or onebusaway_search_stops to discover IDs."},"minutesBefore":{"default":5,"description":"Include arrivals that departed up to this many minutes ago. Defaults to 5.","type":"number"},"minutesAfter":{"default":35,"description":"Include arrivals expected within the next N minutes. Defaults to 35.","type":"number"}},"required":["stopId"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_get_block","description":"Fetch 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 in onebusaway_get_trip responses under the schedule block field; obtain a tripId from onebusaway_get_arrivals first.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"blockId":{"type":"string","minLength":1,"description":"Block ID from a trip record. Obtain a tripId from onebusaway_get_arrivals, then call onebusaway_get_trip to get the blockId."}},"required":["blockId"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_get_route","description":"Fetch 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\").","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"routeId":{"type":"string","minLength":1,"description":"Agency-prefixed route ID (e.g. \"1_100259\"). Use onebusaway_find_routes or onebusaway_search_routes to discover IDs."}},"required":["routeId"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_get_schedule_for_route","description":"Full-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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"routeId":{"type":"string","minLength":1,"description":"Agency-prefixed route ID (e.g. \"1_100259\"). Use onebusaway_find_routes or onebusaway_search_routes to discover IDs."},"date":{"description":"ISO 8601 date (e.g. \"2026-05-23\"). Defaults to today.","type":"string"}},"required":["routeId"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_get_schedule_for_stop","description":"Full-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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"stopId":{"type":"string","minLength":1,"description":"Agency-prefixed stop ID (e.g. \"1_75403\"). Use onebusaway_find_stops or onebusaway_search_stops to discover IDs."},"date":{"description":"ISO 8601 date (e.g. \"2026-05-23\"). Defaults to today in the agency's timezone.","type":"string"}},"required":["stopId"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_get_stop","description":"Fetch 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).","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"stopId":{"type":"string","minLength":1,"description":"Agency-prefixed stop ID (e.g. \"1_75403\" for Metro Transit stop 75403, \"40_100239\" for Sound Transit). Use onebusaway_find_stops or onebusaway_search_stops to discover IDs."}},"required":["stopId"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_get_trip","description":"Real-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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"tripId":{"type":"string","minLength":1,"description":"Trip ID from an arrivals response or schedule lookup."},"serviceDateMs":{"description":"Service date as Unix milliseconds (midnight local time). Only needed for trips from a previous service day. Omit to use today.","type":"number"},"includeSchedule":{"default":true,"description":"Whether to include the full stop sequence with times. Defaults to true.","type":"boolean"}},"required":["tripId"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_get_vehicles","description":"Real-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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"agencyId":{"type":"string","minLength":1,"description":"Agency ID (e.g. \"1\" for Metro Transit, \"40\" for Sound Transit). Use onebusaway_list_agencies to discover IDs."},"routeId":{"description":"Optional agency-prefixed route ID to filter results to one route. Filtering is client-side — all agency vehicles are fetched first.","type":"string"}},"required":["agencyId"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_list_agencies","description":"List 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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{},"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_list_routes_for_agency","description":"List 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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"agencyId":{"type":"string","minLength":1,"description":"Agency ID (e.g. \"1\" for Metro Transit, \"40\" for Sound Transit). Use onebusaway_list_agencies to discover IDs."}},"required":["agencyId"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_search_routes","description":"Search 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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"description":"Route name or number (e.g. \"44\", \"Link\", or \"RapidRide\")."},"maxCount":{"default":10,"description":"Maximum number of results to return. A positive integer, at most 100. Defaults to 10.","type":"integer","exclusiveMinimum":0,"maximum":100}},"required":["query"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}},{"name":"onebusaway_search_stops","description":"Search 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.","write_action":false,"price_micros":0,"input_schema":{"type":"object","properties":{"query":{"type":"string","minLength":1,"description":"Stop name fragment or stop code (e.g. \"University Way\" or \"75403\")."},"maxCount":{"default":10,"description":"Maximum number of results to return. A positive integer, at most 100. Defaults to 10.","type":"integer","exclusiveMinimum":0,"maximum":100}},"required":["query"],"$schema":"https://json-schema.org/draft/2020-12/schema","additionalProperties":false}}],"scan":{"score":93,"grade":"A","scanned_at":"2026-09-19T20:35:48.496Z","report":{"scannerVersion":"0.1.6","scannedAt":"2026-09-19T20:35:48.446Z","components":{"code":{"score":25,"max":25,"notes":["46 source files scanned","46 source files scanned"]},"reliability":{"score":20,"max":20,"notes":["remote reachable in 1254ms"]},"poisoning":{"score":15,"max":15,"notes":["15 tool descriptions checked"]},"auth":{"score":10,"max":15,"notes":["open endpoint, read-only tools"]},"maintenance":{"score":15,"max":15,"notes":["last push 0 days ago"]},"identity":{"score":8,"max":10,"notes":["registry namespace matches repository owner","GitHub account older than a year"]}},"findings":[],"inputs":{"probes":[{"url":"https://onebusaway.caseyjhand.com/mcp","reachable":true,"authRequired":false,"latencyMs":1254,"serverInfo":{"name":"onebusaway-mcp-server","version":"0.1.15"}}],"packages":[{"registryType":"npm","identifier":"@cyanheads/onebusaway-mcp-server","version":"0.1.15","found":true,"license":"Apache-2.0","hasInstallScripts":false,"dependencyCount":4,"publishedAt":"2026-09-19T19:33:18.964Z","repositoryUrl":"git+https://github.com/cyanheads/onebusaway-mcp-server.git","weeklyDownloads":64},{"registryType":"npm","identifier":"@cyanheads/onebusaway-mcp-server","version":"0.1.15","found":true,"license":"Apache-2.0","hasInstallScripts":false,"dependencyCount":4,"publishedAt":"2026-09-19T19:33:18.964Z","repositoryUrl":"git+https://github.com/cyanheads/onebusaway-mcp-server.git","weeklyDownloads":64}],"repo":{"found":true,"owner":"cyanheads","repo":"onebusaway-mcp-server","archived":false,"pushedAt":"2026-09-19T19:32:11Z","stars":1,"forks":0,"openIssues":2,"ownerType":"User","ownerAvatarUrl":"https://avatars.githubusercontent.com/u/10339515?v=4","ownerCreatedAt":"2014-12-29T13:01:12Z","license":"Apache-2.0"},"icon":{"url":"https://avatars.githubusercontent.com/u/10339515?v=4&s=128","source":"github"},"presence":{"stars":1,"forks":0,"downloadsWeek":128,"license":"Apache-2.0","lastPushAt":"2026-09-19T19:32:11.000Z","score":33}}}},"grade_history":[],"reviews":[]}