@variflight-ai/tripmatch-mcp
v0.0.5
Published
Variflight Tripmatch MCP Server
Readme
Variflight Tripmatch MCP Server
Variflight Tripmatch MCP Server provides a set of tools to query flight and train information.
Variflight API Key
To use the Variflight Tripmatch 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/tripmatch-mcp"
],
"env": {
"VARIFLIGHT_API_KEY": "your_api_key_here"
}
}
}
}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 and Train Transfer Information
Find transfer options between cities, including both flight and train connections:
getFlightAndTrainTransferInfo({
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. Get Today's Date
Get today's date in YYYY-MM-DD format:
getTodayDate({})7. Airport Weather Forecast
Get 3-day weather forecast for airports:
getFutureWeatherByAirport({
airport: "PEK"
})8. Search Flight Itineraries
Search for purchasable flight options and get the lowest prices:
searchFlightItineraries({
depCityCode: "BJS", // Beijing
arrCityCode: "SHA", // Shanghai
depDate: "2025-04-20"
})9. Search Train Tickets
Search for train tickets between two stations on a specific date:
searchTrainTickets({
from: "合肥南", // Hefei South
to: "北京南", // Beijing South
date: "2024-03-25"
})10. Get Flight Price By Cities
Get flight price information by departure city, arrival city, and departure date:
getFlightPriceByCities({
dep_city: "HFE", // Hefei
arr_city: "CAN", // Guangzhou
dep_date: "2024-03-25"
})11. Search Train Stations
Search for train stations by keyword:
searchTrainStations({
query: "北京西" // Beijing West
})License
ISC License - See LICENSE for details.
Author
Variflight (https://ai.variflight.com)
Version
Current version: 0.0.1
