SNCF trains
● Activeio.github.Keized/sncf-mcp
SNCF train schedules, realtime delays and disruptions (TER, TGV, Intercités).
Connect this server
One click to install, or copy the config below. Suits: Claude Desktop · Cursor.
Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):
{
"mcpServers": {
"sncf-mcp": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/keized/sncf-mcp:0.2.0"
],
"env": {
"SNCF_API_TOKEN": "<your SNCF_API_TOKEN>",
"MCP_AUTH_TOKEN": "<your MCP_AUTH_TOKEN>"
}
}
}
}claude mcp add --env SNCF_API_TOKEN='<your SNCF_API_TOKEN>' --env MCP_AUTH_TOKEN='<your MCP_AUTH_TOKEN>' --transport stdio sncf-mcp -- docker run -i --rm ghcr.io/keized/sncf-mcp:0.2.0codex mcp add sncf-mcp --env SNCF_API_TOKEN='<your SNCF_API_TOKEN>' --env MCP_AUTH_TOKEN='<your MCP_AUTH_TOKEN>' -- docker run -i --rm ghcr.io/keized/sncf-mcp:0.2.0code --add-mcp '{"name":"sncf-mcp","type":"stdio","command":"docker","args":["run","-i","--rm","ghcr.io/keized/sncf-mcp:0.2.0"],"env":{"SNCF_API_TOKEN":"<your SNCF_API_TOKEN>","MCP_AUTH_TOKEN":"<your MCP_AUTH_TOKEN>"}}'Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in.
- SNCF_API_TOKENrequiredsecretSNCF API key
- MCP_AUTH_TOKENsecretOptional bearer token required on requests
A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.
Is it safe? Is it maintained?
Serverdex check: Nov 27, 2026Looks healthy: SNCF trains is maintained, open source.
- Maintained
- Active
- Last commit 9 days ago (Nov 24, 2026), 0 open issues.
- Official registry
- Active
- Published as io.github.Keized/sncf-mcp in the official MCP registry, version 0.2.0.
- Source
- Open source, Apache-2.0
- Public repository under the Apache-2.0 licence, 0 stars, 0 forks.
- Runs
- On your machine
- A local Docker package started by your client; it can reach whatever your user account can.
- Credentials
- 2 required
- Declared environment variables: SNCF_API_TOKEN, MCP_AUTH_TOKEN. They stay on your machine; the config on this page shows where each goes.
- Owner
- Unclaimed
- Nobody has claimed this page yet; the data above comes from the registry, GitHub and the live check.
Facts only: last commit and licence from GitHub, the entry's status from the official registry, credentials from the live check. Not a code audit — run the security scan on the endpoint yourself.
Report Card
How the grade works →Grade A · Production-ready
Maintenance & production-readiness — 80/100 from the six repository signals below. A comparable rollup, not a code audit.
- Recent commits+30/30
Last commit 9 days ago.
- Open licence+15/15
Apache-2.0 on GitHub.
- Documentation+15/15
The repository ships a README.
- Adoption0/20
0 GitHub stars.
- Registry status+12/12
Active in the official MCP registry.
- Product surface+8/8
Has a homepage or a published package/endpoint.
Own this server? Add the grade badge — it links back here
<a href="https://serverdex.io/server/io-github-keized-sncf-mcp?utm_source=report-badge"><img src="https://serverdex.io/server/io-github-keized-sncf-mcp/report-badge.svg" alt="SNCF trains — Serverdex Report Card A" height="22"></a>Compare every server's grade on best-maintained MCP servers.
On GitHub
read Nov 25, 2026Pythonchatgptclaudecursorfrancegtfs-rtmcpmcp-servermodel-context-protocolsncftertrain
From the README
SNCF MCP Serveur MCP pour les horaires, retards en temps réel et perturbations des trains SNCF (TER, TGV, Intercités), utilisable depuis Claude, ChatGPT, Cursor et tout client MCP. MCP server for SNCF train schedules, delays and disruptions, built on the SNCF API. Read-only, compact answers, times in Europe/Paris. Remote MCP over streamable HTTP at /mcp. Tools Realtime Delays, cancellations, skipped stops and disruptions come from the SNCF GTFS-RT feeds (trip updates and service alerts) of the dataset Réseau SNCF TGV, Intercités et TER, published on transport.data.gouv.fr under the Licence Ouverte. Feeds need no token and are cached for 30 s. A train absent from the feed runs as planned; if the feed is down, tools return planned times with realtime_unavailable. Configuration API token 1. Request a free token on the SNCF developer page. It arrives by email. 2. Copy .env.example to .env at the repo root and set SNCFAPITOKEN= . .env is ignored by git and never baked into the image: Docker Compose reads it from the repo root at startup, and the local run loads it into the shell. On a server, the .env sits next to compose.yaml. Run locally Serves http://127.0.0.1:8830/mcp.…
Read the full README on GitHub →Alternatives to SNCF trains
All SNCF trains alternatives →Best Maps, Travel & Weather servers →Compare side by side →The most-starred Maps, Travel & Weather servers in the index, with their live-check result.
| Server | Stars | Last push | Live check |
|---|---|---|---|
| LetsFG — Flights & Hotels | 2,306 | Nov 2026 | Needs sign-in |
| Hex Research | 598 | Nov 2026 | Local / not checked |
| Google Maps MCP Server | 504 | Oct 2026 | Local / not checked |
| UI Craft | 476 | Nov 2026 | Local / not checked |
| mapbox MCP Server | 372 | Nov 2026 | Needs sign-in |
SNCF trains: questions people ask
- Is SNCF trains a remote or a local MCP server?
- According to its entry in the official MCP registry, SNCF trains ships as a local package (Docker) that your client starts on your machine.
- Does SNCF trains need an API key?
- Its registry entry declares 2 required environment variables: SNCF_API_TOKEN, MCP_AUTH_TOKEN. The config on this page shows where each goes.
- Is SNCF trains safe to use?
- Looks healthy: SNCF trains is maintained, open source. In detail — maintained: Active; official registry: Active; source: Open source, Apache-2.0; runs: On your machine; credentials: 2 required. Serverdex check of Nov 27, 2026. This is a reading of the repository, the registry entry and the live check, not a code audit; run the Serverdex security scan on the endpoint before trusting it with real data.
- Is SNCF trains still maintained?
- Active: the repository's last commit 9 days ago. Last push Nov 24, 2026, 0 GitHub stars, Apache-2.0 licence. Read from GitHub on Nov 25, 2026.
- How do I add SNCF trains to Claude, Cursor or VS Code?
- Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
More Maps, Travel & Weather servers
Browse all Maps, Travel & Weather →Lazycow Studio
Production-ready
Drive Lazycow Studio by kensaurus: make reels and trip films from your footage, plan and post them.
roadstyle
Production-ready
Styled, interactive road maps of any place (OpenStreetMap) or road file, with PNG previews.
Spend Brake
Production-ready
Capped search, maps and other paid APIs over MCP, with hard dollar limits per key.
Kuongeo
Well-maintained
Japan: next bus/tram/boat from 26 places, RTK bases, JMA warnings, municipality facts. No key.
Fetchmux
Well-maintained
Self-hosted retrieval router for AI agents: budgets, provider routing, route receipts.
Ktemia
Production-ready
Search and compare flights, hotels and rental cars, with each seller's price and booking link.
Add the badge to your site
Show visitors that SNCF trains is listed here — it’s also the link we check for a free listing.
HTML — for your website
<a href="https://serverdex.io/server/io-github-keized-sncf-mcp?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="SNCF trains — listed on Serverdex" width="123" height="40" loading="lazy"></a>Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.
Markdown — for your README
[](https://serverdex.io/server/io-github-keized-sncf-mcp?utm_source=badge)Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.
Install buttons — for your README
[](https://serverdex.io/install/cursor/io-github-keized-sncf-mcp) [](https://serverdex.io/install/vscode/io-github-keized-sncf-mcp) [](https://serverdex.io/install/claude-code/io-github-keized-sncf-mcp)One click opens Cursor or VS Code with this server's config prefilled; the Claude Code button lands on the one-line command. The links point at Serverdex, so when your config changes the buttons keep working.
Install buttons — HTML for your docs
<a href="https://serverdex.io/install/cursor/io-github-keized-sncf-mcp"><img src="https://serverdex.io/brand/install-cursor.svg" alt="Add to Cursor — via Serverdex" width="140" height="28"></a>
<a href="https://serverdex.io/install/vscode/io-github-keized-sncf-mcp"><img src="https://serverdex.io/brand/install-vscode.svg" alt="Add to VS Code — via Serverdex" width="147" height="28"></a>
<a href="https://serverdex.io/install/claude-code/io-github-keized-sncf-mcp"><img src="https://serverdex.io/brand/install-claude-code.svg" alt="Open in Claude Code — via Serverdex" width="180" height="28"></a>Same buttons as plain links for a docs page or website.
Prefer a live badge with the score, stars and live check? Score badge (links to a page that explains the number and back to this listing).