MBTA MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MBTA_API_KEY | No | Your MBTA API key for higher rate limits and full access. Get one at https://api-v3.mbta.com |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": false
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mbta_get_routesC | Get MBTA routes. Optionally filter by route ID or type. |
| mbta_get_stopsC | Get MBTA stops. Filter by stop ID, route, or location. |
| mbta_get_predictionsC | Get real-time predictions for MBTA services. |
| mbta_get_schedulesC | Get scheduled MBTA service times. |
| mbta_get_tripsC | Get MBTA trip information. |
| mbta_get_alertsC | Get MBTA service alerts and disruptions. |
| mbta_get_vehiclesB | Get real-time MBTA vehicle positions. |
| mbta_get_servicesC | Get MBTA service definitions and calendars. |
| mbta_get_shapesC | Get route shape/path information for mapping. |
| mbta_get_facilitiesB | Get facility information (elevators, escalators, parking). |
| mbta_get_live_facilitiesC | Get real-time facility status and outages. |
| mbta_search_stopsC | Search for stops by name or near a location. |
| mbta_get_nearby_stopsC | Get stops near a specific location. |
| mbta_get_predictions_for_stopC | Get all predictions for a specific stop. |
| mbta_get_vehicle_positionsB | Get real-time vehicle positions from external API. Returns GeoJSON data with vehicle locations, routes, status, and other real-time information. |
| mbta_get_external_alertsA | Get general alerts from external API. Returns real-time service alerts, delays, disruptions, and other service information. |
| mbta_get_track_predictionC | Get track prediction for a specific trip using IMT API. Predicts which track a train will use at a station. |
| mbta_get_chained_track_predictionsA | Get multiple track predictions in a single request using IMT API. Useful for batch predictions of multiple trips. |
| mbta_get_prediction_statsC | Get prediction statistics and accuracy metrics for a station and route. |
| mbta_get_historical_assignmentsC | Get historical track assignments for analysis using IMT API. Shows actual track assignments from past trips. |
| mbta_get_amtrak_trainsA | Get all tracked Amtrak trains from the Boston Amtrak Tracker API. Returns real-time train locations, routes, status, and other information. |
| mbta_get_amtrak_trains_geojsonA | Get Amtrak trains as GeoJSON for mapping applications. Returns train data formatted as GeoJSON suitable for mapping. |
| mbta_get_amtrak_health_statusA | Get health status of the Boston Amtrak Tracker API. Returns server health status and last data update time. |
| mbta_list_all_alertsB | List all MBTA alerts with optional fuzzy filtering. Returns all alerts without specific filters, with client-side fuzzy search. |
| mbta_list_all_facilitiesB | List all MBTA facilities with optional fuzzy filtering. Returns all facilities without specific filters, with client-side fuzzy search. |
| mbta_list_all_linesA | List all MBTA lines with optional fuzzy filtering. Returns all lines without specific filters, with client-side fuzzy search. |
| mbta_list_all_routesA | List all MBTA routes with optional fuzzy filtering. Returns all routes without specific filters, with client-side fuzzy search. |
| mbta_list_all_servicesB | List all MBTA services with optional fuzzy filtering. Returns all services without specific filters, with client-side fuzzy search. |
| mbta_list_all_stopsC | List all MBTA stops with optional fuzzy filtering. Returns all stops without specific filters, with client-side fuzzy search. |
| mbta_get_schedules_by_timeB | Get MBTA schedules filtered by specific times and dates. Use this to find transit schedules for particular time windows, dates, or specific trips. |
| mbta_plan_tripA | Plan a trip between two locations using MBTA public transit. Returns optimal route options with transfers, walking times, and real-time data. |
| mbta_get_route_alternativesB | Get alternative route options by excluding certain modes of transport. Useful for finding backup routes when primary transit modes are disrupted. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/cubismod/mbta-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server