MBTA Service Alerts
mbta.transit.alertsGet active Boston MBTA service disruption alerts — delays, cancellations, detours, shuttle buses, station closures, and elevator/escalator outages. Returns alert header, effect type, cause, severity (0–10), lifecycle status, affected routes and stops, and active time period. Filter by route ID (e.g. "Red"), stop ID, minimum severity, lifecycle (ONGOING/UPCOMING/NEW), or effect type (DELAY/CANCELLATION/SHUTTLE/DETOUR/SUSPENSION). Severity 7+ = moderate disruption; 9–10 = major service change. MassDOT Open Data License, real-time data, no upstream cost.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stop | No | Filter alerts by stop ID (e.g. "place-sstat" for South Station). Use mbta-transit.stops to get IDs. | |
| limit | No | Maximum number of alerts to return (default 20, max 50) | |
| route | No | Filter alerts by route ID (e.g. "Red", "Green-B", "1", "CR-Providence"). Use mbta-transit.routes to get IDs. | |
| effect | No | Filter by disruption effect type: "DELAY", "CANCELLATION", "SUSPENSION", "SHUTTLE", "DETOUR", "STATION_CLOSURE", etc. | |
| severity | No | Minimum severity level 0–10: 0–3=informational, 4–6=minor disruption, 7–8=moderate, 9–10=major/shutdown. Omit for all. | |
| lifecycle | No | Filter by alert lifecycle: "ONGOING" (active now), "UPCOMING" (future planned), "NEW" (just created) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present only when the call failed. Includes error code, message, request_id, and any provider-specific extras. | |
| result | No | Tool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response. |