An MCP server that exposes OneBusAway transit API data, including stops, routes, real-time arrivals, vehicle positions, trips, and schedules. It supports STDIO and Streamable HTTP transport.
From the registry: Real-time transit stops, routes, arrivals, vehicle positions, and schedules via OneBusAway APIs.
Please install the `onebusaway-mcp-server` MCP server into my current AI client (that's you).
Required prerequisites (do these first if not already done):
- **Install Node.js or Bun** — Install Bun v1.3.0+ or Node.js v24+ to run the server. The simplest portable path in the README uses npx, which requires Node.js. (https://bun.sh/)
- **Obtain a OneBusAway API key** — Set a OneBusAway API key. The Puget Sound instance supports the development key `TEST`; for production use or other instances, register with the relevant agency developer portal.
Canonical MCP server config (stdio transport):
- command: `npx`
- args: ["-y","@cyanheads/onebusaway-mcp-server@latest"]
- required environment variables:
- `MCP_TRANSPORT_TYPE`: Transport mode for the MCP server. Use `stdio` for stdio-based clients. (example: `stdio`)
- `ONEBUSAWAY_API_KEY`: OneBusAway API key. `TEST` works on the default Puget Sound instance for development; use your own key for production or other instances. (example: `<your-onebusaway-api-key>`)
- optional environment variables:
- `MCP_LOG_LEVEL`: Log level for server output. (example: `info`)
- `ONEBUSAWAY_BASE_URL`: Base URL for the OneBusAway instance to query. If omitted, the server defaults to the Puget Sound instance. (example: `<your-onebusaway-base-url>`)
Note: README also documents Streamable HTTP support, started locally with `MCP_TRANSPORT_TYPE=http` and `MCP_HTTP_PORT`, but it does not provide a canonical MCP client HTTP config snippet. A public hosted server is listed at `https://onebusaway.caseyjhand.com/mcp`. Additional optional env vars mentioned in the README include `MCP_HTTP_PORT`, `MCP_HTTP_ENDPOINT_PATH`, `MCP_AUTH_MODE`, `LOGS_DIR`, `STORAGE_PROVIDER_TYPE`, and `OTEL_ENABLED`.
Add this MCP server to my current client's config in the correct format for you. If you need secrets or credentials I haven't provided, ASK me — do not invent values or leave raw placeholders. After adding it, tell me how to verify the server is connected.ONEBUSAWAY_API_KEYrequiredOneBusAway API key used to authenticate requests to the transit APIMeta Ads MCP (Facebook + Instagram) - analyze performance, manage budgets, pause campaigns.