mcp-sncf-navitia
Allows querying French railway data via the Navitia API, including searching for stations, planning journeys, and getting departure boards.
mcp-sncf-navitia
MCP server for French railway queries via the Navitia API (SNCF coverage). Search for French stations, plan journeys, and get departure boards — powered by SNCF data.
Status: Ready
Prerequisites
Related MCP server: MCP Trenitalia
Install
git clone git@github.com:McCullonas/mcp-sncf-navitia.git
cd mcp-sncf-navitia
bun installConfiguration
Variable | Required | Description |
| Yes | Your Navitia API token |
Register for free at navitia.io. The free tier provides access to SNCF data across France.
Available Tools
sncf_search_places
Search for French railway stations and places by name.
Parameters:
query— Station or place name (e.g."Paris Gare du Nord","Lyon Part-Dieu")count(optional) — Max results (default 5)
Returns: place name, ID, type, and coordinates.
sncf_get_journeys
Get train journey options between two locations.
Parameters:
from— Origin place ID (fromsncf_search_places)to— Destination place IDdatetime(optional) — ISO 8601 departure datetime (default: now)count(optional) — Number of journey options (default 3)
Returns: routes, legs, transfers, duration, walking segments, departure/arrival times.
sncf_get_departures
Get upcoming departures from a station.
Parameters:
stopId— Stop area ID (fromsncf_search_places)datetime(optional) — ISO 8601 datetime (default: now)count(optional) — Number of departures (default 10)
Returns: line info, direction, departure time, network info.
MCP Client Configuration
Add to your settings.json:
{
"mcpServers": {
"sncf-navitia": {
"command": "bun",
"args": ["run", "/path/to/mcp-sncf-navitia/src/index.ts"],
"env": {
"NAVITIA_API_KEY": "your-key-here"
}
}
}
}Development
NAVITIA_API_KEY=your-key bun run src/index.ts
bun build src/index.ts --outdir dist --target nodeData Source
Queries the Navitia API with SNCF coverage, which includes intercity, regional (TER), and high-speed (TGV/Inoui) services across France. Navitia is operated by Kisio Digital, an SNCF subsidiary.
Licence
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that enables AI assistants to interact with the Netherlands Railways (NS) API for route planning, pricing, and real-time departure information. It provides tools for searching stations, planning trips with connections, and viewing real-time departure boards.Last updated31MIT
- Alicense-qualityDmaintenanceAn MCP server for real-time Italian railway data, enabling natural language queries about train schedules, delays, departures, arrivals, and live tracking via the Viaggiatreno API.Last updated4MIT
- Flicense-qualityDmaintenanceMCP server for real-time German public transport data (HAFAS/VBN network). Enables querying departures, arrivals, journeys, and nearby stops using natural language.Last updated
- Flicense-qualityDmaintenanceEnables querying SNCF train schedules and stations in France using the official Navitia API, with support for flexible date parsing and real-time journey planning.Last updated1
Related MCP Connectors
Geo-based flight search MCP server. Find more flights between any two places on earth
Unofficial read-only MCP server for VeryChic hotel offers
MCP server for Brazilian Federal Senate open data (legislative, administrative, e-Cidadania).
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/McCullonas/mcp-sncf-navitia'
If you have feedback or need assistance with the MCP directory API, please join our Discord server