
Open Transfer Times
io.github.joelynli0110由 GitHub 账号 joelynli0110 发布v0.2.1更新于 Nov 7, 2026
Check if a flight connection is comfortable, tight or risky, with cited airport data.
概览
本地 MCP 服务器,让助手判断航班中转是否舒适、紧张或有风险,并附上可引用的机场资料。
- 可以做什么
- 评估单次中转:给出决策、评级、置信度、实际中转时长、计入的换乘步骤、余量与机票保障情况。
- 比较并排序 2–20 个行程,依据决策、评级、机票保障、置信度和余量。
- 查询机场的换乘时间额度、每项是经验规则还是有出处,以及带官方链接的引用资料。
- 列出拥有独立资料的机场及其资料完善程度。
- 适用场景
- 适合助手在比较一次中转的航班选项时,判断较短的中转时间是否现实,或在推荐、预订前按中转风险对搜索结果排序。
- 运行要求
- 通过 npx(npm 包 open-transfer-times-mcp)以 stdio 在本地运行,需要 Node.js 20 或更高版本。无需 API 密钥、账号或网络访问。
安装
在 SourceWeft 中
- 打开 控制台中的 Open Transfer Times,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
open-transfer-times-mcp
An MCP server that lets AI agents check whether a flight connection is realistic before recommending or booking it.
Flight-search tools return itineraries; they do not say whether a 50-minute layover in Frankfurt is enough. This server answers that with a deterministic, explainable assessment from the open-transfer-times engine, and it returns the cited airport facts behind every estimate so the agent can show its sources.
Runs locally over stdio. No API keys, no network calls.
Tools
All tools are read-only.
check_connection input
Give either both times or layover_minutes. If both are given they must agree.
Example result text:
On separate tickets with bags not stated, where a re-check would matter:
- The text leads with the decision, and
compare_connectionsexplains each option that is not recommended ("Why: …"). Withinsufficient_datathe text leaves out the rating entirely: in the agent evaluation, agents repeated "comfortable" and "healthy margin" as reassurance even when the decision said the rating could not be relied on. The rating stays instructuredContent. mctis kept apart from the structural rating.below_publishedmeans the layover is under an airline's published minimum connection time at this airport (e.g. Lufthansa, 60 min at FRA); whether it applies to the trip isunknown, so it is never treated as a pass.decisionis the field to act on.insufficient_datameans key information is missing (the confidence reasons say what): ask the user rather than recommending the connection.stepsalways adds up totransfer_process_minutes. Facts are listed with theirscope(for example "Air France connections at Paris airports") so the agent does not apply them to the wrong trip.- Layovers are real elapsed time: at the 13 profiled airports a layover across a
daylight-saving change is computed in the airport's time zone, and
wall_clock_layover_minutesshows what the clocks say.
Instructions for agents
The server sends usage instructions when a client connects (MCP instructions):
call a tool first with what the user gave, pass layover_minutes instead of
inventing times, ask only when the airport or the duration is missing, use
compare_connections for comparisons, explain only the counted steps, report
the decision, ask about bags on separate tickets after giving the result, and
respect fact scopes (scoped facts are shown as "(Only for: …)"). Each rule addresses a
failure seen when testing agents; see eval.
The same data is returned as structuredContent matching the tool's output schema.
Setup
Requires Node.js 20+.
Claude Desktop — add to claude_desktop_config.json:
Claude Code:
From a clone of this repository (before the package is published):
Run npm install at the repository root first.
Using it with a flight-search server
Pair it with any MCP server that searches flights. Ask the agent something like
"Find flights from Berlin to Shanghai on 20 September and rank the one-stop
options by how safe the connection is" — the agent searches with one server and
passes the results to compare_connections.
Limits
- One-stop itineraries (two segments) only.
- A structural estimate from scheduled times and published airport information: not an official minimum connection time, and not a delay prediction.
- 13 airports have their own profile; all others use a standard baseline, which
the result reports as
coverage: "baseline". - Clock changes are handled at the 13 profiled airports; elsewhere pass times with UTC offsets for exact layovers.
Development
来源:packages/mcp/README.md,提交 689cc92
工具
0版本历史
3- v0.2.1最新Nov 7, 2026
- v0.2.0Nov 4, 2026
- v0.1.2Nov 3, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分