jp-train-transfer-minimizer

jp-train-transfer-minimizer MCP Connector for Claude

A+

Calculate precise Japanese train route metrics including transfer penalties.

3 tools Official Updated Oct 1, 2026 Official Vinkius Partner

This MCP server provides deterministic tools to evaluate Japanese train routes. It calculates total travel time, the number of transfers, and a specific transfer penalty to determine the effective travel time. Use calculate_route_metrics to get a full breakdown of a journey, compare_route_efficiency to decide between two different paths, or validate_segment_integrity to verify individual route segments.

japantrainroutetravel-plannermetrics

3 tools expose this connector's capabilities to your AI agent.

calculate_route_metrics

compare_route_efficiency

validate_segment_integrity

See how to talk to your AI agent using jp-train-transfer-minimizer.

Calculate the metrics for a route with two segments: Yamanote Line for 15 minutes (no transfer) and Chuo Line for 20 minutes (requires transfer).

Total travel time is 35 minutes, total transfers is 1, transfer penalty is 5 minutes, and effective travel time is 40 minutes.

Which route is better: Route A (30 mins, 0 transfers) or Route B (20 mins, 2 transfers)?

Route A is better. Route A has an effective travel time of 30 minutes, while Route B has an effective travel time of 30 minutes. Since effective times are equal, Route A is better because it has fewer transfers.

Check if this segment is valid: { "lineName": "Shinkansen", "travelTimeMin": 120, "transferRequired": false }

The segment is valid.

The transfer penalty is calculated by multiplying the total number of transfers by 5 minutes, representing the average time spent walking and waiting.

Related Connectors