Mmcp.market

Variflight MCP server

by variflight·io.github.variflight/variflight-mcp·v1.1.0

VariFlight's official MCP server provides tools to query flight, weather, comfort, and fare data.

A85/100grade A
What users say
No reviews yet
Be the first
Safety scan
A85/100

full report

Adoption
Growing

33 stars821 downloads/wk

Reviews

Write one

Nobody has reviewed Variflight yet.

If you have run it, two minutes of your experience saves the next person an afternoon.

Variflight tools (9, 1 write)

write = sends, deletes, buys or posts

Read from the package source without running it. The installed server may list more.

  • flightHappinessIndex

    Use this tool when the user wants comfort-focused details for a known flight, such as punctuality, aircraft type, cabin configuration, seat comfort, meals, entertainment, or other onboard experience details. This tool works best when a specific flight number and date are already known. Do not use it for fare search, itinerary recommendation, or raw price comparison.

  • getFlightPriceByCities

    Use this tool when the user needs structured raw pricing data. It returns sale flights between two cities as a list of flights, and each flight contains cabin entries with prices. This is better than searchFlightItineraries when the caller needs per-flight, per-cabin price details instead of a natural-language recommendation summary. All city codes must be valid IATA 3-letter codes (e.g. BJS for B

  • getFlightTransferInfowrite action

    Search connecting flight options between a departure city and an arrival city on a specific date. Use city IATA 3-letter codes such as BJS, SHA, or LAX. This tool is for transfer or connection itineraries between cities, not for airport weather, airport facilities, or realtime tracking. Date must be in YYYY-MM-DD format. For today's date, use getTodayDate instead of hardcoding.

  • getFutureWeatherByAirport

    Get the 3-day airport weather forecast for today, tomorrow, and the day after tomorrow by airport IATA 3-letter code, such as PEK, SHA, CAN, or HFE.

  • getRealtimeLocationByAnum

    Get realtime flight location by aircraft registration number, also called tail number, such as B2021 or B2022. Use this only when the aircraft registration number is known. If the registration number is unknown, first try to find the flight through searchFlightsByNumber and then use the aircraft registration number from that result.

  • getTodayDate

    Get today's date in local timezone (YYYY-MM-DD format). Use this tool whenever you need today's date - NEVER hardcode dates.

  • searchFlightItineraries

    Use this tool when the user wants a concise recommended itinerary summary in natural language. It returns a text-style result that summarizes how many sale flights match, the overall lowest price, the shortest duration, and several recommended options. Use city IATA 3-letter codes only. If the user instead needs structured raw flight pricing data with each flight and cabin price, use getFlightPric

  • searchFlightsByDepArr

    Search direct flights by departure and arrival location plus date. Use depcity and arrcity when the user specifies cities such as BJS or SHA. Use dep and arr when the user specifies exact airports such as PEK or PVG. Provide one departure field and one arrival field, and do not mix city and airport codes for the same side. All codes must be valid IATA 3-letter codes. Date must be in YYYY-MM-DD for

  • searchFlightsByNumber

    Search a flight by flight number and date. The flight number must include the airline code, for example MU2157 or CZ3969. dep and arr are optional and should only be provided when the exact airports are known. Date must be in YYYY-MM-DD format. For today's date, use getTodayDate instead of hardcoding.

Public scan report

scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it

no findings
  • Code scan9 source files scanned25/25
  • –Live reliabilityno gateway calls yet and no remote to proben/a
  • –Tool poisoningtools not inspected (local package is not executed); not countedn/a
  • Auth qualitystatic API keys via environment variables6/15
  • Maintenancelast push 0 days ago15/15
  • Maintainer identityregistry namespace matches repository owner; GitHub account older than a year9/10
Overall 85/100. Components that don't apply are left out of the denominator. Any critical finding is an F.RubricAppeal a findingJSON

What the publisher says

From the Variflight repository's README, as published. We do not edit it. Read it on GitHub

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

Nothing above is checked by us. What we check is on the safety report.

Install directly

Runs npx -y @variflight-ai/variflight-mcp on your machine. Read the scan report first; the gateway never runs local packages.

claude mcp add variflight-mcp -- npx -y @variflight-ai/variflight-mcp
Add to Cursor

Variflight: common questions

Is Variflight MCP server safe?
Yes, by our scan: it is graded A (85/100). Read the Variflight safety report
How do I install Variflight?
It runs on your machine. Copy the Claude Code, Claude Desktop or Cursor config from the install section.
Does Variflight need an API key?
Yes. The registry entry asks for VARIFLIGHT_API_KEY.
Is Variflight maintained?
The last commit was in the last day (2026-09-26). The latest release is v1.1.0.
What can I use instead of Variflight?
Servers from other publishers that do the same job: Flight Fares MCP server, Weather Data MCP Server and Noaa Spaceweather MCP server. Compare all Variflight alternatives.

Alternatives to Variflight

Same job from other publishers: the closest match first, then the best rated.

All Variflight alternatives →
  • Flight Fares
    Cheapest observed fare, 6-month low and best departure date for a city pair.
    A
  • Weather Data MCP Server
    17 weather tools, no API keys: forecasts, alerts, air quality, marine, radar, lightning, wildfires
    A
  • Noaa Spaceweather
    NOAA SWPC space weather: storm scales, Kp index, aurora forecasts, solar wind, activity, alerts.
    A
  • Brasil API
    MCP server for BrasilAPI — CEP, CNPJ, banks, FIPE, holidays, weather
    A
  • Agentic Ledger
    Local-first flight recorder for AI agents: sessions, costs, loop runs, and stuck-loop flags.
    A

More from variflight →