Skip to main content
Glama
MananshuMandaliya

PTV Transit MCP Server

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_stopsA

Search for public transport stops/stations by name.

Args: query: Partial or full stop name to search for, e.g. "Flinders" or "Oakleigh". limit: Maximum number of results to return.

list_routesA

List public transport routes, optionally filtered by mode.

Args: mode: One of "metro_train", "metro_tram", "metro_bus", "regional_train", "regional_bus", "regional_coach", "skybus", "night_bus". Omit to list across all modes. limit: Maximum number of results to return.

get_next_departuresA

Get upcoming scheduled departures for a given stop, across all routes serving it.

Note: this reads the static GTFS schedule (not live GPS positions), so results reflect the timetable, not real-time delays.

Args: stop_name: Name (or partial name) of the stop/station to look up. limit: Maximum number of departures to return.

run_sql_queryA

Run a read-only SQL SELECT query against the GTFS database directly, for questions the other tools don't cover.

Only SELECT statements are permitted. Available tables: routes, stops, trips, stop_times, calendar (each has a gtfs_mode column identifying the transport mode). Use the ptv://schema resource to see column details.

Args: query: A single SQL SELECT statement.

Prompts

Interactive templates invoked by user choice

NameDescription
trip_plannerA reusable prompt template for planning a trip between two stops.

Resources

Contextual data attached and managed by the client

NameDescription
get_schemaReturns the column names and types for every table in the database, so the model can write informed run_sql_query calls without guessing at column names.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MananshuMandaliya/ptv-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server