Westbahn MCP

v1.13.0 · Read-only MCP server for live Westbahn timetables, fares and booking links.

Endpoints

EndpointForDescription
POST /mcpScoutSession-based MCP endpoint (Mcp-Session-Id), full JSON results
POST /mcp/statelessChatGPTStateless MCP endpoint, summary text + widget cards
GET /api/mcp/healthMonitoringHealth status, version and active sessions
GET /docsHumansThis page

Tools

get_timetable Timetable

Trains, times and fares for one day, plus booking links. Connecting routes (e.g. Graz → Salzburg) come back as multiple legs in a single call.

ParameterTypeDescription
from, tostationOrigin and destination (must differ)
datestringYYYY-MM-DD or a weekday name ("Freitag"); max ~6 months ahead
typeenumbooking (default) · reservation · group · group-school
adults, childrenintPassengers (default 1 adult). Limits depend on type
wheelchairs, pets, bikesintExtras, booking type only
discountenumDiscount card, see list below
departureAfter/Before, arrivalAfter/BeforeHH:mmTime window filters (Vienna time)
maxPrice, maxDurationMinutesnumberPrice (€) and duration filters
sortBy, sortOrderenumdeparture · arrival · price · duration, asc/desc
languagede | enLanguage of the westbahn.at links (default de)

get_cheapest_prices Cheapest prices

Compares the lowest fare per day across several dates to answer "when is it cheapest?".

ParameterTypeDescription
from, tostationOrigin and destination (must differ)
datesstring[]Up to 31 dates, same format as date above
languagede | enLanguage of the westbahn.at links (default de)

Good to know

• Plain "Wien"/"Vienna" maps to WIEN_HAUPTBAHNHOF for southern-line trips, otherwise WIEN_WESTBAHNHOF.

• Booking: max 5 adults / 4 children. Groups: 6–76 adults. School groups: 1+ adults, 4–300 children.

• Stations not in the list below are not served by Westbahn.

Stations (61)

WIEN_WESTBAHNHOFWIEN_HUTTELDORFST_POLTENAMSTETTENLINZWELSATTNANG_PUCHHEIMSALZBURG_HBFVOCKLABRUCKPRIEN_AM_CHIEMSEEROSENHEIMMUNCHEN_OSTMUNCHEN_HBFAUGSBURGGUNZBURGULMSTUTTGARTKUFSTEINWORGLJENBACHINNSBRUCK_HBFINNSBRUCK_WESTBAHNHOFIMST_PITZTALLANDECK_ZAMSST_ANTON_AM_ARLBERGBLUDENZFRASTANZFELDKIRCHRANKWEILGOTZISALTACHHOHENEMSDORNBIRNBREGENZ_HBFBREGENZ_RIEDENBURGLINDAU_REUTINLINDAU_INSELSALZBURG_SUDPUCH_URSTEINHALLEINGOLLING_ABTENAUWERFENBISCHOFSHOFENST_JOHANN_IM_PONGAUSEMMERINGBRUCK_AN_DER_MURGRAZ_HAUPTBAHNHOFKUHNSDORF_KLOPEINER_SEEKLAGENFURT_HAUPTBAHNHOFPORTSCHACH_AM_WORTHERSEEVILLACH_HAUPTBAHNHOFSCHWARZACH_ST_VEITLENDTAXENBACH_RAURISBRUCK_FUSCHZELL_AM_SEEMAISHOFEN_SAALBACHSAALFELDENWIEN_MEIDLINGWIEN_HAUPTBAHNHOFWIENER_NEUSTADT

Discount cards

seniorAlle ab 65 Jahren
oebb-vorteilscardÖBB Vorteilscard
oebb-seniorÖBB Vorteilscard Senior:in
deutschland-ticketDeutschland-Ticket
bahn25Deutsche Bahncard
disability-passportBehindertenpass (ab 70% GdB)
familyFamilienkarte
studentStudierende, Schüler:innen & Lehrlinge
adacADAC Vorteilswelt
oamtcÖAMTC Clubkarte
arboeARBÖ Klubkarte
raiffeisenRaiffeisen OÖ/SBG
lidlLidl Plus App
thaliaThalia Bonuscard
n26N26 Karte
european-rail-cardEuropäische Bahnermäßigungskarte (z.B. SBB Halbtax)
vienna-city-cardVienna City Card
vienna-welcome-cardVienna Welcome Card
ooenOÖNcard
snSN Card
kroneKrone BonusCard
der-standard-cardDER STANDARD Abovorteilskarte