Skip to main content
Glama
freakynit

traintrack-mcp

by freakynit

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
TRAINTRACK_BASE_URLNoTrainTrack deployment to use. http and https URLs are supported, including deployments under a path.https://traintrack.stupidlabs.lol
TRAINTRACK_TIMEOUT_MSNoPositive request timeout in milliseconds.30000

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_trainsA

Search Indian Railways trains by name, number, or text. Upstream limit: 60 requests/minute; results may be cached for up to 12 hours.

get_train_infoA

Get a train's identity, endpoints, and available running instances. Upstream limit: 30 requests/minute; results may be cached for up to 30 minutes.

get_train_scheduleA

Get a train's scheduled stops, running days, times, and available station coordinates. Upstream limit: 20 requests/minute; results may be cached for up to 12 hours.

get_train_live_statusA

Get live station-by-station progress, delays, platforms, current reported position, and route geometry. Upstream limit: 12 requests/minute; live results may be cached for up to 45 seconds.

find_trains_between_stationsA

Find direct trains between two station codes, optionally sorted by fastest journey or earliest departure. Upstream limit: 20 requests/minute; results may be cached for up to 30 minutes.

get_train_exceptionsA

Get exceptional service information such as cancellations or diversions. Read the returned message field. Upstream limit: 20 requests/minute; results may be cached for up to 5 minutes.

get_pnr_statusA

Look up Indian Railways PNR booking, passenger, and chart status. PNR data is sensitive. Upstream limit: 2 requests/minute; PNR results are never stored in the result cache.

get_station_coordinatesA

Get the name and bundled map coordinates for an Indian Railways station code. Upstream limit: 120 requests/minute.

search_stationsA

Search bundled Indian Railways stations by code or name. Upstream limit: 120 requests/minute.

track_trainsA

Get live tracking for up to 10 trains in one request. Individual train failures are returned in the trains array. Upstream limit: 6 requests/minute; successful live results may be cached for up to 45 seconds.

check_traintrack_healthA

Check whether the public TrainTrack API is available. Upstream limit: 120 requests/minute.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

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/freakynit/traintrack-mcp'

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