Variflight Tripmatch

Variflight Tripmatch MCP Server provides a set of tools to query flight and train information.
  • typescript

0

GitHub Stars

typescript

Language

7 months ago

First Indexed

3 months ago

Catalog Refreshed

Documentation & install

Readme and setup notes from the catalogue, plus a client-ready config you can copy for your MCP host.

Installation

Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "variflight-tripmatch-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@variflight-ai/tripmatch-mcp"
      ],
      "env": {
        "VARIFLIGHT_API_KEY": "your_api_key_here"
      }
    }
  }
}

Variflight Tripmatch MCP Server provides a focused set of tools to query flight and train information through an MCP client. It enables you to search flights by route or number, retrieve transfer options, check happiness indices for flights, view today’s date, forecast airport weather, and search train schedules and prices.

How to use

You interact with the Variflight Tripmatch MCP Server through an MCP client. The server exposes tools you can invoke by name, supplying the required parameters. Use it to look up flights between airports or cities, check flight numbers on a specific date, plan transfers, evaluate flight quality and safety factors, and pull train schedules and prices. When you need today’s date or weather forecasts for an airport, you can query those as well.

Key usage patterns you can perform include:

  • Search flights by departure and arrival to find options on a given date for specific routes. If you’re using a city with multiple airports, provide depcity and arrcity; otherwise dep and arr are sufficient.
  • Search flights by number to get details for a specific flight on a given date. Include the airline code in the flight number and provide optional dep and arr if known.
  • Get flight and train transfer information for planning connections between a departure city and an arrival city on a chosen date.
  • Assess flight quality and related factors with the Flight Happiness Index to compare punctuality, amenities, safety protocols, and more.
  • Fetch today’s date in your local timezone for dynamic date-based queries.
  • Get an airport’s forecasted weather for today and the next two days to help with travel planning.
  • Search train tickets between two cities on a specific date to compare options and prices.
  • Retrieve flight prices between city pairs for specific departure dates to compare fares.
  • Search train stations by keyword to locate the right station for your journey.

How to install

Prerequisites: you need an environment capable of running Node.js and npm (Node.js 14+ is typically suitable, but use a supported LTS version for your platform). Ensure npm is available by running npm -v.

  1. Prepare the MCP configuration for the Variflight Tripmatch MCP Server by creating a configuration file with the following content. This config runs the MCP as a local process using npx and passes your Variflight API key via an environment variable.
{
  "mcpServers": {
    "variflight": {
      "command": "npx",
      "args": [
        "-y",
        "@variflight-ai/tripmatch-mcp"
      ],
      "env": {
        "VARIFLIGHT_API_KEY": "your_api_key_here"
      }
    }
  }
}

Run the MCP server

  1. Start the MCP server using your shell, providing the API key via environment variable.
VARIFLIGHT_API_KEY=your_api_key_here npx -y @variflight-ai/tripmatch-mcp

Available tools

searchFlightsByDepArr

Search flights by departure and arrival airports or cities on a specific date. Use depcity/arrcity for cities with multiple airports, otherwise use dep/arr. Date must be YYYY-MM-DD.

searchFlightsByNumber

Search flights by flight number and date. Include airline code in the number. Use dep/arr only if you know them. Date must be YYYY-MM-DD and use getTodayDate for today.

getFlightAndTrainTransferInfo

Get transfer information between a departure city and arrival city for a chosen departure date. Date must be YYYY-MM-DD and today should use getTodayDate if needed.

flightHappinessIndex

Obtain detailed information related to flight comparisons, health safety, baggage, environmental impact, aircraft configuration, and comfort-focused planning for a given flight.

getTodayDate

Retrieve today’s date in the local timezone in YYYY-MM-DD format.

getFutureWeatherByAirport

Fetch 3-day future weather forecast for an airport by its IATA code.

searchTrainTickets

Search for train tickets between two cities on a specific date.

getFlightPriceByCities

Get flight price information for a departure city, arrival city, and date.

searchTrainStations

Search train stations by a keyword.

Built by
VeilStrat
AI signals for GTM teams
© 2026 VeilStrat. All rights reserved.All systems operational