2,500+ MCP servers ready to use
Vinkius

FlightAware MCP Server for Mastra AI 12 tools — connect in under 2 minutes

Built by Vinkius GDPR 12 Tools SDK

Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect FlightAware through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.

Vinkius supports streamable HTTP and SSE.

typescript
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";

async function main() {
  // Your Vinkius token. get it at cloud.vinkius.com
  const mcpClient = await createMCPClient({
    servers: {
      "flightaware": {
        url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
      },
    },
  });

  const tools = await mcpClient.getTools();
  const agent = new Agent({
    name: "FlightAware Agent",
    instructions:
      "You help users interact with FlightAware " +
      "using 12 tools.",
    model: openai("gpt-4o"),
    tools,
  });

  const result = await agent.generate(
    "What can I do with FlightAware?"
  );
  console.log(result.text);
}

main();
FlightAware
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About FlightAware MCP Server

Connect your FlightAware AeroAPI aviation data platform to any AI agent and take full control of global flight tracking, airport operations monitoring, and historical flight analysis through natural conversation.

Mastra's agent abstraction provides a clean separation between LLM logic and FlightAware tool infrastructure. Connect 12 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

What you can do

  • Flight Search — Find active and recent flights by flight number, tail number, or origin-destination pair
  • Flight Status — Get complete status details including gates, runways, scheduled vs. actual times, and delay indicators
  • Route Tracking — Access filed flight plans with all waypoints, airways, and altitude restrictions
  • Flight Maps — Retrieve static map images showing complete flight tracks from departure to arrival
  • Airport Intelligence — Query airport static data, arrivals, departures, and real-time weather observations
  • Airline Operations — Monitor entire airline fleets with all active flights by operator/airline code
  • Aircraft Registry — Look up aircraft specifications, ownership, registration status, and equipment type
  • Historical Analysis — Access flight history dating back to 2011 with complete track points and performance data
  • Route Planning — Discover commonly filed routes between any two airports for flight planning and research
  • Weather Impact — Check METAR/TAF weather data to assess meteorological impact on flight operations

The FlightAware MCP Server exposes 12 tools through the Vinkius. Connect it to Mastra AI in under two minutes — no API keys to rotate, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

How to Connect FlightAware to Mastra AI via MCP

Follow these steps to integrate the FlightAware MCP Server with Mastra AI.

01

Install dependencies

Run npm install @mastra/core @mastra/mcp @ai-sdk/openai

02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token

03

Run the agent

Save to agent.ts and run with npx tsx agent.ts

04

Explore tools

Mastra discovers 12 tools from FlightAware via MCP

Why Use Mastra AI with the FlightAware MCP Server

Mastra AI provides unique advantages when paired with FlightAware through the Model Context Protocol.

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add FlightAware without touching business code

02

Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

03

TypeScript-native: full type inference for every FlightAware tool response with IDE autocomplete and compile-time checks

04

One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

FlightAware + Mastra AI Use Cases

Practical scenarios where Mastra AI combined with the FlightAware MCP Server delivers measurable value.

01

Automated workflows: build multi-step agents that query FlightAware, process results, and trigger downstream actions in a typed pipeline

02

SaaS integrations: embed FlightAware as a first-class tool in your product's AI features with Mastra's clean agent API

03

Background jobs: schedule Mastra agents to query FlightAware on a cron and store results in your database automatically

04

Multi-agent systems: create specialist agents that collaborate using FlightAware tools alongside other MCP servers

FlightAware MCP Tools for Mastra AI (12)

These 12 tools become available when you connect FlightAware to Mastra AI via MCP:

01

get_aircraft_info

g., "N12345" for US-registered, "G-EUUU" for UK). Returns aircraft type (manufacturer and model), registration country, owner/operator information, registration status, year built, engine type (jet, turboprop, piston), number of engines, and category (airline, business jet, private, cargo, military). Critical for aviation enthusiasts, fleet tracking, aircraft utilization analysis, and private aviation monitoring. AI agents should reference this when users ask "tell me about aircraft N12345", "who owns this tail number", or need aircraft specifications to contextualize flight data. Get registration details and specifications for a specific aircraft

02

get_airport_arrivals

Returns a list of inbound flights with airline/operator, flight number, aircraft type, origin airport, scheduled and estimated/actual arrival times, arrival runway and gate, and current flight status (en-route, landed, delayed, cancelled, diverted). Essential for airport operations management, passenger pickup coordination, ground handling planning, and arrival delay monitoring. AI agents should reference this when users ask "what flights are arriving at X", "show me arrivals at Y airport", or need to track inbound flights for a specific destination. List arriving flights at a specific airport

03

get_airport_departures

Returns a list of outbound flights with airline/operator, flight number, aircraft type, destination airport, scheduled and estimated/actual departure times, departure runway and gate, and current flight status (scheduled, boarding, departed, delayed, cancelled, diverted). Critical for airport operations coordination, passenger departure monitoring, gate management, and departure delay tracking. AI agents use this when users ask "what flights are leaving from X", "show me departures at Y airport", or need to track outbound flights from a specific origin. List departing flights from a specific airport

04

get_airport_info

