No.182026Web app
BKK Transit — Bangkok Open Transit Platform & Routing Engine
Open transit data platform and routing engine for Greater Bangkok — Ingests official GTFS data (Namtang), GPS radar nearby stops, live departure boards, and Model Context Protocol (MCP) for AI assistants.
RoleSystems Architecture · GTFS Pipeline · FastAPI Backend · Leaflet.js · Model Context Protocol (MCP)

Key numbers
- Official GTFS
- GTFS
- Query Latency
- <10ms
- GPS Radius
- 500m
- AI Protocol
- MCP
Highlights
What it does, and the engineering problems it solves
- Official GTFS Data Ingestion
Chunk-based streaming ingestion of official GTFS Static feeds with integrity validation and automated reporting.
- GPS Radar & Nearby Stops
W3C Geolocation GPS radar with accuracy ring, automatically discovering and ranking transit stops within 500 meters.
- Live Departures Board
Real-time headway-based arrival estimations from schedule frequencies with a hot-pluggable GTFS-RT engine.
- Intelligent Trip Planner
Routing engine computing direct routes and single-transfer journeys with colorful interactive map polylines.
- Model Context Protocol (MCP Server)
JSON-RPC 2.0 MCP server enabling Claude, ChatGPT, and Gemini to perform agentic transit routing.
- High Resilience & Fault Tolerance
Circuit breaker that keeps the service answering from cached schedules when the realtime upstream fails.
Gallery
8 images







