
Variflight Mcp
io.github.variflight由 GitHub 账号 variflight 发布v1.1.0更新于 Oct 24, 2026
VariFlight's official MCP server provides tools to query flight, weather, comfort, and fare data.
概览
VariFlight 官方 MCP 服务器,让助手查询航班、比较票价与行程方案、查看飞机实时位置和机场天气。
- 可以做什么
- 按出发与到达城市或机场代码、或按航班号搜索航班,支持分页与精简字段
- 查询两地之间的中转航班方案
- 获取行程推荐,包括最低价、最短时长与建议方案,以及两城之间的舱位级票价
- 查询已知航班的舒适度信息,如准点率、机型、客舱布局、餐食与娱乐
- 按机尾号追踪飞机实时位置,并获取机场未来三天天气预报
- 适用场景
- 适合助手回答航班出行问题:查询某日航班选项、比较价格与时长、了解某航班的舒适度或准点情况,或追踪飞机位置、查看机场天气。
- 运行要求
- 通过 npx 从 npm 包 @variflight-ai/variflight-mcp 以 stdio 方式在本机运行,需要 Node.js。需要 VariFlight API 密钥,通过环境变量 VARIFLIGHT_API_KEY 提供,需在 VariFlight AI 开放平台注册后创建。需要访问 VariFlight 服务的网络连接。
安装
在 SourceWeft 中
- 打开 控制台中的 Variflight Mcp,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
Variflight MCP Server
A Model Context Protocol (MCP) server implementation for VariFlight flight information services. This server provides various tools to query flight information, weather data, and flight comfort metrics.
This package is the stdio distribution of VariFlight Aviation MCP on the VariFlight AI Open Platform. Full documentation, including client setup, tool reference and pricing: ai.variflight.com/docs/aviation (中文).
Variflight API Key
To use the Variflight MCP server, you need to have a Variflight API key. Sign up at ai.variflight.com and create one in the console; new accounts receive ¥50 in trial credits.
Remote server
The same tools are available as a remote MCP server over streamable HTTP, with no local process required:
Clients that support OAuth 2.1 can add https://ai.variflight.com/servers/aviation/mcp without a key and sign in when prompted.
Installation
Available Tools
1. Search Flights by Departure and Arrival
Search direct flights by city or airport code on a specific date. Use city codes like BJS or exact airport codes like PEK, but do not mix city and airport codes for the same side:
2. Search Flights by Number
Search a specific flight by flight number and date:
3. Get Flight Transfer Information
Search connecting flight options between departure and arrival cities:
searchFlightsByDepArr and getFlightTransferInfo also accept optional paging parameters. Busy routes can return dozens of results with many fields each, so use these to keep responses small:
limit: maximum number of results to returnoffset: number of results to skip; passnext_offsetfrom the previous response to get the next page. Each page is a separate billed call.detail:"summary"returns only the core fields of each result;"full"(the default) returns every field
When any of them is set, the response also includes total, offset, returned and, if more results exist, next_offset. Without them, the response is unchanged.
4. Flight Happiness Index
Get comfort-focused details for a known flight, such as punctuality, aircraft type, cabin configuration, meals, and entertainment:
5. Real-time Aircraft Location
Track realtime flight location using the aircraft registration number, also called tail number:
6. Airport Weather Forecast
Get the 3-day airport weather forecast:
7. Search Flight Itineraries
Get a natural-language summary with recommended flight options, overall lowest price, shortest duration, and several suggested itineraries:
8. Get Flight Prices by Cities
Get structured raw sale-flight data between two cities, with each flight returning cabin-level prices:
License
ISC License - See LICENSE for details.
Author
Variflight (https://ai.variflight.com)
Version
Current version: 1.1.0
来源:README.md,提交 acc170e
工具
0版本历史
2- v1.1.0最新Sep 26, 2026
- v1.0.2Sep 16, 2026
评分
已满足适用检查项的 40%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分
请在仓库或注册中心条目中声明许可证。