Skip to main content
Glama

PakBus

Server Details

Bus and metro journeys, departures, routes, fares and service changes in Pakistani cities.

If you are the author of this connector, you can claim ownership by verifying the domain or GitHub account it belongs to. Claimed connector authors can inspect health checks, view analytics, and manage their listing.
Status
Healthy
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL

TDQS

Score is being calculated.

Available Tools

6 tools
find_placesFind places
Read-onlyIdempotent
Inspect

Finds bus stops, stations and the places around them by name, in one city or in every city. Accepts common English spellings of Pakistani place names, such as Faizabad or Faiz Abad. Returns the place_id and city each other tool needs. When nothing matches in a city, it lists the stops in that city served by the most routes.

ParametersJSON Schema
NameRequiredDescriptionDefault
cityNoSearch one city network. Leave out to search every city.
queryYesPlace name in English letters, such as Liberty Chowk or Saddar.
list_citiesList cities
Read-onlyIdempotent
Inspect

Lists the Pakistani cities with PakBus routes, the number of routes in each and the city name in Urdu.

ParametersJSON Schema
NameRequiredDescriptionDefault

No parameters

place_departuresNext departures
Read-onlyIdempotent
Inspect

Lists the next three departures today from a place for each route and direction that boards there, soonest first, with the minutes until each, the last bus of the day, the fare and the stops each direction serves after the place.

ParametersJSON Schema
NameRequiredDescriptionDefault
cityYesCity network from find_places or list_cities, such as Lahore, Attock or Rawalpindi.
placeYesplace_id from find_places.
plan_journeyPlan a journey
Read-onlyIdempotent
Inspect

Plans bus and metro journeys between two places in one city network. Returns the first journey leaving at or after the departure time as numbered steps with boarding stops, changes, walking, times and fare, a link that opens it in PakBus, and up to two later departures on one line. Apps that show interactive views also get a map of the journey.

ParametersJSON Schema
NameRequiredDescriptionDefault
toYesplace_id of the destination, from find_places.
cityYesCity network from find_places or list_cities, such as Lahore, Attock or Rawalpindi.
fromYesplace_id of the start, from find_places.
departNoDeparture date and time in Pakistan local time, as YYYY-MM-DDTHH:MM. Leave out to leave now. Search again with a later time for later journeys.
max_changesNoMost changes between buses, 0 for direct journeys only. Defaults to 2. When none are found within the limit, journeys with up to 5 changes are returned.
route_detailsRoute details
Read-onlyIdempotent
Inspect

Lists a city's routes with fares, or shows one route: its stops in order in each direction, its fare and the day’s departure times from the first stop. Finds a route by code such as EV5701, by name such as Orange Line, or by service such as Green Electric Bus.

ParametersJSON Schema
NameRequiredDescriptionDefault
cityYesCity network from find_places or list_cities, such as Lahore, Attock or Rawalpindi.
routeNoRoute code, name or service. Leave out to list every route in the city.
service_noticesService changes
Read-onlyIdempotent
Inspect

Lists current and announced service changes in a city network, such as closed stations, skipped stops or diversions, for every route or for one route by code, name or service. plan_journey, place_departures and route_details already include the changes on the routes they use.

ParametersJSON Schema
NameRequiredDescriptionDefault
cityYesCity network from find_places or list_cities, such as Lahore, Attock or Rawalpindi.
routeNoRoute code, name or service. Leave out for every change in the city.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

  1. 6 tool updates
    • First observedfind_places
    • First observedlist_cities
    • First observedplace_departures
    • First observedplan_journey
    • First observedroute_details
    • First observedservice_notices

Related MCP Connectors

Related MCP Servers

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources