How to Use the Navitia MCP in Cursor
Inject live European transit schedules and routing data directly into your codebase using Cursor.
Works with every AI agent you already use
…and any MCP-compatible client
Connect Navitia MCP to Cursor
Create your Vinkius account to connect Navitia to Cursor and route execution through our secure gateway. The platform manages server hosting, runtime updates, and security layers. Configuration requires no manual server provisioning.
Build transit apps with Cursor Agent
`plan_journey` generates multimodal routing data that Cursor injects straight into your test suites. You ask the agent to write a function for finding trips between Paris and Lyon, and it actually runs the route to mock the response structure. Building transit interfaces requires massive JSON payloads. This tool pulls the real nested objects — legs, transfers, and mode types — so you code against actual API shapes. To feed those routes, `search_places` resolves plain text addresses into Navitia stop IDs. The agent uses this to populate your local database seed files with accurate station coordinates. You stop hardcoding fake metro stops and start working with verified geographic data straight from the MCP.
Live transit schedule MCP Server
`get_arrivals` and `get_departures` fetch actual train and bus times for your frontend components. When you tell Cursor to build a departure board, the agent queries the live network to populate your UI with real delays and platform numbers. Writing UI components is much faster when your editor has access to the exact data structures the production app will consume. For deeper timetable logic, `get_stop_schedule` pulls the full operating pattern for a station. You get the headway signatures and holiday schedules required to test complex date-parsing functions. The MCP Server handles the raw transit logic while you focus on the application state.
Map disruptions and reachable zones
`get_disruptions` pulls active service alerts right into your editor. You tell Cursor to write an error-handling boundary for transit strikes, and it triggers the tool to see what a real blocking severity payload looks like. Handling edge cases is trivial when you can surface actual network failures during development. Mapping features rely heavily on `get_isochrone` for spatial analysis. The agent grabs the GeoJSON polygons representing a 45-minute transit commute and drops them into your mapping component. You get immediate visual feedback on reachable areas without ever leaving your IDE.
Set up Navitia MCP in Cursor
Prerequisites
- Cursor installed (macOS, Windows, or Linux)
- Active Vinkius subscription with a valid endpoint token
- 1
Open MCP Settings
Go to Cursor Settings → MCP or open the Command Palette (
Cmd+Shift+P/Ctrl+Shift+P) and search for "MCP: Add Server". - 2
Add the Navitia MCP
Cursor will create or open
.cursor/mcp.jsonin your project root. Paste the JSON snippet on the right. Replace[YOUR_TOKEN_HERE]with your endpoint token from cloud.vinkius.com. - 3
Enable Agent mode
Open Composer (
Cmd+I/Ctrl+I) and switch to Agent mode using the dropdown at the top. MCP tools are only available in Agent mode. - 4
Verify the connection
Ask Cursor something like "List my recent Navitia transactions." If the MCP tools are loaded correctly, Cursor will call the Navitia tools automatically. You can also check Settings → MCP for a green status indicator.
{
"mcpServers": {
"navitia-mcp": {
"url": "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp"
}
}
} Independent Platform Disclaimer: Vinkius is an independent platform and is not affiliated with, endorsed by, sponsored by, verified by, or otherwise authorized by Navitia. All third-party trademarks, logos, and brand names are the property of their respective owners. Their use on this website is strictly for informational purposes to identify service compatibility and interoperability.
Why Choose Vinkius
Vinkius connects your tools to AI with real-time monitoring and automatic cost savings — all from one dashboard.
Real-time monitoring
Live
visibility into every interaction
Connect your favorite tools to your AI and see exactly what's happening — every request, every response, in real time.
Built-in savings
60%
lower AI costs
Vinkius compresses data between your apps and your AI automatically. Lower bills every month — no configuration required.
Single dashboard
One
place for every integration
Every tool your AI connects to, managed from a single screen. One account, complete control.
Common questions about Navitia MCP in Cursor
Use it with your favorite AI tools
Connect this server to Cursor, Claude, VS Code, and more.
Start using the Navitia MCP today
We host it, we monitor it, we maintain it. You just paste one token.