v0.7.0 — transit_route: TRA↔Taipei-Metro multi-modal routing
v0.7.0 — transit_route: TRA↔Taipei-Metro multi-modal routing (Stage 2)
New MCP tool transit_route(from, to, depart_after?) — the first tool that routes a journey across modes (台鐵 ↔ 台北捷運). Stage 2 of the (B) routing engine north-star (臺灣版 NAVITIME).
Added
transit_route— time-anchored multi-leg composition over a curated interchange registry. TRA legs reuse the timetable + liveTrainLiveBoarddelay (source: live/scheduled); metro legs use expected-waitheadway/2at the metro-entry band (source: frequency— TDX metro has frequency, not per-vehicle departure phase). Cross-system transfers only at curated interchanges (台北車站 / 板橋 / 南港 / 松山, IDs probed from live TDX). Endpoints resolve across both systems; same-name metro platforms collapse into one logical station; a vague/multi-station name →matches; no route or TRA-timetable outage →routes:[] + note(empty ≠ error). Tool count 23 → 24.- Reuses both existing routers unchanged —
rail_route(Stage 1) andmetro_find_routeare untouched.
Verification
- 158 offline tests, 0 failures (MultimodalRouter / InterchangeRegistry / TransitTools executor + 23→24 JSON-RPC smoke).
- Live:
transit_route(中壢 → 西門)→ TRA 自強 1136 中壢 08:03 → 臺北 08:57, transfer @ 台北車站 (walk 5), 板南線 台北車站 → 西門, arrive 09:09 (66 min, 1 transfer).
Roadmap
Stage 1 (v0.6.0) = TRA time-dependent. Stage 2 (this release) = TRA↔TRTC multi-modal. Stage 3 (future) = unified multi-modal core + bus + fuller live feeds. Accuracy is bounded by TDX data shape, not the algorithm (see CLAUDE.md North Star).
Install
Download che-transport-mcp-0.7.0.mcpb for one-click install in Claude Desktop. Developer ID signed + Apple notarized.