digitraffic-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DIGITRAFFIC_USER | No | Changes the client identifier sent in the `Digitraffic-User` header. The default is `digitraffic-mcp/<version>`, e.g. `digitraffic-mcp/0.1.0`. | digitraffic-mcp/<version> |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
Real-time Finnish rail and road traffic from Fintraffic Digitraffic (open data, CC BY 4.0). All times are Finnish local time (Europe/Helsinki). Rail: resolve stations with find_station, then use station_board, train_connections or train_status. Road: road_weather for conditions, traffic_messages for incidents/roadworks, find_weather_cameras + get_weather_camera_image to see the road. Station/message text is often in Finnish; translate for the user.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| find_stationA | Search Finnish railway stations by name or short code (e.g. 'Tampere', 'HKI', 'Pasila'). Returns short codes used by other rail tools. |
| station_boardA | Live departure or arrival board for a Finnish railway station: upcoming trains with scheduled and estimated times, delay, track and cancellations. |
| train_statusA | Current status of a train by number: delay, last reported station, next stop, GPS location and speed, delay causes, and the stop-by-stop timetable with actual/estimated times. |
| train_connectionsB | Direct trains from one Finnish station to another, with departure/arrival times, live delays, tracks and travel time. |
| road_weatherA | Live readings from Finnish road weather stations: air and road surface temperature, wind, precipitation, visibility, road condition (dry/wet/icy/snowy), friction and warnings. Find stations by coordinates, by name/road text (e.g. 'vt4 Jyväskylä', 'Espoo') or by station id. |
| traffic_messagesA | Active Finnish road traffic messages: incidents/announcements (accidents, bad driving conditions, closures), roadworks, weight restrictions, or exempted (oversize) transports. Filter by road number, area text (municipality/region), or distance from a point. |
| find_weather_camerasA | Find Finnish road weather cameras near a point or by name text. Returns camera views (preset ids), image URLs and capture times. Use get_weather_camera_image to look at a view. |
| get_weather_camera_imageA | Fetch the latest JPEG from a road weather camera view, to visually check road and weather conditions. |
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 8 tools
Each tool targets a distinct resource or action: train-specific status, station search, station boards, connections, road readings, traffic messages, camera discovery, and camera image fetching. The two camera tools are clearly split into find vs. fetch, and rail tools separate station-level, train-level, and route-level queries.
The set mixes verb_noun names like find_station and get_weather_camera_image with noun_phrase names like train_status and station_board. It remains readable, but there is no single predictable convention across all eight tools.
Eight tools is well-scoped for a Finnish transport data server spanning rail and road/weather use cases. Each tool has a clear role and no tools appear redundant or unnecessary.
The rail side covers station lookup, station boards, train status, and direct connections, while the road side covers weather readings, traffic messages, and camera discovery/image retrieval. Minor gaps exist, such as no dedicated rail disruption message feed or weather forecast capability, but core workflows are covered.