Public Transit logo

Public Transit

by lulz botUpdated May 4, 2026

Exposes public transit data through MCP-compatible tools for querying routes, schedules, stops, and real-time vehicle positions. Developers building mapping apps or mobility services use it to fetch agency-specific transit info via API calls. Data analysts access structured datasets for traffic pattern analysis.

public-transit
gtfs
realtime-data
|

Overview

The @lulzasaur9192/mcp-public-transit MCP server connects AI models to public transportation systems worldwide. It aggregates data from transit agencies, enabling programmatic retrieval of routes, timetables, and live updates without direct API integrations.

Key Capabilities

  • get_routes: Returns list of routes for a specified agency or city, including route IDs, paths, and service types.
  • get_schedules: Fetches static or real-time schedules for routes or stops, with details on departure times and frequencies.
  • get_stops: Queries stop locations, associated routes, and accessibility info by coordinates or name.
  • get_realtime: Provides current vehicle locations, estimated arrivals, and delays from GTFS-Realtime feeds.

Use Cases

  1. Build a route planner: Use get_routes and get_schedules to compute optimal paths between stops for a navigation app.
  2. Monitor service disruptions: Call get_realtime to track delays and alert users in a commute tracker.
  3. Analyze urban mobility: Combine get_stops and get_realtime data to model traffic flows in city planning dashboards.
  4. Integrate into chatbots: Query get_schedules for next bus times in response to user location queries.

Who This Is For

Developers creating location-based apps, data analysts studying transportation trends, and AI engineers developing smart city or logistics solutions. Requires familiarity with MCP for tool invocation.