PakBus MCP server
Endpoint: https://pakbus.app/mcp · Authentication: No auth
Finds transit stops, departures, and routes in Pakistan and plans journeys. No sign-in is required.
How do I authenticate?
Add the endpoint directly in your client. The catalog records no authentication requirement; no OAuth sign-in or API key is configured in this setup. The live server may change.
Authentication and connection guideConnection specification
- Remote endpoint
https://pakbus.app/mcp- Browser access
- Not yet measured
- Declared MCP transport
- Streamable HTTP
- Live-validated MCP transport
- Streamable HTTP — Observed by the latest catalog validation
- Declared authentication
- No authentication
- Detected authentication
- No authentication detected or retained from publisher evidence
- Protocol lifecycle
- Stateful MCP · 2025-11-25
- Category
- Search
Official listing documentation · ChatGPT app directory listing
More Search MCP servers · Browse all MCP servers · Test this endpoint in the MCP Playground
Connect it
Live-validated endpoint: https://pakbus.app/mcp · Streamable HTTP. No authentication is required by the catalog listing.
Agent prompt for Claude Code or Codex
Add the PakBus MCP server to my MCP client configuration and verify that it works. What it is: Finds transit stops, departures, and routes in Pakistan and plans journeys. No sign-in is required. Server URL: https://pakbus.app/mcp Transport: Streamable HTTP (remote MCP server, no local install). Authentication: none. The server accepts connections without credentials. Tools (6, as last observed by mcptest): find_places, list_cities, place_departures, plan_journey, route_details, service_notices. Reference: https://mcptest.io/servers/pakbus/ Steps: 1. Work out which MCP client I use (Claude Code, Codex, Cursor, VS Code or another) and add the server under the name "pakbus" in that client's MCP configuration, user scope unless I ask otherwise. Claude Code: claude mcp add --transport http --scope user 'pakbus' 'https://pakbus.app/mcp' Codex: codex mcp add 'pakbus' --url 'https://pakbus.app/mcp' Other clients: use the setup for that client on the reference page. 2. Never write a credential value into a file that could be committed; reference an environment variable or the client's secret store, and ask me for any value you need. 3. Verify: connect to the server and call tools/list. Confirm the tools above are listed, and report any sign-in step I still have to complete.
Claude Code setup
Run in a terminal. This user-scoped entry is available across projects.
claude mcp add --transport http --scope user 'pakbus' 'https://pakbus.app/mcp'Codex CLI setup
Run in a terminal; Codex stores the entry in ~/.codex/config.toml.
codex mcp add 'pakbus' --url 'https://pakbus.app/mcp'Cursor setup
Add to .cursor/mcp.json for this project, or ~/.cursor/mcp.json for all projects.
{
"mcpServers": {
"pakbus": {
"url": "https://pakbus.app/mcp"
}
}
}VS Code setup
Add to .vscode/mcp.json, or run “MCP: Open User Configuration” for a private user-level entry.
{
"servers": {
"pakbus": {
"type": "http",
"url": "https://pakbus.app/mcp"
}
}
}Claude setup
Add the endpoint above in Claude:
- Customize > Connectors > Add custom connector
- Team/Enterprise: Organization settings > Connectors > Add > Custom > Web
Claude Desktop setup
Add the endpoint above in Claude Desktop:
- Remote: Customize > Connectors (same as claude.ai)
- Local: Settings > Developer > Edit Config, or Settings > Extensions for .mcpb files
~/Library/Application Support/Claude/claude_desktop_config.json(macOS) or%APPDATA%\Claude\claude_desktop_config.json(Windows), local servers only
ChatGPT setup
Add the endpoint above in ChatGPT:
- ChatGPT web: Plugins > Add custom MCP server, then configure authentication and accept the risk warning
Windsurf setup
Add the endpoint above in Windsurf:
~/.config/devin/mcp_config.json(%APPDATA%\devin\mcp_config.jsonon Windows),serverUrlorurl- Cascade panel > ... > MCPs > Open MCP config file
Gemini CLI setup
Add the endpoint above in Gemini CLI:
gemini mcp add --transport http <name> <url>~/.gemini/settings.json(user) or.gemini/settings.json(project),mcpServers
MCP SDK setup
Add the endpoint above in MCP SDK:
- Programmatic:
new Client(...).connect(new StreamableHTTPClientTransport(url))
Client compatibility
| Client | Status | Why |
|---|---|---|
| Claude Code | Supported | Claude Code supports Streamable HTTP servers and servers without authentication. |
| Codex | Partial | Codex's documentation does not state support for servers without authentication. Codex CLI ignores resources: The server can still connect, but Codex CLI does not consume the advertised resources capability. |
| Cursor | Supported | Cursor supports Streamable HTTP servers and servers without authentication. |
| VS Code | Supported | VS Code supports Streamable HTTP servers and servers without authentication. |
| Claude | Supported | Claude supports Streamable HTTP servers and servers without authentication. |
| Claude Desktop | Supported | Claude Desktop supports Streamable HTTP servers and servers without authentication. |
| ChatGPT | Partial | ChatGPT ignores resources: The server can still connect, but ChatGPT does not consume the advertised resources capability. Stateful routing needs operational care: ChatGPT can preserve MCP sessions, but the deployment must route a session consistently and retain its state. |
| Windsurf | Partial | Windsurf's documentation does not state support for servers without authentication. |
| Gemini CLI | Supported | Gemini CLI supports Streamable HTTP servers and servers without authentication. |
| MCP SDK | Supported | MCP SDK supports Streamable HTTP servers and servers without authentication. |
Computed from this server's validated transport, protocol and authentication against documented client support. Checks the catalog has not observed are not counted.
Latest validation evidence
- Validation status
- Online when last tested
- Validation checked at
- Nov 23, 2026 at 7:18 PM
- Validation detail
- Negotiated stateful MCP 2025-11-25 at https://pakbus.app/mcp; detected transport streamable-http; authentication none
Tool inventory
What the catalog validator observed on at https://pakbus.app/mcp without credentials. The live server may have changed since; connect in the Playground for the current list.
Tools provided by PakBus 6
find_placesNo outputSchemaFinds 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.
Input
city?: string, query: stringcity?: stringoptionalSearch one city network. Leave out to search every city.
query: stringrequiredPlace name in English letters, such as Liberty Chowk or Saddar.
list_citiesNo outputSchemaLists the Pakistani cities with PakBus routes, the number of routes in each and the city name in Urdu.
Input No parameters
place_departuresNo outputSchemaLists 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. Routes with live bus positions give live times counted from where each bus is now.
Input
city: string, place: stringcity: stringrequiredCity network from find_places or list_cities, such as Lahore, Attock or Rawalpindi.
place: stringrequiredplace_id from find_places.
plan_journeyNo outputSchemaPlans 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. When the first bus has live positions and the journey leaves within the hour, it also says when the next one reaches the boarding stop. Apps that show interactive views also get a map of the journey.
Input
city: string, depart?: string, from: string, max_changes?: integer, to: stringcity: stringrequiredCity network from find_places or list_cities, such as Lahore, Attock or Rawalpindi.
depart?: stringoptionalDeparture 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.
from: stringrequiredplace_id of the start, from find_places.
max_changes?: integeroptionalMost 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.
to: stringrequiredplace_id of the destination, from find_places.
route_detailsNo outputSchemaLists a city's routes with fares, or shows one route: its stops in order in each direction, its fare, the day’s departure times from the first stop and, for routes with live bus positions, where each bus is now. Finds a route by code such as EV5701, by name such as Orange Line, or by service such as Green Electric Bus.
Input
city: string, route?: stringcity: stringrequiredCity network from find_places or list_cities, such as Lahore, Attock or Rawalpindi.
route?: stringoptionalRoute code, name or service. Leave out to list every route in the city.
service_noticesNo outputSchemaLists 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.
Input
city: string, route?: stringcity: stringrequiredCity network from find_places or list_cities, such as Lahore, Attock or Rawalpindi.
route?: stringoptionalRoute code, name or service. Leave out for every change in the city.
Resources 1
Some details were sanitized for public display.
journey_mapJourney map — Map of a planned journey with its route, boarding stops and steps.