SNCF
Access SNCF passenger-information data for train journeys, stations, schedules, service status, and transport-network discovery.
Verdict
Common use cases
- Check live train departures before client meetings
- Plan multi-leg journeys across French regions
- Monitor service disruptions affecting commuter lines
- Find nearest station to a street address
- Pull delay context for customer support tickets
Integration
- Vendor
- SNCF
- Category
- developer-tools
- Auth
- API_KEY
- Tools
- 9
- Composio slug
sncf
Tools
- Find Nearby Places
Find SNCF stations, stops, or points of interest near a geographic coordinate.
- Get Service Status
Get SNCF network service disruptions and affected lines, stations, or vehicle journeys for a time window. Returns one page; pass next_cursor back to continue.
- Get SNCF Coverage
Get the SNCF transport-data coverage region and its current production horizon.
- Get Station Board
Get upcoming departures or arrivals for an SNCF station, including scheduled and realtime times and disruption context.
- Get Transport Object
Get details for one SNCF network, line, route, station, stop, mode, company, or vehicle journey by canonical ID.
- List Transport Objects
Browse one supported SNCF transport-object collection, such as lines, networks, routes, stations, or vehicle journeys.
- Plan Journey
Plan SNCF train journeys between two station/place IDs or coordinates for a requested departure or arrival time.
- Search Places
Find SNCF stations, addresses, administrative areas, or points of interest by name and return IDs usable for journeys and station boards.
- Search Transport Objects
Search SNCF networks, modes, lines, routes, stations, or stop points by name and return canonical transport-object IDs.
Setup
Setup guide
- 11. Visit data.sncf.com and create a free account to generate an API key. 2. In Switchy, open your workspace settings and navigate to the Integrations tab. 3. Click 'Add Integration', search for SNCF, and select it. 4. Paste your API key into the authentication field and click 'Connect'. 5. Switchy will validate the key against SNCF's coverage endpoint — you'll see a green checkmark when it succeeds. 6. Open any Project, type '@SNCF get station board for Paris Gare de Lyon' in the chat, and send. 7. The MCP should return upcoming departures with real-time data, confirming the connection works. 8. If you see an authentication error, double-check the key hasn't expired and that you copied it completely from the SNCF portal.
What teammates see: by default, memories from SNCF are scoped to the Project (PROJECT visibility) - you can mark any memory PRIVATE or share it ORG-wide.
Works well with
Top models
Compatibility data appears once enough Projects have used this MCP together with a given model.
How Switchy teams use it
Starter prompts
Next Trains Home
@SNCF get station board for Gare de Lyon showing the next five departures. Include real-time updates and any disruption messages.
Plan Morning Commute
@SNCF plan journey from Lyon Part-Dieu to Paris Gare de Lyon departing tomorrow at 7:00 AM. Show all available routes with transfer details.
Check Network Disruptions
@SNCF get service status for the next six hours. Summarize which lines have disruptions and what's causing them.
Find Nearby Stations
@SNCF find nearby places within 500 meters of 48.8566, 2.3522. Return station names and distances.
Route Details Lookup
@SNCF get transport object for line ID line:SNC:TER. Show the full route, stops, and operating company.
Example outputs
Illustrative - representative of the model's voice and quality, not literal recordings.
@sncf what trains leave from Gare de Lyon to Marseille Saint-Charles tomorrow morning between 8 and 10 AM?
Based on the SNCF schedule, here are three direct TGV options departing Gare de Lyon tomorrow morning: TGV 6173 at 8:01 (arrives 11:19, 3h18m), TGV 6107 at 8:41 (arrives 12:01, 3h20m), and TGV 6175 at 9:31 (arrives 12:49, 3h18m). All three are direct services with no changes required. Real-time data shows TGV 6173 is currently operating on schedule. Fares and seat availability would need to be checked separately on the SNCF booking site.
This example demonstrates journey planning between two major stations. The MCP requires valid station IDs (obtained via search) and returns schedule data only—it cannot book tickets or check seat availability. API key must have access to the SNCF coverage region (typically 'fr-idf' for Île-de-France or national coverage).
@sncf are there any service disruptions affecting RER B right now?
Current SNCF service status for RER B shows one active disruption: signal equipment failure at Gare du Nord affecting northbound service between 14:20 and 16:45 today. Trains are running with 10-15 minute delays on the northern branch (toward Aéroport Charles de Gaulle). Southbound service and the Robinson/Saint-Rémy branches are operating normally. The disruption report was last updated 8 minutes ago and includes affected vehicle journeys 847B-23 through 847B-29.
This read-heavy example shows real-time disruption monitoring for a specific line. The MCP returns structured disruption data including severity, time windows, and affected services. Useful for status dashboards, but disruption data is paginated—large incidents may require multiple calls with next_cursor to see all affected journeys.
@sncf find all stations within 2km of coordinates 48.8566, 2.3522 and summarize which lines serve each one
Found 6 SNCF stations within 2km of those coordinates (central Paris): Châtelet-Les Halles serves RER A, B, D and Métro lines 1, 4, 7, 11, 14; Gare de Lyon serves RER A, D, Métro 1, 14 and mainline TGV/Intercités; Saint-Michel Notre-Dame serves RER B, C and Métro 4; Gare du Nord serves RER B, D, E, Métro 4, 5 and mainline services; Gare de l'Est serves Métro 4, 5, 7 and mainline; Réaumur-Sébastopol serves Métro 3, 4. This cluster represents one of Europe's densest transit hubs with connections to regional, national, and international rail.
This synthesis example pairs geographic search with AI reasoning to create a human-readable summary. The MCP's Find Nearby Places tool returns raw station objects; the AI interprets line associations and connectivity. Demonstrates how to combine SNCF data with contextual analysis, though line-service details depend on the coverage region's data completeness.
Use-case deep-dives
When your team visits customer sites across French regions
A 6-person field-sales team covering Paris, Lyon, and Marseille needs to book same-day train travel between client meetings. This MCP wins when you're planning routes in Slack or a shared workspace and want realtime departure boards without opening the SNCF app. The journey planner returns station IDs and departure times your team can act on immediately. The service-status tool flags strikes or delays before anyone leaves the office. Trade-off: if your team rarely travels or books trips weeks ahead, the API key setup isn't worth it—just use the consumer site. But for teams doing 10-plus trips a month with tight windows between meetings, this MCP turns route research into a 30-second Switchy query instead of a 5-minute tab-switching exercise.
When you're triaging user complaints about French rail data
A 3-person support team at a European travel aggregator fields 20-30 tickets daily about missing SNCF connections or wrong departure times. This MCP is the right call when your agents need to verify what the SNCF API actually returned versus what your app displayed. The get-transport-object and station-board tools let you pull canonical station data and realtime schedules in the same workspace where you're reading Zendesk tickets. The coverage tool shows the production horizon so you know if a user's complaint is about stale data or a bug in your ingestion pipeline. Threshold: if you're only checking SNCF data once a week, the API key overhead isn't justified. But if you're debugging user-reported discrepancies multiple times per shift, this MCP collapses a 3-step process—find the ticket, open the SNCF docs, run a curl command—into one Switchy prompt.
When you're coordinating offsite arrivals across French cities
A 12-person remote startup is planning a quarterly offsite in Bordeaux with attendees coming from 8 different French cities. This MCP is borderline useful: it shines if one person is wrangling everyone's arrival times and needs to check 15 different station boards in a single planning session. The nearby-places and search-places tools help you find the closest station to your Airbnb, and the journey planner gives you departure options to share in a spreadsheet. Trade-off: if your team is small enough that people book their own tickets, or if you're only doing this twice a year, the MCP is overkill—just send everyone a Google Doc with station names. But if you're the logistics lead running this exercise quarterly and you want to avoid opening 10 browser tabs every time, this MCP turns a 45-minute research task into a 10-minute Switchy session.
Frequently asked
What does the SNCF MCP do in Switchy?
It connects your AI workspace to France's national rail network data. Your team can search stations, plan train journeys, check live departure boards, and monitor service disruptions without leaving Switchy. The MCP pulls real-time schedules and delay information directly from SNCF's transport API, so you're working with the same data powering their official apps.
Do I need an SNCF API key to use this MCP?
Yes. You'll need to register for an SNCF Open Data API key before connecting the MCP in Switchy. The key authenticates every request your team makes—station lookups, journey plans, disruption checks. Without it, the integration won't function. One key per workspace is sufficient; you don't need separate keys for each team member.
Can the SNCF MCP book train tickets or manage reservations?
No. This MCP only reads transport data—schedules, stations, disruptions, journey options. It can't purchase tickets, modify bookings, or access your SNCF account. If your team needs to actually book travel, you'll still use SNCF's website or app. The MCP is for planning and monitoring, not transacting.
How is this different from just using the SNCF website?
The MCP brings rail data into your AI workflow. Instead of switching tabs to check a departure board or plan a route, your team asks the AI and gets structured answers inline. It's faster for repetitive queries—checking the same station every morning, monitoring disruptions during a trip—and you can combine SNCF data with other tools in the same conversation.
Who on the team should connect the SNCF MCP?
Anyone who needs to reference French rail schedules regularly—travel coordinators, logistics planners, field teams moving between cities. The person connecting it must have the SNCF API key and workspace permissions to add integrations. Once connected, all workspace members can query train data through the AI without needing their own keys.