Skip to main content
Glama
variflight

Variflight MCP Server

Official
by variflight

Variflight MCP 服务器

VariFlight 航班信息服务的模型上下文协议 (MCP) 服务器实现。该服务器提供各种工具来查询航班信息、天气数据和飞行舒适度指标。

Variflight API密钥

要使用 Variflight MCP 服务器,您需要拥有 Variflight API 密钥。您可以从这里获取。

安装

{
    "mcpServers": {
        "variflight": {
            "command": "npx",
            "args": [
                "-y",
                "@variflight-ai/variflight-mcp"
            ],
            "env": {
                "VARIFLIGHT_API_KEY": "your_api_key_here"
            }
        }
    }
}

Related MCP server: Aviation Weather MCP Server

可用工具

1. 按出发和到达搜索航班

使用 IATA 代码搜索机场之间的航班:

searchFlightsByDepArr({
  dep: "PEK",  // Beijing
  arr: "SHA",  // Shanghai
  date: "2024-03-20"
})

2. 按航班号搜索航班

使用航班号搜索航班:

searchFlightsByNumber({
  fnum: "MU2157",
  date: "2024-03-20"
})

3. 获取航班转机信息

查找城市之间的转乘选项:

getFlightTransferInfo({
  depcity: "BJS",
  arrcity: "LAX",
  depdate: "2024-03-20"
})

4. 飞行幸福指数

获取详细的飞行舒适度指标:

flightHappinessIndex({
  fnum: "MU2157",
  date: "2024-03-20"
})

5.实时飞机定位

使用注册号追踪飞机位置:

getRealtimeLocationByAnum({
  anum: "B2021"
})

6.机场天气预报

获取机场 3 天的天气预报:

getFutureWeatherByAirport({
  airport: "PEK"
})

7. 搜索航班行程

搜索可购买的航班选项并获取最低价格:

searchFlightItineraries({
  depCityCode: "BJS",  // Beijing
  arrCityCode: "SHA",  // Shanghai
  depDate: "2025-04-20"
})

执照

ISC 许可证 - 详情请参阅许可证

作者

Variflight( https://mcp.variflight.com

版本

当前版本:0.0.2

Install Server
A
security – no known vulnerabilities
F
license - not found
A
quality - confirmed to work

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/variflight/variflight-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server