MCP ExplorerExplorer

Variflight Mcp

@variflighton a year ago
5 MIT
FreeCommunity
AI Systems
A Model Context Protocol (MCP) server implementation for Variflight services.

Overview

What is Variflight Mcp

variflight-mcp is a Model Context Protocol (MCP) server implementation designed for Variflight flight information services, providing tools for querying flight details, weather data, and flight comfort metrics.

Use cases

Use cases include searching for flights between cities, checking flight transfer options, analyzing flight comfort metrics for better passenger experience, tracking aircraft in real-time, and providing weather forecasts for airports.

How to use

To use variflight-mcp, you need a Variflight API key, which can be obtained from the Variflight website. After obtaining the key, you can install the server using the provided command and set the API key in the environment variables.

Key features

Key features include searching for flights by departure and arrival airports, searching by flight number, obtaining flight transfer information, accessing flight comfort metrics through the Flight Happiness Index, tracking real-time aircraft locations, and getting airport weather forecasts.

Where to use

variflight-mcp can be used in aviation-related applications, travel agencies, flight tracking systems, and any platform that requires access to flight information and related services.

Content

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.

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"
})

2. Search Flights by Number

Search flights using flight number:

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

3. Get Flight Transfer Information

Find transfer options between cities:

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

4. Flight Happiness Index

Get detailed flight comfort metrics:

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

5. Real-time Aircraft Location

Track aircraft location using registration number:

getRealtimeLocationByAnum({
  anum: "B2021"
})

6. Airport Weather Forecast

Get 3-day weather forecast for airports:

getFutureWeatherByAirport({
  airport: "PEK"
})

7. Search Flight Itineraries

Search for purchasable flight options and get the lowest prices:

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

License

ISC License - See LICENSE for details.

Author

Variflight (https://mcp.variflight.com)

Version

Current version: 0.0.2

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers