PluginBench
MCP Server
Maintained

io.github.variflight/variflight-mcp MCP Server

io.github.variflight/variflight-mcp

Query real-time flight, weather, comfort, and fare data via VariFlight's official MCP server.

What is the io.github.variflight/variflight-mcp MCP server?

The VariFlight MCP server provides tools to query flight information, weather data, and flight comfort metrics. It enables AI agents to search flights by route or number, track aircraft in real-time, retrieve airport weather forecasts, and access pricing and itinerary recommendations. Requires a VariFlight API key for authentication.

VariFlight's MCP server integrates comprehensive flight data into AI workflows. Search direct and connecting flights, get real-time aircraft locations, check airport weather, retrieve comfort metrics (punctuality, meals, entertainment), and access pricing across cabin classes. Ideal for travel planning assistants, booking agents, and flight information systems.

How to install io.github.variflight/variflight-mcp

Copy-paste configuration for popular MCP clients.

transport: stdio
Config generated by PluginBench — verify against the source before use.
Environment / auth
  • VARIFLIGHT_API_KEY
    required
    secret

    Your API key for the service

~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "variflight-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@variflight-ai/variflight-mcp"
      ],
      "env": {
        "VARIFLIGHT_API_KEY": "<YOUR_VARIFLIGHT_API_KEY>"
      }
    }
  }
}

Tools & capabilities

Tools this server exposes to the agent.

  • searchFlightsByDepArr — Search direct flights by departure and arrival city or airport codes on a specific date, with optional paging and detail levels.
  • searchFlightsByNumber — Search a specific flight by flight number and date.
  • getFlightTransferInfo — Search connecting flight options between departure and arrival cities.
  • flightHappinessIndex — Get comfort-focused details for a flight including punctuality, aircraft type, cabin configuration, meals, and entertainment.
  • getRealtimeLocationByAnum — Track real-time flight location using aircraft registration number (tail number).
  • getFutureWeatherByAirport — Get 3-day airport weather forecast for a specified airport.
  • searchFlightItineraries — Get natural-language summary with recommended flight options, lowest price, shortest duration, and suggested itineraries.
  • getFlightPriceByCities — Get structured raw sale-flight data between two cities with cabin-level pricing for each flight.

Use cases

  • Search available flights between two cities and compare prices, duration, and comfort metrics to help users choose the best option.
  • Track a specific aircraft in real-time using its tail number to monitor flight progress and provide live updates.
  • Retrieve airport weather forecasts to inform flight booking decisions and alert users to potential delays.
  • Build a travel assistant that recommends multi-leg itineraries with natural-language summaries and pricing across cabin classes.
  • Query flight comfort details (meals, entertainment, punctuality history) to help frequent flyers select preferred airlines and aircraft.

io.github.variflight/variflight-mcp MCP server FAQ

What is the VariFlight MCP server?

It's an official MCP server that provides tools to query real-time flight information, weather data, comfort metrics, and pricing from VariFlight's database. It enables AI agents to search flights, track aircraft, and access travel-related data.

Is VariFlight MCP free to use?

A VariFlight API key is required to use the server. You can obtain one from https://mcp.variflight.com; pricing details are available on their site.

How do I install it in Cursor or Claude?

Install via npm using `@variflight-ai/variflight-mcp`. Add it to your MCP configuration with the command `npx -y @variflight-ai/variflight-mcp` and set the `VARIFLIGHT_API_KEY` environment variable.

What authentication is required?

You must provide a VariFlight API key via the `VARIFLIGHT_API_KEY` environment variable. Obtain a key from https://mcp.variflight.com.

Can I search connecting flights?

Yes, use the `getFlightTransferInfo` tool to search connecting flight options between departure and arrival cities.

Does it support real-time flight tracking?

Yes, the `getRealtimeLocationByAnum` tool tracks real-time aircraft location using the aircraft registration number (tail number).

README (reference)

Source of truth, from the repository.

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 direct flights by city or airport code on a specific date. Use city codes like BJS or exact airport codes like PEK, but do not mix city and airport codes for the same side:

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

2. Search Flights by Number

Search a specific flight by flight number and date:

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

3. Get Flight Transfer Information

Search connecting flight options between departure and arrival cities:

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

searchFlightsByDepArr and getFlightTransferInfo also accept optional paging parameters. Busy routes can return dozens of results with many fields each, so use these to keep responses small:

  • limit: maximum number of results to return
  • offset: number of results to skip; pass next_offset from the previous response to get the next page. Each page is a separate billed call.
  • detail: "summary" returns only the core fields of each result; "full" (the default) returns every field

When any of them is set, the response also includes total, offset, returned and, if more results exist, next_offset. Without them, the response is unchanged.

searchFlightsByDepArr({
  depcity: "BJS",
  arrcity: "SHA",
  date: "2024-03-20",
  limit: 20,
  detail: "summary"
})

4. Flight Happiness Index

Get comfort-focused details for a known flight, such as punctuality, aircraft type, cabin configuration, meals, and entertainment:

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

5. Real-time Aircraft Location

Track realtime flight location using the aircraft registration number, also called tail number:

getRealtimeLocationByAnum({
  anum: "B2021"
})

6. Airport Weather Forecast

Get the 3-day airport weather forecast:

getFutureWeatherByAirport({
  airport: "PEK"
})

7. Search Flight Itineraries

Get a natural-language summary with recommended flight options, overall lowest price, shortest duration, and several suggested itineraries:

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

8. Get Flight Prices by Cities

Get structured raw sale-flight data between two cities, with each flight returning cabin-level prices:

getFlightPriceByCities({
  dep_city: "BJS",  // Beijing
  arr_city: "SHA",  // Shanghai
  dep_date: "2026-04-20"
})

License

ISC License - See LICENSE for details.

Author

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

Version

Current version: 1.0.3

Related MCP servers

AI image, video & audio generation tools for AI agents, powered by Varoriya.

View repository →

Five years of 1-minute forex, index and crypto candles, plus a live bridge to a trader's chart.

0
JavaScript
MIT
View repository →

Convert, validate, and inspect AI agent memories across formats

4
Python
Apache-2.0
View repository →

Persistent cognitive memory for AI agents—semantic search, Hebbian learning, knowledge graphs, zero LLM calls.

273
Rust
Apache-2.0
View repository →

Local-first AI memory control plane with knowledge graphs, 7-layer retrieval, and governance controls for agent teams.

216
Python
AGPL-3.0
View repository →

Stay ahead of pollution with our Air Quality MCP. Access real-time air quality data, including

0
View repository →