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.
No reviews yet. Be the first to review!
Sign in to join the conversation
Plan a journey between two cities in France. Parameters: from_city (string), to_city (string), datetime (optional string), datetime_represents (string, default: 'departure'), include_station_details (boolean)
Get comprehensive details about train stations in a city. Parameters: city_name (string), station_name (optional string), station_id (optional string), include_transport_types (boolean), include_nearby_places (boolean), nearby_distance (integer), nearby_count (integer)
Get departure and arrival schedules for a station. Parameters: city_name (string), station_name (optional string), station_id (optional string), count (integer), datetime (optional string), duration (optional integer), data_freshness (string)
Check for current disruptions in the SNCF transport network. Parameters: coverage (string, default: 'sncf'), count (integer), station_id (optional string), line_id (optional string), since (string), until (string), fetch_train_details (boolean)