API & MCP
Everything a person can do on Travel Connection Checker, a program or AI agent can do with the same inputs and get the identical result.
HTTP API
POST https://travelconnectionchecker.usefulweb.site/api/v1/calculate– run Travel Connection CheckerGET https://travelconnectionchecker.usefulweb.site/api/v1/tool– inputs, output schema, examples- OpenAPI 3.1: /openapi.json · /openapi.yaml
- Errors:
application/problem+json;422includes per-fielderrors.
Travel Connection Checker
Enter your arrival and onward departure times and what you have to do in between (terminal change, passport control, security, baggage). The checker adds up transparent time ranges for each step, compares them with your connection time and estimates the chance of making it under a simple inbound-delay model. It is an estimate, never a guarantee.
| Field | Type | Default | Description |
|---|---|---|---|
arrival (required) | datetime | — | Scheduled arrival (local) |
departure (required) | datetime | — | Scheduled onward departure (local, same airport) |
terminalChange | boolean | false | Terminal change |
immigration | boolean | false | Passport / immigration check |
securityRecheck | boolean | false | Security screening again |
baggageRecheck | boolean | false | Collect and re-check baggage |
airportSize | select (small, medium, large, mega) | "large" | Airport size |
walkingSpeed | select (slow, average, fast) | "average" | Walking speed |
gateClosesMinutes | integer | 15 | Gate closes before departure. Check your boarding pass; often 10–20 minutes. |
onTimeProbability | number | 75 | Inbound flight on-time probability. Planning default; replace with the route’s on-time record if you know it. |
meanDelayMinutes | number | 35 | Average delay when late |
officialMct | integer | — | Official minimum connection time (if known). From the airline/airport for your connection type. |
Example request
Schengen → non-Schengen at a large hub, 70 min
curl -X POST https://travelconnectionchecker.usefulweb.site/api/v1/calculate -H 'content-type: application/json' -d '{"arrival":"2026-11-03T09:40","departure":"2026-11-03T10:50","terminalChange":true,"immigration":true,"securityRecheck":false,"baggageRecheck":false,"airportSize":"large","walkingSpeed":"average","gateClosesMinutes":15,"onTimeProbability":75,"meanDelayMinutes":35,"officialMct":50}'
Every result contains
inputs (normalised, defaults applied), summary, result (validated against the published schema), units, assumptions, sources, warnings, computedAt and links.
MCP (Model Context Protocol)
- Streamable HTTP endpoint:
https://travelconnectionchecker.usefulweb.site/mcp– protocol revisions 2026-07-28 (stateless) and 2025-11-25 / 2025-06-18 / 2025-03-26 (initialize handshake). - Tools:
travel_connection_checker - Local stdio connector:
node src/mcp-stdio.ts --tool=travel-connection-checker
{
"mcpServers": {
"travel-connection-checker": { "type": "http", "url": "https://travelconnectionchecker.usefulweb.site/mcp" }
}
}