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 guide

Connection 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

Authorization setup

No app registration needed

This catalog entry does not require authorization or provider app registration.

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.
MCP client

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.json on Windows), serverUrl or url
  • 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

ClientStatusWhy
Claude CodeSupportedClaude Code supports Streamable HTTP servers and servers without authentication.
CodexPartialCodex'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.
CursorSupportedCursor supports Streamable HTTP servers and servers without authentication.
VS CodeSupportedVS Code supports Streamable HTTP servers and servers without authentication.
ClaudeSupportedClaude supports Streamable HTTP servers and servers without authentication.
Claude DesktopSupportedClaude Desktop supports Streamable HTTP servers and servers without authentication.
ChatGPTPartialChatGPT 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.
WindsurfPartialWindsurf's documentation does not state support for servers without authentication.
Gemini CLISupportedGemini CLI supports Streamable HTTP servers and servers without authentication.
MCP SDKSupportedMCP 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.

Similar servers

  • Exa — Exa web search and page-fetching tools for retrieving current web content. Works without an API key on a free tier; signing in raises limits. No authentication
  • Jina AI — Jina Reader, web, arXiv, and image search, screenshot, PDF extraction, and reranking tools. Some tools work without a key; an optional Jina API key raises limits and unlocks the rest. No authentication
  • Tavily — Tavily search, extract, crawl, and map tools for real-time web research. Clients sign in with OAuth, or append a Tavily API key as the tavilyApiKey query parameter. OAuth 2.1
  • Firecrawl — Firecrawl scrape, crawl, map, search, and structured-extraction tools that turn websites into LLM-ready Markdown or JSON. This endpoint signs in with OAuth; API-key clients use the /v2/mcp endpoint with a bearer token. OAuth 2.1
  • Grep by Vercel — Searches code across about a million public GitHub repositories by literal string or regular expression, with language, repository, and path filters. No authentication is required. No authentication
  • Parallel Search — Searches the web and fetches pages as compact markdown through Parallel's Search and Extract APIs. Works anonymously on a free tier; a Parallel API key as a bearer token raises the limits. No authentication

Guides for this server

Watch this server for breaking changes

Share and embed

Maintain PakBus? Embed this badge in your README. It follows the latest catalog validation result and links to this server profile.

mcptest.io: ready

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 outputSchema

    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.

    Input city?: string, query: string
    • city?: stringoptional

      Search one city network. Leave out to search every city.

    • query: stringrequired

      Place name in English letters, such as Liberty Chowk or Saddar.

  • list_citiesNo outputSchema

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

    Input No parameters

  • place_departuresNo outputSchema

    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. Routes with live bus positions give live times counted from where each bus is now.

    Input city: string, place: string
    • city: stringrequired

      City network from find_places or list_cities, such as Lahore, Attock or Rawalpindi.

    • place: stringrequired

      place_id from find_places.

  • plan_journeyNo outputSchema

    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. 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: string
    • city: stringrequired

      City network from find_places or list_cities, such as Lahore, Attock or Rawalpindi.

    • depart?: stringoptional

      Departure 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: stringrequired

      place_id of the start, from find_places.

    • max_changes?: integeroptional

      Most 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: stringrequired

      place_id of the destination, from find_places.

  • route_detailsNo outputSchema

    Lists 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?: string
    • city: stringrequired

      City network from find_places or list_cities, such as Lahore, Attock or Rawalpindi.

    • route?: stringoptional

      Route code, name or service. Leave out to list every route in the city.

  • service_noticesNo outputSchema

    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.

    Input city: string, route?: string
    • city: stringrequired

      City network from find_places or list_cities, such as Lahore, Attock or Rawalpindi.

    • route?: stringoptional

      Route code, name or service. Leave out for every change in the city.

Resources 1

Some details were sanitized for public display.

  • journey_map

    Journey map — Map of a planned journey with its route, boarding stops and steps.