mcpField
A
Airlabs Mcp Server

Airlabs Mcp Server

Local
github.com/airlabs-coDeveloper Tools0Updated 18w ago

About Airlabs Mcp Server

Airlabs Mcp Server connects the AirLabs aviation data API to MCP for AI assistants querying live flights, airport schedules, and reference data in natural language. It also supports delay monitoring, aircraft tracking, and airport-code lookup.

Key features

  1. 01Check live flight status
  2. 02View airport departure and arrival schedules
  3. 03Monitor flights exceeding delay thresholds
  4. 04Track live aircraft positions
  5. 05Look up airports, routes, and fleets

Use cases

  1. 01Check whether a flight is on time and view gate details
  2. 02Review departures and arrivals at an airport
  3. 03Find aircraft operating in a given area

MCP support

The server provides 10 tools to MCP clients over stdio and queries aviation data through the AirLabs API. An AirLabs API key is required.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"airlabs": {
"command": "npx",
"args": [
"-y",
"@airlabs-co/airlabs-mcp"
],
"env": {
"AIRLABS_API_KEY": "<AIRLABS_API_KEY>"
}
}
}
}
Run commandnpx -y @airlabs-co/airlabs-mcp
Environment variables to set
AIRLABS_API_KEYSecret

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@airlabs-co/airlabs-mcp

Tools

12

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
_fieldsstringNoComma-separated fields to return, to keep the response small, e.g. 'status,arr_estimated,arr_delayed,arr_terminal,arr_gate'.
flight_iatastringNoFlight IATA code-number, e.g. 'BA117', 'AA6'.
flight_icaostringNoFlight ICAO code-number, e.g. 'BAW117'. Alternative to flight_iata.

Details

From the project README

AirLabs MCP Server

License: MIT

This Model Context Protocol (MCP) server provides access to the AirLabs aviation data API. It lets AI assistants such as Claude Desktop and Cursor access real-time flight data, airport schedules, delays, and reference databases for airlines, airports, aircraft fleets and routes — directly through natural-language questions.

The entire server lives in a single file (index.ts): tool definitions, the AirLabs HTTP client, request handling and the stdio transport.

Features

  • Live flight status — look up any flight by number and get status, gate, terminal and delay.
  • Airport schedules — departures and arrivals boards for any airport.
  • Delay monitoring — find flights delayed beyond a threshold at an airport or airline.
  • Real-time positions — live aircraft coordinates, altitude, speed and heading by area, airline or registration.
  • Nearest airport — closest airports to any coordinate.
  • Reference databases — airlines, airports, aircraft fleets (by tail number or ICAO24 hex) and route networks.
  • Code resolution — turn a place or airline name into its IATA/ICAO code.

Prerequisites

  1. Node.js 18.0.0 or higher.
  2. AirLabs API key — get a free key at https://airlabs.co/signup.

Installation

Via npm
npm install -g @airlabs-co/airlabs-mcp

Configuration

Claude Desktop Integration

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "airlabs": {
      "command": "npx",
      "args": ["@airlabs-co/airlabs-mcp@latest"],
      "env": {
        "AIRLABS_API_KEY": "your_api_key_here"
      }
    }
  }
}

Notes:

  • Replace your_api_key_here with your actual AirLabs API key.
  • Restart Claude Desktop after editing the config.
  • If you build from source locally, use "command": "node", "args": ["/path/to/build/index.js"].
Other MCP Clients

Run the server directly over stdio:

AIRLABS_API_KEY=your_api_key_here npx @airlabs/airlabs-mcp

Available Tools

ToolAirLabs endpointPurpose
get_flight_status/flightLive status of one flight by IATA/ICAO number
get_airport_schedule/schedulesDepartures / arrivals board for an airport
monitor_delays/delaysFlights delayed beyond a threshold
track_live_flights/flightsLive aircraft positions by area, airline or registration
find_nearest_airport/nearbyClosest airports to a coordinate
search_airport_code/suggestResolve a name to an IATA/ICAO code
get_airline_info/airlinesAirline details by code
get_airport_info/airportsAirport details by code
lookup_aircraft/fleetsAircraft by registration or ICAO24 hex
find_routes/routesWhich airlines fly a given route

All tools accept an optional _fields parameter (where the endpoint supports it) to return only selected fields and keep responses compact.

Usage Examples

Once configured, just ask your assistant:

  • "Is flight BA117 on time?" → get_flight_status
  • "What flights are leaving JFK today?" → get_airport_schedule
  • "Are arrivals delayed at LAX by more than 30 minutes?" → monitor_delays
  • "Show me planes flying over New York." → track_live_flights
  • "What aircraft is registration N790AN?" → lookup_aircraft
  • "Which airlines fly from London to Tokyo?" → find_routes

Development

Building from source
git clone https://github.com/airlabs-co/airlabs-mcp.git
cd airlabs-mcp
npm install
npm run build
Contributing
  1. Fork the repository.
  2. Create a feature branch.
  3. Make your changes.
  4. Submit a pull request.

Support

License

MIT License — see LICENSE.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.