entur_journey

Pack: entur · Endpoint: https://gateway.pipeworx.io/entur/mcp

Entur journey planner — plan a public-transport trip between any two places in Norway (Oslo to Bergen train, airport connections, city tram/metro/bus routes, ferries). Returns door-to-door itineraries with legs (mode, line, operator like Vy or Flytoget, aimed and expected times), total duration, transfer count, and walking distance. Example: entur_journey({ from: “Oslo S”, to: “Bergen stasjon” })

Parameters

NameTypeRequiredDescription
fromstringyesOrigin — place/station name or NSR id, e.g. “Oslo S”
tostringyesDestination — place/station name or NSR id, e.g. “Bergen stasjon”
depart_atstringnoOptional departure time, ISO 8601 (e.g. “2026-07-20T08:00:00+02:00”). Default: now.
modesarraynoOptional: restrict transit legs to these modes, e.g. [“rail”] for train-only
itemsstringno
max_tripsnumbernoMax itineraries to return, 1-10 (default 3)

Example call

Arguments

{
  "from": "Oslo S",
  "to": "Bergen stasjon"
}

curl

curl -X POST https://gateway.pipeworx.io/entur/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"entur_journey","arguments":{"from":"Oslo S","to":"Bergen stasjon"}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('entur_journey', {
  "from": "Oslo S",
  "to": "Bergen stasjon"
});

More examples

{
  "from": "Oslo Airport",
  "to": "Trondheim S",
  "depart_at": "2026-07-20T08:00:00+02:00",
  "modes": [
    "rail",
    "bus"
  ],
  "max_trips": 5
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "entur": {
      "url": "https://gateway.pipeworx.io/entur/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build September 4, 2026