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.
To use the Variflight MCP server, you need to have a Variflight API key. You can get it from here.
{
"mcpServers": {
"variflight": {
"command": "npx",
"args": [
"-y",
"@variflight-ai/variflight-mcp"
],
"env": {
"VARIFLIGHT_API_KEY": "your_api_key_here"
}
}
}
}
Search flights between airports using IATA codes:
searchFlightsByDepArr({
dep: "PEK", // Beijing
arr: "SHA", // Shanghai
date: "2024-03-20"
})
Search flights using flight number:
searchFlightsByNumber({
fnum: "MU2157",
date: "2024-03-20"
})
Find transfer options between cities:
getFlightTransferInfo({
depcity: "BJS",
arrcity: "LAX",
depdate: "2024-03-20"
})
Get detailed flight comfort metrics:
flightHappinessIndex({
fnum: "MU2157",
date: "2024-03-20"
})
Track aircraft location using registration number:
getRealtimeLocationByAnum({
anum: "B2021"
})
Get 3-day weather forecast for airports:
getFutureWeatherByAirport({
airport: "PEK"
})
Search for purchasable flight options and get the lowest prices:
searchFlightItineraries({
depCityCode: "BJS", // Beijing
arrCityCode: "SHA", // Shanghai
depDate: "2025-04-20"
})
ISC License - See LICENSE for details.
Variflight (https://mcp.variflight.com)
Current version: 0.0.2