Variflight MCP Server
OfficialThe Variflight MCP Server provides tools for querying flight information, weather data, and comfort metrics. With this server, you can:
Search flights between airports or cities by date using IATA codes
Retrieve flight details by flight number and date
Discover transfer options between cities
Access flight comfort metrics (Flight Happiness Index) including punctuality, amenities, and baggage allowances
Track real-time aircraft location using registration numbers
Obtain 3-day weather forecasts for specific airports
Find purchasable flight itineraries with lowest prices for given routes
Get today's date
Allows querying flight information using IATA airport codes for searching flights, retrieving transfer options, and obtaining weather forecasts at airports.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Variflight MCP Serversearch flights from Beijing to Shanghai on March 20th"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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"
}
}
}
}Related MCP server: Aviation Weather MCP Server
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"
})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
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/variflight/variflight-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server