GTFS Realtime MCP Server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| gtfs_tu_url | Yes | The URL of the GTFS Realtime trip updates feed. | |
| gtfs_vp_url | Yes | The URL of the GTFS Realtime vehicle positions feed. | |
| gtfs_api_key | Yes | Your GTFS provider API key. | |
| gtfs_api_url | Yes | The base GTFS API URL for your transit provider. | |
| gtfs_alerts_url | Yes | The URL of the GTFS Realtime alerts feed. | |
| gtfs_static_url | Yes | The URL of the GTFS static zip feed. |
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": true
} |
| prompts | {
"listChanged": false
} |
| resources | {
"subscribe": false,
"listChanged": false
} |
| extensions | {
"io.modelcontextprotocol/ui": {}
} |
| experimental | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_stations_by_lineA | List all station names for a given rail line (e.g. 'Red', 'Blue', 'Silver', 'Green', 'Yellow', 'Orange'). |
| get_next_trainB | Find out when the next train bound for a destination will arrive at the origin station. You can provide either station names OR gps coordinates (lat/lon) for origin and destination. |
| plan_tripA | Plan a transit trip in the future using the scheduled GTFS timetable.
|
| check_service_alertsB | Check if a service alert could affect the journey. You can specify a rail line name (e.g. 'Red') or a station name. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
The four tools have mostly distinct purposes: station listing, real-time next-train lookup, future trip planning, and service-alert checking. get_next_train and plan_trip could be confused at first, but the descriptions clearly separate real-time versus scheduled future planning.
All tool names use consistent snake_case verb_noun-style naming: list_stations_by_line, get_next_train, plan_trip, and check_service_alerts. The pattern is predictable and readable throughout.
Four tools is a focused, reasonable set for a GTFS realtime transit server. It is slightly thin but not inappropriate, since each tool maps to a clear rider-facing capability.
The surface covers core transit workflows: discovering stations by line, checking next trains, planning future trips, and checking service alerts. Minor gaps remain, such as station search/autocomplete or richer alert details, but agents can work around them.