Rejseplanen
Public transport routes and departures in Denmark.
Overview
Public transport routes and departures in Denmark via Rejseplanen.
Prerequisites
- A stackgate.ai account
Getting credentials
- Open Integrations → Rejseplanen.
- Click Activate — no personal API key is required.
Optional: set default from/to stops in the setup form for faster queries.
Using with AI clients
- Dedicated endpoint:
POST /mcp/rejseplanen - Private gateway:
rejseplanen__*tools
Troubleshooting
- Stop not found — use Rejseplanen stop IDs or search by name via the list/search tools first.
- No routes — verify date/time and that stops serve the requested mode (bus, train, metro).
Available tools
-
search-locations-tool
Search for stations, stops, addresses, and points of interest by name.
-
search-nearby-stops-tool
Find stops and stations within 1000m of a coordinate.
-
get-departure-board-tool
Get upcoming departures from a stop or station.
-
get-arrival-board-tool
Get upcoming arrivals at a stop or station.
-
get-nearby-departures-tool
Get departures from all stops within a radius of a coordinate.
-
search-trips-tool
Search for trip suggestions between an origin and destination, including prices.
-
get-journey-detail-tool
Get full stop-by-stop details for a journey using its reference from a trip or board result.
-
search-train-tool
Search for train journeys by train number on a given date.
-
get-line-schedules-tool
Get all journeys and times for a specific line on a given date.
-
search-lines-tool
Search for all lines operated by a given operator.
-
search-him-messages-tool
Search for real-time disruption messages (HIM) affecting stops, lines, or dates.
-
get-tariff-for-trip-tool
Re-fetch tariff and price details for a trip using its reconstruction context from a prior trip search.
MCP endpoint:
https://stackgate.ai/mcp/rejseplanen
(HTTP) or via the private gateway.