VA

VariFlight

Created 5 months ago

A Model Context Protocol (MCP) server implementation for VariFlight flight information services.

development location documentation public

What is VariFlight?

VariFlight's official MCP server provides tools to query flight information, weather data, comfort metrics, the lowest available fares, and other civil aviation-related data.

Documentation

Variflight MCP Server

A Model Context Protocol (MCP) server implementation for VariFlight flight information services.

Variflight API Key

To use the Variflight MCP server, you need to have a Variflight API key. You can get it from here.

Installation

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

Available Tools# 1. Search Flights by Departure and Arrival

Search flights between airports using IATA codes:

searchFlightsByDepArr({
  dep: "PEK", // Beijing
  arr: "SHA", // Shanghai
  date: "2024-03-20"
})
```\n\n### 2. Search Flights by Number
Search flights using flight number:
```typescript
searchFlightsByNumber({
  fnum: "MU2157",
  date: "2024-03-20"
})
```\n\n### 3. Get Flight Transfer Information
Find transfer options between cities:
```typescript
getFlightTransferInfo({
  depcity: "BJS",
  arrcity: "LAX",
  depdate: "2024-03-20"
})
```\n\n### 4. Flight Happiness Index
Get detailed flight comfort metrics:
```typescript
flightHappinessIndex({
  fnum: "MU2157",
  date: "2024-03-20"
})
```\n\n### 5. Real-time Aircraft Location
Track aircraft location using registration number:
```typescript
getRealtimeLocationByAnum({
  anum: "B2021"
})
```\n\n### 6. Airport Weather Forecast
Get 3-day weather forecast for airports:
```typescript
getFutureWeatherByAirport({
  airport: "PEK"
})
```\n\n### 7. Search Flight Itineraries
Search for purchasable flight options and get the lowest prices:
```typescript
searchFlightItineraries({
  depCityCode: "BJS", // Beijing
  arrCityCode: "SHA", // Shanghai
  depDate: "2025-04-20"
})

Server Config

{
  "mcpServers": {
    "variflight-server": {
      "command": "npx",
      "args": [
        "variflight"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: Yes

Project Info

Hosted Featured
Created At: Jul 02, 2025
Updated At: Aug 07, 2025
Author: Variflight (https://mcp.variflight.com)
Category: official
License: ISC License - See [LICENSE](LICENSE) for details.
Tags:
development location documentation