Serveur MCP

Live Times Transit

io.github.travelwhiz-ltd/live-times-transit
Cartes et localisation Voyage et hôtellerie Public et accessible MCP 2025-11-25

Ce que fait ce MCP

Finds transit stops and places, provides departure boards and city coverage, and plans bus or train journeys between named locations.

find_stops
Find Stops
Resolve a named place with Apple Maps when needed, then find nearby stops or stations so callers can pass a stop_id to get_departures. For ambiguous names, include near or country_code. If the user asks for a train, select a RAIL result.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', 'anyOf': [{'required': ['lat', 'lon']}, {'required': ['near']}, {'required': ['country_code']}], 'required': ['query'], 'properties': {'lat': {'type': 'number', 'maximum': 90, 'minimum': -90, 'description': 'Optional latitude used instead of Apple Maps geocoding. Must be supplied with lon.'}, 'lon': {'type': 'number', 'maximum': 180, 'minimum': -180, 'description': 'Optional longitude used instead of Apple Maps geocoding. Must be supplied with lat.'}, 'near': {'type': 'string', 'description': 'Locality used to resolve the search origin, for example London, UK. Supply this or country_code when coordinates are unavailable.'}, 'query': {'type': 'string', 'description': 'Stop or station search text, for example London Waterloo or Basingstoke.'}, 'locale': {'type': 'string', 'description': 'Optional BCP-47 locale, for example en-GB or fr-FR.'}, 'country_code': {'type': 'string', 'pattern': '^[A-Za-z]{2}$', 'description': 'Two-letter ISO country code used to constrain Apple Maps geocoding, for example GB.'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'properties': {'body': True, 'meta': {'type': 'object', 'additionalProperties': True}, 'detail': {'type': 'string'}, 'routes': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'status': {'type': 'integer'}, 'message': {'type': 'string'}, 'results': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'resolved_place': {'type': 'object', 'additionalProperties': True}, 'last_updated_time': {'type': 'string'}}, 'additionalProperties': False}
get_city_summary
Get City Summary
Return Live Bus Times and Live Train Times coverage metadata and canonical links for a supported city.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', 'required': ['city_id'], 'properties': {'locale': {'type': 'string', 'description': 'Optional BCP-47 locale, for example en-GB or fr-FR.'}, 'city_id': {'type': 'string', 'description': 'Canonical city ID, for example gb-london.'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'properties': {'body': True, 'city': {'type': 'object', 'additionalProperties': True}, 'meta': {'type': 'object', 'additionalProperties': True}, 'urls': {'type': 'object', 'additionalProperties': True}, 'detail': {'type': 'string'}, 'status': {'type': 'integer'}, 'country': {'type': 'object', 'additionalProperties': True}, 'message': {'type': 'string'}}, 'additionalProperties': False}
get_departures
Get Stop Departures
Return a Live Times departure board for a known canonical stop ID. Optionally filter by route pattern or by up to 5 destinations.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', 'required': ['stop_id'], 'properties': {'locale': {'type': 'string', 'description': 'Optional BCP-47 locale, for example en-GB or fr-FR.'}, 'stop_id': {'type': 'string', 'description': 'Canonical Live Times stop ID, for example s-gcpvj0duq5-waterloo.'}, 'filter_by': {'enum': ['ROUTE_PATTERN', 'DESTINATION'], 'type': 'string', 'description': 'Optional filter type.'}, 'filter_value': {'type': 'string', 'description': 'Required with filter_by. For DESTINATION, use one canonical stop ID, region-<id>, or up to 5 comma-separated values.'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'properties': {'body': True, 'meta': {'type': 'object', 'additionalProperties': True}, 'stop': {'type': 'object', 'additionalProperties': True}, 'alerts': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'detail': {'type': 'string'}, 'routes': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'status': {'type': 'integer'}, 'message': {'type': 'string'}, 'sections': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'frequency': {'anyOf': [{'enum': ['LESS_THAN_FIVE_MINUTES', 'FIVE_MINUTES', 'FIVE_TO_TEN_MINUTES', 'TEN_MINUTES', 'TEN_TO_FIFTEEN_MINUTES', 'FIFTEEN_MINUTES', 'TWENTY_MINUTES', 'THIRTY_MINUTES', 'FORTY_MINUTES'], 'type': 'string'}, {'type': 'null'}]}, 'departures': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'last_updated_time': {'type': 'string'}}, 'additionalProperties': False}
plan_journey
Plan a Journey
Return compact step-by-step public transit directions between named places. Resolves names with Apple Maps and returns clarification candidates rather than guessing when a place is ambiguous.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', 'required': ['origin', 'destination'], 'properties': {'mode': {'enum': ['FASTEST', 'BUS_ONLY', 'RAIL_ONLY', 'SUBWAY_ONLY', 'STEP_FREE', 'LESS_WALKING', 'DIRECT', 'CYCLE_TRANSIT', 'DRIVE_TRANSIT'], 'type': 'string', 'default': 'FASTEST'}, 'locale': {'type': 'string', 'description': 'Optional BCP-47 locale, for example en-GB.'}, 'origin': {'type': 'string', 'description': 'Origin place name, address, landmark, or station.'}, 'arrive_by': {'type': 'string', 'description': 'Optional ISO-8601 arrival datetime with explicit timezone offset. Do not combine with depart_at.'}, 'depart_at': {'type': 'string', 'description': 'Optional ISO-8601 departure datetime with explicit timezone offset. Do not combine with arrive_by.'}, 'destination': {'type': 'string', 'description': 'Destination place name, address, landmark, or station.'}, 'num_results': {'type': 'integer', 'default': 3, 'maximum': 5, 'minimum': 1}, 'origin_near': {'type': 'string', 'description': 'Optional locality context for the origin.'}, 'origin_place_id': {'type': 'string', 'description': 'Optional Momego place ID selected from a previous clarification result.'}, 'destination_near': {'type': 'string', 'description': 'Optional locality context for the destination.'}, 'origin_country_code': {'type': 'string', 'pattern': '^[A-Za-z]{2}$'}, 'destination_place_id': {'type': 'string', 'description': 'Optional Momego place ID selected from a previous clarification result.'}, 'destination_country_code': {'type': 'string', 'pattern': '^[A-Za-z]{2}$'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'properties': {'body': True, 'detail': {'type': 'string'}, 'status': {'anyOf': [{'enum': ['ok', 'clarification_required'], 'type': 'string'}, {'type': 'integer'}]}, 'message': {'type': 'string'}, 'journeys': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'resolved_origin': True, 'last_updated_time': True, 'origin_candidates': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}, 'resolved_destination': True, 'destination_candidates': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}}, 'additionalProperties': False}
search_places
Search Place Suggestions
Return up to 5 Apple Maps place candidates with Momego place IDs. Use this proactively when an origin or destination name is ambiguous, then pass the selected place ID to plan_journey.
Lecture seule Accès externe Idempotent
Schéma d’entrée
{'type': 'object', 'required': ['query'], 'properties': {'near': {'type': 'string', 'description': 'Optional locality context, for example London, UK.'}, 'limit': {'type': 'integer', 'default': 5, 'maximum': 5, 'minimum': 1}, 'query': {'type': 'string', 'description': 'Place, address, landmark, or station name.'}, 'locale': {'type': 'string', 'description': 'Optional BCP-47 locale, for example en-GB.'}, 'country_code': {'type': 'string', 'pattern': '^[A-Za-z]{2}$', 'description': 'Optional two-letter ISO country code.'}}, 'additionalProperties': False}
Schéma de sortie
{'type': 'object', 'properties': {'body': True, 'query': {'type': 'string'}, 'detail': {'type': 'string'}, 'status': {'type': 'integer'}, 'message': {'type': 'string'}, 'candidates': {'type': 'array', 'items': {'type': 'object', 'additionalProperties': True}}}, 'additionalProperties': False}
Ajouté
get_city_summary
17 September 2026 12:52
Ajouté
plan_journey
17 September 2026 12:52
Ajouté
search_places
17 September 2026 12:52
Ajouté
find_stops
17 September 2026 12:52
Ajouté
get_departures
17 September 2026 12:52