Variflight MCP Server

Variflight MCP Server

By variflight GitHub

A Model Context Protocol (MCP) server implementation for Variflight services.

variflight flight-information
Overview

What is Variflight MCP Server?

Variflight MCP Server is a Model Context Protocol (MCP) server implementation designed to provide flight information services, including querying flight data, weather information, and flight comfort metrics.

How to use Variflight MCP Server?

To use the Variflight MCP server, you need to obtain a Variflight API key from here. After acquiring the key, you can install the server using the provided command and set the API key in the environment variables.

Key features of Variflight MCP Server?

  • Search for flights by departure and arrival airports using IATA codes.
  • Search for flights using flight numbers.
  • Get flight transfer information between cities.
  • Access detailed flight comfort metrics through the Flight Happiness Index.
  • Track real-time aircraft locations.
  • Retrieve 3-day weather forecasts for airports.

Use cases of Variflight MCP Server?

  1. Finding flights between major cities like Beijing and Shanghai.
  2. Checking the comfort level of specific flights.
  3. Planning transfers between connecting flights.
  4. Monitoring real-time aircraft locations for flight tracking.
  5. Getting weather forecasts for travel planning.

FAQ from Variflight MCP Server?

  • Do I need an API key to use the Variflight MCP Server?

Yes, an API key is required to access the services provided by the server.

  • What kind of data can I retrieve using this server?

You can retrieve flight information, weather data, and comfort metrics for various flights.

  • Is there a cost associated with using the Variflight MCP Server?

The documentation does not specify any costs, but check the official site for any updates.

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

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

License

ISC License - See LICENSE for details.

Author

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

Version

Current version: 0.0.1

No tools information available.
No content found.