rejseplanen

Query Danish public transport departures, arrivals, and journey planning via Rejseplanen API

⭐3stars🔀1forks📁View on GitHub🕐Updated Jan 11, 2026⬇️2downloads

When & Why to Use This Skill

This Claude skill provides seamless integration with the Rejseplanen API, allowing users to query real-time Danish public transport data. It supports searching for stations, tracking live departures and arrivals for trains and buses, and planning detailed journeys across Denmark, making it an essential tool for travel automation and logistics.

Use Cases

  • Real-time Commute Monitoring: Instantly retrieve live departure and arrival times for specific Danish stations to optimize daily travel and avoid delays.
  • Advanced Journey Planning: Plan complex multi-leg trips between cities like Odense and Copenhagen with specific time constraints and transport preferences.
  • Travel Logistics Automation: Generate detailed itineraries including all intermediate stops and journey details for business or personal travel planning within Denmark.
  • Data Integration: Utilize JSON output mode to feed real-time transit data into other productivity tools or automated scheduling workflows.
namerejseplanen
descriptionQuery Danish public transport departures, arrivals, and journey planning via Rejseplanen API
metadata{"clawdbot":{"emoji":"🚂","os":["linux","darwin","win32"],"requires":{"bins":["node"]}}}

Rejseplanen - Danish Public Transport

Query real-time train and bus departures, arrivals, and plan journeys via the Rejseplanen API.

Commands

Search for stations

node {baseDir}/dist/rejseplanen.js search "København"

Departures

node {baseDir}/dist/rejseplanen.js departures Odense
node {baseDir}/dist/rejseplanen.js departures Odense --trains
node {baseDir}/dist/rejseplanen.js departures Odense --trains --to Aalborg

Arrivals

node {baseDir}/dist/rejseplanen.js arrivals Aalborg
node {baseDir}/dist/rejseplanen.js arrivals Aalborg --trains --from Odense

Trip planning

node {baseDir}/dist/rejseplanen.js trip Odense Aalborg
node {baseDir}/dist/rejseplanen.js trip Odense "Aalborg Vestby" --time 07:00

Journey details

Show all stops for a specific train:

node {baseDir}/dist/rejseplanen.js journey Odense 75

Options

  • --trains - Show only trains
  • --buses - Show only buses
  • --to <station> - Filter departures by destination
  • --from <station> - Filter arrivals by origin
  • --time HH:MM - Departures after specified time
  • --output json|text - Output format (default: text)
  • --json - Shorthand for --output json

JSON output

For programmatic parsing, use --json:

node {baseDir}/dist/rejseplanen.js departures Odense --json

Tips

  • Use search to find station IDs, then store frequently used ones for faster lookups
  • Station IDs can be used directly instead of names (e.g., 008600512 for Odense)