关于 Flightstats
Flightstats 是封装 Cirium FlightStats Flex API 的 MCP 服务,用于查询航班运行状态和时刻表。它适合需要指定日期航班状态、机场航班动态或已发布时刻表的应用;使用工具需 API 凭据。
主要功能
- 01查询指定日期航班状态和登机口信息
- 02查看机场出发与到达航班动态
- 03获取已发布的航班时刻表
适用场景
- 01核实航班状态和行李提取处
- 02查看指定日期和时段的机场航班
- 03查询航空公司的计划航班
MCP 相关
通过网关端点或本地 stdio 服务向 MCP 客户端提供 Cirium FlightStats Flex API 工具。网关端点还包含 Pipeworx 共享元工具。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://gateway.pipeworx.io/flightstats/mcpclaude mcp add --transport http pipeworx-io-flightstats https://gateway.pipeworx.io/flightstats/mcp{"mcpServers":{"pipeworx-io-flightstats":{"type":"http","url":"https://gateway.pipeworx.io/flightstats/mcp"}}}在 Cursor 中打开{"servers":{"pipeworx-io-flightstats":{"type":"http","url":"https://gateway.pipeworx.io/flightstats/mcp"}}}在 VS Code 中打开{"mcpServers":{"pipeworx-io-flightstats":{"type":"http","url":"https://gateway.pipeworx.io/flightstats/mcp"}}}{"mcpServers":{"pipeworx-io-flightstats":{"serverUrl":"https://gateway.pipeworx.io/flightstats/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
mcp-flightstats
FlightStats MCP — 封装 Cirium FlightStats Flex API(api.flightstats.com/flex)
这是 Pipeworx 的一部分 — 一个将 AI Agent 连接到 1879+ 个实时数据源的 MCP 网关。这是一个独立的非官方集成,与上游提供商无关联、未获其认可,也非由其发布。
工具
| 工具 | 描述 |
|---|---|
flightstats_flight_status | 查询某日 AA100 航班的状态 — 登机口、延误、行李。返回特定航班的运行状态(计划与预计的起飞/到达时间、登机口、航站楼、行李提取处);航班由承运人 IATA 代码、航班号和日期确定。示例:flightstats_flight_status({ carrier: "AA", flight: "100", year: 2026, month: 7, day: 2, _apiKey: "appId:appKey" }) |
flightstats_airport_status | 查询机场的出发/到达航班 — 查看某日期/小时从机场出发或抵达的航班实时看板。示例:flightstats_airport_status({ airport: "JFK", type: "dep", year: 2026, month: 7, day: 2, hour: 14, _apiKey: "appId:appKey" }) |
flightstats_schedule | 查询计划航班时刻表 — 查看承运人和航班号对应的航班在某日出发时公布的时刻表(出发/到达机场和时间),不受实时运行状态影响。示例:flightstats_schedule({ carrier: "AA", flight: "100", year: 2026, month: 7, day: 2, _apiKey: "appId:appKey" }) |
快速开始
添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):
{
"mcpServers": {
"flightstats": {
"url": "https://gateway.pipeworx.io/flightstats/mcp"
}
}
}
此端点实际提供的内容
https://gateway.pipeworx.io/flightstats/mcp 上的 tools/list 会返回上表中的工具,以及 Pipeworx 共享元工具——ask_pipeworx、discover_tools、search_within、remember/recall 和网关级别的其他工具。因此,你看到的工具数量会多于此表:目前,单个工具包端点除了该工具包自己的工具,还会列出大约 30 个共享工具。连接的 initialize 响应会说明其确切范围,是当天情况的权威信息。
这是有意为之,并非意外的多路复用。元工具可让范围受限的连接通过 ask_pipeworx(它会跨整个目录路由),回答此工具包未涵盖的问题,而无需你再添加一个 MCP 服务。目前无法在不包含这些工具的情况下挂载工具包端点;如果额外的架构定义带来的上下文开销超过路由的价值,请连接一次完整网关,而不是连接多个工具包端点。
或者连接完整的 Pipeworx 网关,直接列出所有工具包的工具,而不只是当前工具包的工具:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
两个 URL 都连接到同一个网关和同样的 1879+ 个数据源。唯一的区别在于直接列出哪些工具包的工具;无论连接哪个端点,ask_pipeworx 都能访问所有工具。
没有 MCP 客户端?通过 HTTP 调用
此工具包需要你提供自己的 API 密钥(_apiKey)——我们不会代为提供,因此这里没有无需密钥即可运行的 curl 命令。检查任意工具:GET https://gateway.pipeworx.io/v1/tools/flightstats_flight_status。查找工具:使用 {"query":"..."} 调用 POST https://gateway.pipeworx.io/v1/tools/search_packs。
独立运行(无需网关账号)
此软件包也可以作为本地 stdio MCP 服务运行——无需 Pipeworx 账号,也无需经过网关:
{
"mcpServers": {
"flightstats": {
"command": "npx",
"args": ["-y", "@pipeworx/mcp-flightstats"]
}
}
}
或者直接运行它以确认服务可以启动:
npx -y @pipeworx/mcp-flightstats
它通过 stdin/stdout 使用 MCP 通信,并针对仅此工具包的工具响应 initialize/tools/list/tools/call——不包含上述网关连接额外提供的任何共享元工具。使用相同的源代码和工具,但不提供 ask_pipeworx 路由。
使用 ask_pipeworx
你可以用通俗英文提问,而不是直接调用工具——此功能既适用于上述工具包端点,也适用于完整网关:
ask_pipeworx({ question: "your question about Flightstats data" })
网关会自动选择合适的工具并填入参数。
更多信息
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。