Listed from the MCP registry; nobody on Odel publishes it.
Check if a flight connection is comfortable, tight or risky, with cited airport data.
Runs on your machine from its package; the steps are below.
At most: only reads or looks up information.
Odel charges nothing per call. The publisher may charge for its own service.
Runs locally over stdio
This server isn't hosted — your MCP client launches it from a package registry. Use one of the commands below, or drop the config into your client (e.g. Claude Desktop).
Run
npx -y open-transfer-times-mcp
MCP client config
{
"mcpServers": {
"open-transfer-times": {
"command": "npx",
"args": [
"-y",
"open-transfer-times-mcp"
]
}
}
}Is this flight connection comfortable, tight, or risky? Open, cited airport transfer data, an engine that explains its verdict, and an MCP server so AI agents can check connections before recommending a flight.
Ask an AI agent to compare layovers. With the MCP server connected, it gets:
1. IST 3 h BER–IST–PVG: RECOMMEND — rated comfortable, margin 135 min, protected itinerary, medium confidence
2. VIE 2 h BER–VIE–PVG: INSUFFICIENT DATA — estimate only, margin 65 min, protected itinerary, low confidence
Why: Key information is missing, so the rating cannot be relied on. No transfer profile for this airport; generic baseline allowances were used.
3. FRA 50 min BER–FRA–PVG: AVOID — rated risky, margin -5 min, protected itinerary, medium confidence
Why: The transfer steps take about as long as the layover or longer.
Only RECOMMEND and CAUTION options may be presented as workable; for the others, say why.
Vienna has plenty of time but no airport data, so it is not recommended. Each result gives a decision, the transfer steps it counted, a confidence level, and the official sources behind the airport data:
BER–LHR–PVG: CAUTION — The terminals are not known, and a terminal change would leave little or no margin; ask for the terminals.
Rating: REASONABLE — A practical connection on one ticket.
Confidence: MEDIUM — The terminals are not known; a terminal change would make this connection tight or risky. With a terminal change (25 min) the margin would be 10 min (tight). The transfer-step durations are rule-of-thumb estimates, not sourced figures.
Layover 90 min, transfer steps 55 min, margin 10 to 35 min (tight if every possible step applies).
Steps counted: Move through airport 40 min (heuristic); Allow for another security check 15 min (heuristic). No other steps were counted.
Possible step not counted: Change terminals 25 min (terminals not given). Give the margin as a range and ask for the missing detail if it matters.
Add to claude_desktop_config.json, then fully restart Claude:
{
"mcpServers": {
"open-transfer-times": { "command": "npx", "args": ["-y", "open-transfer-times-mcp"] }
}
}
Then ask, in a new chat: "From Berlin to Shanghai, which is safest: 50 minutes in Frankfurt, 3 hours in Istanbul or 2 hours in Vienna?"
With a flight search. Add a flight-search MCP server such as fli next to it, and ask "Find flights from Berlin to Shanghai on 21 December. I prefer cheap ones, but no risky connections." The agent searches, checks every connection, and ranks the results by risk as well as price: docs/demo-flight-search.md.
The server is also listed in the official MCP Registry and on Glama. Tools and options: packages/mcp.
npm install open-transfer-times
const { assessConnection } = require("open-transfer-times");
const result = assessConnection(
{ segments: [
{ origin: "BER", destination: "LHR", arrivalTime: "2026-09-20T10:00" },
{ origin: "LHR", destination: "PVG", departureTime: "2026-09-20T11:30" }
] },
{ ticketStatus: "protected" }
);
result.quality; // "reasonable"
result.confidence.level; // "medium"
API reference: packages/core.
Airlines and booking systems decide whether a connection is feasible using minimum connection times (MCT): commercial data sold by IATA and schedule providers. Open flight-search tools can find itineraries but cannot say whether a layover is realistic. This project collects what airports and airlines publish openly, cites every fact, and marks every estimate as an estimate.
The engine is deterministic: the model that calls it explains the result but never does the arithmetic.
comfortable (≥ 45 min), reasonable (≥ 25),
tight (≥ 5) or risky.Alongside the rating:
high / medium / low). An airport without a profile, or
a route whose border situation is unknown, is always low confidence, so
missing data is never presented as "no risk".mct). Where an
airline publishes an MCT for the airport (Lufthansa's 60 minutes at FRA), its
conditions (operating airline, route type) decide whether it applies,
does not apply, or is unknown. Below an MCT that applies is avoid; below
one that may apply rules out recommend; unknown is never a pass. A
structural estimate is not proof that an airline would sell a connection.recommend / caution / insufficient_data / avoid)
combines the above. Missing data never yields recommend, and comparisons
rank by decision first.13 hub airports have their own profile in airports/, one YAML
file each; every other airport uses a standard baseline.
All 13 cite official airport or airline pages. Facts confirm transfer steps,
for example that Heathrow, Hong Kong, Changi, Incheon, Narita and Doha screen
transfer passengers again, while most durations are still estimates
(basis: heuristic). COVERAGE.md shows how well each
airport is sourced.
Contributions welcome, no code needed. Add an airport, replace an estimate with a sourced figure, or report a rule the format can't express: see CONTRIBUTING.md or open an issue with the Airport data form.
high confidence. A deep check
of FRA, AMS and LHR found that airports publish which steps apply, but not
how long they take; minutes come from airlines (MCTs) or from parts of a
transfer (a train ride, a bus interval). The only sourced minute
value is a published airline MCT (FRA). Sourcing durations matters more than
adding airports with estimates only.regions/schengen.yaml (Svalbard so far); Ceuta and Melilla's extra checks
are not modelled.RFC 0001 proposes the next steps: a country for every airport, rules with conditions, self-transfer border steps, time zones beyond the profiled airports, and sourced durations for MUC, NRT and LHR. It addresses most of the limitations above. Feedback is welcome on issue #6.
The agent evaluation measures how reliably an AI agent uses the server: 38 questions in Chinese and English, graded on tool calls and answer accuracy, for any model behind Anthropic, OpenAI, OpenRouter or a local Ollama.
| Path | What it is |
|---|---|
airports/, regions/ | The transfer dataset (YAML) and Schengen membership. |
packages/core | open-transfer-times on npm: the dependency-free engine. |
packages/mcp | open-transfer-times-mcp on npm: the MCP server. |
eval/ | Agent evaluation against the Claude API. |
extension/ | Chrome extension for Google Flights (beta, not in the Chrome Web Store). |
docs/ | RFCs, data sources, extension store materials. |
src/, pyproject.toml | Legacy Python research code (delay simulation, EUROCONTROL benchmarks). Not published, not maintained, not used by the packages above. |
Requires Node.js 20+.
npm install
npm run check # airport data validation, lint, all tests, extension build
npm run smoke # pack both npm packages, install them, call the MCP server
npm run eval # agent evaluation: Anthropic, OpenAI, OpenRouter or local Ollama (eval/README.md)
npm run airports:build regenerates the engine's data after editing
airports/*.yaml. CI runs check and smoke on Ubuntu and Windows with
Node 20 and 22. Working on the extension: extension/README.md.
Changes by release: CHANGELOG.md.
MIT. Airport names come from the public-domain OurAirports dataset.