g., "KJFK" for New York JFK, "KLAX" for Los Angeles International). Returns airport name, location (city, state, country), ICAO/IATA/FAA/LID codes, geographic coordinates (latitude, longitude, elevation), timezone, runway information, and canonical FlightAware ID. Essential for airport identification, travel planning, flight briefing preparation, and geographic reference. AI agents should use this when users ask "tell me about airport X", "what is the ICAO code for Y", or need airport metadata to contextualize flight queries. Get static information and details for a specific airport

05

get_airport_routes

Returns route strings, frequency of use, typical altitudes, and associated flight examples. Essential for flight planning, route optimization analysis, aviation research, and pilot briefing preparation. AI agents should reference this when users ask "what routes are flown between X and Y", "show me common paths from JFK to LAX", or need to understand routing options between airport pairs for planning or analysis purposes. Get routes between two specific airports

06

get_airport_weather

Returns METAR (avi routine weather report) data including wind speed and direction, visibility, cloud layers, temperature, dewpoint, altimeter setting, present weather phenomena (rain, snow, fog, thunderstorms), and automated weather remarks. Also provides TAF (terminal aerodrome forecast) for upcoming weather conditions. Essential for flight planning, aviation safety assessment, delay prediction due to weather, and pilot briefing preparation. AI agents should query this when users ask "what is the weather at X airport", "is weather affecting flights at Y", or need to assess meteorological impact on flight operations. Get current weather observations and forecast for a specific airport

07

get_flight_map

The map shows the filed route, actual track points, departure and arrival airports, and current aircraft position (if airborne). Useful for visual flight presentation, passenger communication, operations dashboards, and flight tracking displays. AI agents should reference this when users request to "show me the flight path" or "where is this flight on a map". Returns image URL that can be embedded in responses or displayed directly. Get a static map image showing the flight track

08

get_flight_route

Returns the route as a structured list of fixes, navaids, and airway segments from departure to arrival airport. Essential for flight following, aviation enthusiast tracking, pilot briefing preparation, and route analysis. AI agents use this to visualize flight paths, compare filed routes against actual tracks, analyze common routing patterns between airport pairs, and provide pilots with route reference data. Get the filed flight plan route for a specific flight

09

get_flight_status

Returns departure and arrival airports with terminals and gates, scheduled/estimated/actual times for pushback, takeoff, landing, and arrival, current flight status (en-route, landed, diverted, cancelled, in-hold), delay indicators, aircraft registration and type, route description, and diversion airports if applicable. Critical for passenger travel updates, airline operations coordination, and flight tracking dashboards. AI agents should reference this when users request detailed status for a known flight ID, including gate assignments, delay reasons, and actual vs. scheduled time comparisons. Get complete status details for a specific flight

10

get_historical_flights

Access continuous flight history data dating back to January 1, 2011, including actual departure and arrival times, route flown, all track points (latitude, longitude, altitude, ground speed, timestamp), arrival status, and delay indicators. Essential for post-flight analysis, operational trend identification, schedule reliability assessment, on-time performance tracking, and aviation safety investigations. AI agents use this when users ask "show me the history of flight X", "how has this route performed over time", or need to analyze historical flight patterns for reliability studies. Get historical flight data and track for a specific flight

11

get_operator_flights

g., "UAL" for United Airlines, "DAL" for Delta, "BAW" for British Airways). Returns flight numbers, aircraft types, origin-destination pairs, scheduled and actual times, and current status for all flights in the operator fleet. Essential for airline operations monitoring, fleet utilization analysis, competitor intelligence, and passenger rebooking during disruptions. AI agents use this when users ask "show me all United flights", "what is Delta flying right now", or need to track an entire airline operational picture. List all flights operated by a specific airline or operator

12

search_flights

The query can be a flight number (e.g., "UAL123"), aircraft tail number/registration (e.g., "N12345"), or origin-destination pair (e.g., "KJFK-KLAX"). Returns complete flight identification, airline/operator, aircraft type, departure and arrival airports, scheduled and actual times, current position (if airborne), altitude, ground speed, and flight status (en-route, landed, diverted, cancelled). Essential for real-time flight tracking, passenger pick-up coordination, logistics planning, and aviation operations monitoring. AI agents should use this when users ask "where is flight X", "what flights are flying from A to B", or "show me all flights by tail number N". Search for active and recent flights by flight number, tail number, or route

Example Prompts for FlightAware in Mastra AI

Ready-to-use prompts you can give your Mastra AI agent to start working with FlightAware immediately.

01

"Search for all active United Airlines flights from Newark (KEWR) to San Francisco (KSFO)."

02

"What is the current weather at Chicago O'Hare (KORD) and are flights being delayed due to conditions?"

03

"Show me the complete flight history and track points for British Airways flight BAW117 from London to New York yesterday."

Troubleshooting FlightAware MCP Server with Mastra AI

Common issues when connecting FlightAware to Mastra AI through the Vinkius, and how to resolve them.

01

createMCPClient not exported

Install: npm install @mastra/mcp

FlightAware + Mastra AI FAQ

Common questions about integrating FlightAware MCP Server with Mastra AI.

01

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
02

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
03

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

Connect FlightAware to Mastra AI

Get your token, paste the configuration, and start using 12 tools in under 2 minutes. No API key management needed.