MCPServers
SNCF Train Journey Planner - MCP server logo

SNCF Train Journey Planner

2
0

Summary

The SNCF API MCP Server provides a comprehensive interface to the French National Railway's (SNCF) API services, enabling Claude to plan train journeys, retrieve station information, check schedules, and monitor service disruptions across France. Created by Christian Delage, it combines a modular Python wrapper for the SNCF API with an intelligent station-finding system that uses both API queries and a CSV database of European train stations with coordinates. The implementation includes fallback mechanisms with hardcoded coordinates for major French cities, ensuring reliability even when API searches fail, and is particularly valuable for travel planning, transportation research, and real-time transit monitoring without leaving the conversation interface.

Available Actions(4)

plan_journey_by_city_names

Plan a journey between two cities in France. Parameters: from_city (string), to_city (string), datetime (optional string), datetime_represents (optional string, default: 'departure'), include_station_details (optional boolean)

get_station_details

Get comprehensive details about train stations in a city. Parameters: city_name (string), station_name (optional string), station_id (optional string), include_transport_types (optional boolean), include_nearby_places (optional boolean), nearby_distance (optional integer), nearby_count (optional integer)

get_station_schedule

Get departure and arrival schedules for a station. Parameters: city_name (string), station_name (optional string), station_id (optional string), count (optional integer), datetime (optional string), duration (optional integer), data_freshness (optional string)

check_disruptions

Check for current disruptions in the SNCF transport network. Parameters: coverage (optional string, default: 'sncf'), count (optional integer), station_id (optional string), line_id (optional string), since (optional string), until (optional string), fetch_train_details (optional boolean)

Last Updated: April 17, 2025

社区评论

0.0
0 条评论
5
0
4
0
3
0
2
0
1
0

暂无评论. 成为第一个评论的人!

登录以参与讨论

Coming soon to
HighlightHighlight AI

语言

TypeScript

分类

标签