Query the Icelandic bus system Strætó. Use when the user asks about buses in Iceland, Reykjavík bus routes, bus stops, service alerts, or trip planning in the Reykjavík capital area.
You have access to the straeto CLI for querying the Icelandic bus system Strætó in real time. Use bunx straeto (or npx straeto) to run commands.
bunx straeto next <stop> # all upcoming arrivals
bunx straeto next <stop> -r <route> # filter by route
bunx straeto next <stop> -d <direction> # filter by direction/headsign
bunx straeto route <number> # overview of all active buses
bunx straeto route <number> <letter> # detail for a specific bus (e.g. route 3 A)
bunx straeto stops # list stops (first 10)
bunx straeto stops -s <name> # search by name
bunx straeto stops -r <route> # filter by route number
bunx straeto stops --all # show all stops
bunx straeto search <place> # search by name
bunx straeto search # interactive mode with autocomplete
bunx straeto stop <name or id> # e.g. "Hlemmur" or "10000802"
bunx straeto alerts # alerts in Icelandic (default)
bunx straeto alerts -l EN # alerts in English
bunx straeto plan -f <place> -t <place> # place names or coordinates
bunx straeto plan -f <place> -t <place> --at 08:30 # depart at time
bunx straeto plan -f <place> -t <place> --by 17:00 # arrive by time
FORCE_COLOR=0 as an env variable when running commands so the output is readable.straeto next <stop>.straeto route <number> to show active buses.straeto plan -f <place> -t <place>. Place names are supported directly.