onebusaway-mcp-server
io.github.cyanheads/onebusaway-mcp-server
MCP server OK 16 tools
Real-time transit stops, routes, arrivals, vehicle positions, and schedules via OneBusAway APIs.
Technical sheet
- Author
- cyanheads (registry namespace)
- Repository
- github.com/cyanheads/onebusaway-mcp-server
- Site
- —
- Version
- 0.4.0
- Transport
- Streamable HTTP stdio
- Authentication
- None (observed by our test)
- Server address
- https://onebusaway.caseyjhand.com/mcp Streamable HTTP
- Packages
- @cyanheads/onebusaway-mcp-server 0.4.0 npm stdio
@cyanheads/onebusaway-mcp-server 0.4.0 npm Streamable HTTP - Tools
- 16
- Categories
- Maps, places and weather
- Last updated
- 13 Nov 2026
- Published
- 13 Nov 2026
Verified author and popularity
Entry not claimed yet. Is it your project? Claim it
Not “Popular” for now Removed automatically as soon as the criteria are no longer met.
- Distinct visitors of this entry over 30 days: 0 (30 needed) not yet
- or install configs copied over 30 days: 0 (5 needed) not yet
- and a successful test less than 14 days old: tested 28 Nov 2026 met
Badge updates by itself. Always “tested on …”, never “certified”. How it works
[](https://latlas.dev/en/mcp/io.github.cyanheads/onebusaway-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/onebusaway-mcp-server"><img src="https://latlas.dev/badge/statut/mcp/io.github.cyanheads/onebusaway-mcp-server.svg?lang=en" alt="Status on L’Atlas" height="20"></a>Badge for your README
Free, for every entry. It links back to this entry and shows “tested OK” as long as our latest test succeeded.
[](https://latlas.dev/en/mcp/io.github.cyanheads/onebusaway-mcp-server)<a href="https://latlas.dev/en/mcp/io.github.cyanheads/onebusaway-mcp-server"><img src="https://latlas.dev/badge/fiche/io.github.cyanheads/onebusaway-mcp-server.svg?lang=en" alt="Listed on L’Atlas" height="20"></a>Our tests
Every week: initialize then tools/list, without credentials, never calling a tool. Method
- Address
- https://onebusaway.caseyjhand.com/mcp
- Last result
- OK 28 Nov 2026, 10:23
- Response time
- 1,271 ms (initialize + tools/list)
- Protocol version
- 2025-11-25
- Announced name
- onebusaway-mcp-server 0.4.0
- Tools
- 16
History
| Date | Result | Response | Tools |
|---|---|---|---|
| 28 Nov 2026, 10:23 | OK | 1,271 ms | 16 |
Exposed tools (16, from tools/list, 28 Nov 2026)
onebusaway_list_agencies
List Transit Agencies
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.
No parameters.
onebusaway_find_stops
Find Stops Near Location
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").
| Parameter | Type | Required | Description |
|---|---|---|---|
| lat | number | yes | Latitude of the search center, in [-90, 90]. |
| lon | number | yes | Longitude of the search center, in [-180, 180]. |
| radius | number | no | Search radius in meters. Must be positive. Defaults to 300m, applied cap 1600m. |
| query | string | no | 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. |
onebusaway_find_routes
Find Routes Near Location
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| lat | number | yes | Latitude of the search center, in [-90, 90]. |
| lon | number | yes | Longitude of the search center, in [-180, 180]. |
| radius | number | no | Search radius in meters. Must be positive. Defaults to 500m, applied cap 1600m. Ignored when latSpan and lonSpan are both set. |
| latSpan | number | no | 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. |
| lonSpan | number | no | 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. |
| query | string | no | Filter by route name or number (e.g. "44" or "Link Light Rail"). |
onebusaway_search_stops
Search Stops by Name
Search for stops by name on instances that support name search. Returns matching stops with IDs and coordinates. For a stop code, use onebusaway_find_stops with nearby coordinates and the code as query.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Stop name fragment (e.g. "University Way"). |
| maxCount | integer | no | Maximum number of stops to return. Positive integer, default 10, applied cap 3500. |
onebusaway_search_routes
Search Routes by Name or Number
Search for routes by name or number on instances that support name search. Returns matching routes with IDs. For route discovery use onebusaway_find_routes near the service area or onebusaway_list_routes_for_agency with a known agency ID.
| Parameter | Type | Required | Description |
|---|---|---|---|
| query | string | yes | Route name or number (e.g. "44", "Link", or "RapidRide"). |
| maxCount | integer | no | Maximum number of routes to return. Positive integer, default 10, applied cap 6000. |
onebusaway_get_stop
Get Stop Details
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).
| Parameter | Type | Required | Description |
|---|---|---|---|
| stopId | string | yes | 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. |
onebusaway_get_route
Get Route Details
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").
| Parameter | Type | Required | Description |
|---|---|---|---|
| routeId | string | yes | Raw agency-prefixed route ID (e.g. "1_100259"). Use onebusaway_find_routes or onebusaway_list_routes_for_agency to discover IDs. |
onebusaway_list_routes_for_agency
List Routes for Agency
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| agencyId | string | yes | Agency ID (e.g. "1" for Metro Transit, "40" for Sound Transit). Use onebusaway_list_agencies to discover IDs. |
onebusaway_get_arrivals
Get Real-Time Arrivals
Real-time arrivals and departures at a stop. Returns predicted arrival times, current vehicle schedule deviation, vehicle positions, and 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").
| Parameter | Type | Required | Description |
|---|---|---|---|
| stopId | string | yes | 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 | integer | no | Include arrivals that departed up to this many minutes ago. Nonnegative integer, default 5, applied cap 60. |
| minutesAfter | integer | no | Include arrivals expected within the next N minutes. Nonnegative integer, default 35, applied cap 240. For a longer horizon, use onebusaway_get_schedule_for_stop. |
onebusaway_get_stop_context
Get Stop Context
Get stop details, real-time arrivals, and available details for alerts on the stop or its arrivals from one upstream response. Use onebusaway_get_stop for served-route IDs and available route summaries. Pass a raw agency-prefixed stop ID (e.g. "1_75403").
| Parameter | Type | Required | Description |
|---|---|---|---|
| stopId | string | yes | 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 | integer | no | Include arrivals that departed up to this many minutes ago. Nonnegative integer, default 5, applied cap 60. |
| minutesAfter | integer | no | Include arrivals expected within the next N minutes. Nonnegative integer, default 35, applied cap 240. For a longer horizon, use onebusaway_get_schedule_for_stop. |
onebusaway_get_alert
Get Service Alert Detail
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.
| Parameter | Type | Required | Description |
|---|---|---|---|
| situationId | string | yes | Situation/alert ID from onebusaway_get_arrivals (situations[].id or arrivals[].situationIds[]). |
onebusaway_get_trip
Get Trip Status
Get the requested trip’s stop sequence and the vehicle status reported for its block. The status may describe a different active trip in the same block. Use the raw tripId from onebusaway_get_arrivals or a schedule lookup.
| Parameter | Type | Required | Description |
|---|---|---|---|
| tripId | string | yes | Raw trip ID from an arrivals response or schedule lookup. |
| serviceDateMs | integer | no | Service date as Unix milliseconds (midnight local time) — a non-negative integer. Only needed for trips from a previous service day. Omit to use today. |
| includeSchedule | boolean | no | Whether to include the full stop sequence with times. Defaults to true. |
onebusaway_get_block
Get Block Schedule
Fetch block trip sequences with their stop times and service-calendar conditions. Top-level fields describe the first returned configuration; every remaining alternative is included without choosing a calendar date. Optionally select an exact tripId or complete trips having any departure in a half-open GTFS-seconds interval, independently in every configuration; selection counts trip occurrences before and after filtering. Without selectors, returns all trips with no default cap. Block IDs appear as blockId in onebusaway_get_trip responses; obtain a tripId from onebusaway_get_arrivals first.
| Parameter | Type | Required | Description |
|---|---|---|---|
| tripId | string | no | Exact trip ID; omit or leave blank for no trip selector. Mutually exclusive with departure bounds. |
| departureFromSec | integer | no | Inclusive departure lower bound in GTFS seconds from midnight; values beyond 86400 are valid. |
| departureBeforeSec | integer | no | Exclusive departure upper bound in GTFS seconds from midnight; must exceed departureFromSec when both are supplied. |
| blockId | string | yes | Block ID from a trip record. Obtain a tripId from onebusaway_get_arrivals, then call onebusaway_get_trip to get the blockId. |
onebusaway_get_vehicles
Get Real-Time Vehicle Positions
Real-time positions of active vehicles for an agency. Optionally filter to a single route (client-side). Returns GPS coordinates, counter-clockwise orientation from east, schedule deviation, and current trip. Reports agency records omitted for missing position coordinates. Use agencyId values from onebusaway_list_agencies.
| Parameter | Type | Required | Description |
|---|---|---|---|
| agencyId | string | yes | Raw agency ID for the vehicle records to query. Use the agency namespace from a known vehicle ID, or browse IDs with onebusaway_list_agencies. The vehicle agency can differ from the route agency. |
| routeId | string | no | Optional agency-prefixed route ID to filter results to one route. Filtering is client-side — all agency vehicles are fetched first. |
onebusaway_get_schedule_for_stop
Get Stop Schedule
Full-day departure schedule for a stop. Lists every departure by route and direction for the specified date (defaults to today). Optionally filter departure rows by routeId and a half-open Unix-millisecond interval; selection includes counts before and after filtering. Without selectors, returns the complete mapped schedule with no default cap. For live predictions, use onebusaway_get_arrivals instead.
| Parameter | Type | Required | Description |
|---|---|---|---|
| routeId | string | no | Exact route ID, combined with departure bounds; omit or leave blank for all routes. |
| departureFromMs | integer | no | Inclusive departure lower bound in Unix milliseconds. |
| departureBeforeMs | integer | no | Exclusive departure upper bound in Unix milliseconds; must exceed departureFromMs when both are supplied. |
| stopId | string | yes | Agency-prefixed stop ID (e.g. "1_75403"). Use onebusaway_find_stops or onebusaway_search_stops to discover IDs. |
| date | string | string | no | Service date as YYYY-MM-DD (e.g. "2026-05-23"). Must be a real calendar date. Omit or leave blank for today in the agency's timezone. |
onebusaway_get_schedule_for_route
Get Route Schedule
Full-day schedule for a route — all trips, stop sequences, and departure times for the specified date (defaults to today). Optionally select an exact tripId or complete trips having any departure in a half-open GTFS-seconds interval; selection includes counts before and after filtering. Without selectors, returns all mapped trips with no default cap. For live predictions, use onebusaway_get_arrivals at specific stops instead.
| Parameter | Type | Required | Description |
|---|---|---|---|
| tripId | string | no | Exact trip ID; omit or leave blank for no trip selector. Mutually exclusive with departure bounds. |
| departureFromSec | integer | no | Inclusive departure lower bound in GTFS seconds from midnight; values beyond 86400 are valid. |
| departureBeforeSec | integer | no | Exclusive departure upper bound in GTFS seconds from midnight; must exceed departureFromSec when both are supplied. |
| routeId | string | yes | Raw agency-prefixed route ID (e.g. "1_100259"). Use onebusaway_find_routes or onebusaway_list_routes_for_agency to discover IDs. |
| date | string | string | no | Service date as YYYY-MM-DD (e.g. "2026-05-23"). Must be a real calendar date. Omit or leave blank for today. |
Client compatibility
Based on the transports each client documents as supported; this is not a live test inside the client.
| Client | Documented transports | This server | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepted | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepted | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepted | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepted | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepted | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepted | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepted | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepted | doc |
Ready-to-copy configs
Remote address used: https://onebusaway.caseyjhand.com/mcp. Formats taken from each client’s documentation.
claude mcp add --transport http onebusaway-mcp-server https://onebusaway.caseyjhand.com/mcpCustomize > Connectors > + Add > Add custom connector ; Name : onebusaway-mcp-server ; URL : https://onebusaway.caseyjhand.com/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : onebusaway-mcp-server ; Server URL : https://onebusaway.caseyjhand.com/mcp ; Create as a plugin{
"mcpServers": {
"onebusaway-mcp-server": {
"url": "https://onebusaway.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"onebusaway-mcp-server": {
"type": "http",
"url": "https://onebusaway.caseyjhand.com/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"onebusaway-mcp-server": {
"url": "https://onebusaway.caseyjhand.com/mcp"
}
}
}{
"mcpServers": {
"onebusaway-mcp-server": {
"httpUrl": "https://onebusaway.caseyjhand.com/mcp"
}
}
}[mcp_servers.onebusaway-mcp-server]
url = "https://onebusaway.caseyjhand.com/mcp"Cite this source
Writing an article or comparison? This entry distinguishes registry information from our measurements. Cite the permanent link and the test date; an OK result is not a security audit or an availability guarantee.
onebusaway-mcp-server · L’Atlas · Tested on
[onebusaway-mcp-server — L’Atlas](https://latlas.dev/en/mcp/io.github.cyanheads/onebusaway-mcp-server)Source : Registre officiel MCP · retrieved 2 Dec 2026. L’Atlas adds no data beyond this source and its own tests.