RMV MCP Server
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@RMV MCP Servershow departures from Frankfurt Hauptwache"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
RMV MCP Server
A simple MCP (Model Context Protocol) server with two functions to call RMV APIs for information about nearby stations and departure boards.
Setup
Install dependencies and create a virtual environment:
This project uses
uv, an extremely fast Python package installer and resolver which creates and manages virtual environments (likevenv). If you don't have it, see the official uv documentation to install it.uv initBy using uv, there is no need to explicetily create a venv and install requirements. All information about the uv project is in the file pyproject.toml. Consequently, there is no requirements.txt in this repo.
Configure your RMV Access ID:
Create a
.envfile in the project root.Add your RMV
ACCESS_IDto it:ACCESS_ID="your-rmv-api-access-id"You can get an
ACCESS_IDfrom the RMV open data platform.
Related MCP server: mcp-sbb-transport
Usage
Integrate the MCP server to Gemini CLI
Go and find the file .gemini/settings.json in your home directory. Add the following block:
"mcpServers": { "rmvServer": { "command": "uv", "args": [ "run", "--project", "/YOURPATH/rmv_mcp/", "/YOURPATH/rmv_mcp/rmv_server.py" ] } },
Gemini CLI
In Gemini CLI check with /mcp the new MCP server:
rmvServer - Ready (2 tools)
Tools:
- get_departureboard
- get_nearbystationsThis server cannot be deployed
Maintenance
Related MCP Connectors
Real-time transit stops, routes, arrivals, vehicle positions, and schedules via OneBusAway APIs.
Read-only public transit departures, stop search, and city coverage for bus and train users.
Geocoding, weather forecasts, and timezone lookups
Geocode, reverse geocode, and run Overpass spatial queries on OpenStreetMap data.
Related MCP Servers
- FlicenseDqualityCmaintenanceProvides access to Berlin's public transport data through the VBB API, enabling users to search stops, get departures, and plan journeys across Berlin-Brandenburg.36-
- FlicenseNot gradedqualityDmaintenanceEnables querying Swiss public transport (trains, buses, trams, boats) for stations, connections, and station boards via the opendata.ch API.-
- FlicenseNot gradedqualityDmaintenanceA simple MCP server to call RMV APIs for nearby stations and departure boards.-
- AlicenseNot gradedqualityBmaintenanceEnables real-time access to Boston MBTA transit data (subway, bus, commuter rail, etc.) via the MBTA v3 API.3 npmMIT