# FlightStats MCP

> FlightStats MCP tracks global aviation data in real time. Query live flight progress, check airport departure and arrival boards, monitor specific routes between any two airports, or pinpoint active aircraft using coordinates. It gives your AI agent immediate access to current gate assignments, delay predictions, historical performance records, and even local weather reports for anywhere on earth.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Tags:** flight-tracking, airport-status, aviation-data, real-time-flights, flight-schedules

## Description

This MCP connects your AI client directly to global aviation data streams. You can ask it anything about air travel—from checking the live status of a specific flight number to listing every scheduled arrival at Heathrow today. It lets you query real-time coordinates, track aircraft position against a map, and analyze historical performance metrics for both flights and airport routes.

Need to plan a complex journey? You can ask it to find connecting options between two major hubs or check what the weather is like before takeoff. The system also tracks things that happen over time; you can get past data on flight delays or view historical status boards for an airport. Since Vinkius hosts this MCP, you connect your preferred AI agent once and gain access to this powerful set of aviation tools alongside thousands of others.

## Tools

### get_active_airlines
Retrieves the list of currently operating airlines globally.

### get_active_airports
Gets a comprehensive list of all active airports.

### get_airport_by_code
Pulls detailed information about an airport using its specific code.

### get_airport_status
Provides the current list of scheduled departures or arrivals for a given airport.

### get_connections
Finds and lists possible connecting flight options between two named airports.

### create_multi_flight_alert
Sets up a rule that alerts you whenever multiple flights arrive at a specific airport.

### create_single_flight_alert
Establishes an alert rule for one single, specific flight number.

### get_delay_index
Calculates a delay index score (0 to 5.0) based on recent departure history at an airport.

### get_equipment_by_code
Retrieves specific details about aircraft equipment using its IATA code.

### get_fids
Fetches the raw Flight Information Display System (FIDS) data for an airport.

### get_flight_status
Checks the current, real-time status of a flight using its carrier and number.

### get_flight_track
Gathers live positional data for an aircraft, including coordinates and altitude.

### get_flights_near
Identifies all active flights flying within a specified geographic area.

### get_historical_airport_status
Retrieves past departure status records for an airport on previous dates.

### get_historical_flight_status
Checks the recorded flight status for a specific flight number from a prior date.

### get_historical_route_status
Retrieves past performance data and status records for an entire route.

### get_ratings_by_flight
Gets the official on-time performance rating for a specific flight number.

### get_ratings_by_route
Determines the average on-time performance rating for an entire air route.

### get_route_status
Checks the current status and expected timing for a specific flight path between two points.

### get_scheduled_flights_by_flight
Finds future scheduled flights for a carrier and flight number over time.

### get_scheduled_flights_by_route
Lists all planned future flights that operate along a specific route.

### get_weather
Retrieves current and forecast weather data (METAR/TAF) for an airport.

## Prompt Examples

**Prompt:** 
```
Check the status of flight UA 240 departing today.
```

**Response:** 
```
I've queried `get_flight_status` for United Airlines flight 240. The flight is currently on schedule, departing from Gate C12 at 3:45 PM and estimated to arrive at 6:12 PM.
```

**Prompt:** 
```
What are the arrivals at Heathrow (LHR) airport for the 14:00 hour today?
```

**Response:** 
```
Using `get_airport_status` for LHR arrivals at 14:00, I found 12 scheduled flights. Notable arrivals include BA 212 from Boston (landed early at 13:50) and VS 104 from Atlanta (delayed to 14:15).
```

**Prompt:** 
```
Find active flights within 25 miles of coordinates 45.515, -122.679.
```

**Response:** 
```
Invoking `get_flights_near`... I detected 3 active flights in this radius: AS 342 (Boeing 737 at 12,000ft), QX 5021 (Embraer E175 descending to PDX), and UA 1822 (Airbus A320 cruising at 34,000ft).
```

## Capabilities

### Track real-time flight movement
Get the current position, speed, altitude, and status for any active aircraft in the sky.

### Check airport schedules
Retrieve live or planned departure and arrival lists for specific airports at any given time.

### Analyze historical flight data
Pull performance reports, including past delays and on-time ratings, for specific routes or flights.

### Map out connections and paths
Find all possible connecting flights between two specified airports or analyze the full route status between them.

### Determine flight proximity
Locate active aircraft currently flying within a defined geographic radius of specific coordinates.

## Use Cases

### A passenger needs an urgent update on their connection.
The traveler asks the agent about a delayed flight. Instead of calling the airline, the agent runs get_flight_status and immediately reports that the plane is now estimated to arrive at 14:15, giving them accurate timing for their next transfer.

### An event organizer needs to coordinate ground staff.
The planner asks about arrivals at a major airport. The agent uses get_airport_status to list all incoming flights and cross-references it with get_delay_index, identifying which groups might be running late.

### A corporate travel team needs reliable planning data.
The manager asks for the best way to get from Miami to London next month. The agent uses get_scheduled_flights_by_route to show all available options and their expected paths, allowing the team to choose the most optimal itinerary.

### A maintenance crew needs to check aircraft specs.
The technician asks for details on a plane type. The agent uses get_equipment_by_code to retrieve specific technical data about the aircraft's installed equipment, saving them from manual database lookups.

## Benefits

- You immediately know the status of a flight by querying its live progress using get_flight_status. This removes the need to visit multiple airline websites just to check gate assignments and delay estimates.
- Track aircraft position in real time with get_flight_track. You can see coordinates, speed, and altitude for an active plane, giving you granular visibility far beyond a simple 'on schedule' message.
- Plan complex itineraries by using get_connections. Instead of guessing if there’s a viable path from City A to City B, the MCP shows all possible connecting flights between two airports.
- Manage risk and predict delays by running historical reports like get_historical_route_status. This lets you assess reliability on certain routes before committing resources.
- Stay informed about conditions on the ground using get_weather. Before planning a trip, your agent can pull METAR/TAF data to check for immediate weather hazards at any airport.

## How It Works

The bottom line is you get operational intelligence on global air travel without ever leaving your chat window.

1. Subscribe to the FlightStats MCP and enter your required App ID and App Key.
2. Your AI client recognizes the available tools, making aviation data accessible via natural language prompts.
3. The agent executes the necessary tool call, retrieving precise, up-to-the-minute flight and airport information.

## Frequently Asked Questions

**How often does FlightStats MCP update real-time data?**
The system updates live flight tracking and airport status in near real-time. This means changes like gate assignments or major delays are reflected quickly, allowing for immediate operational adjustments.

**Can I check historical records using FlightStats MCP?**
Yes. You can pull past data using get_historical_flight_status or get_historical_route_status. This is crucial for analyzing reliability and planning future routes based on actual performance.

**Does FlightStats MCP include weather forecasts?**
Yes, it includes local weather information. You can use the get_weather tool to fetch METAR/TAF data for any airport before travel or operations begin.

**What if I need to track multiple flights at once using FlightStats MCP?**
You don't have to list them one by one. You can use get_airport_status and ask the agent for all arrivals today, which provides a consolidated view of many scheduled flights.

**How do I find out if an airport is having major delays?**
You should check the delay index by calling get_delay_index. This tool gives you a specific score (0 to 5.0) based on recent departure cancellations and delays, giving a quick risk assessment.