home / mcp / fl24api mcp server

Fl24api MCP Server

MCP server providing access to the Flightradar24 API for real-time and historical flight data

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "bach-ai-tools-fr24api-mcp": {
      "command": "npx",
      "args": [
        "@bachstudio/fr24api-mcp@latest"
      ],
      "env": {
        "FR24_API_KEY": "YOUR_API_KEY"
      }
    }
  }
}

This MCP server provides access to Flightradar24 data for real-time and historical flights, enabling AI assistants and apps to query live positions, aircraft and airport details, routes, and flight histories through a standardized protocol.

How to use

You connect your MCP client to the fr24api MCP server to query live or historic flight data. Use the available tools to request real-time positions, flight summaries, aircraft information, and airport details. Provide the required parameters such as area bounds, flight identifiers, routes, or airport codes to fetch the data you need. The server handles authentication via your API key and returns structured results you can integrate into your app or assistant.

How to install

Prerequisites: you must have Node.js 18.0.0 or higher and a Flightradar24 API key.

# Install the MCP server globally
npm install -g @bachstudio/fr24api-mcp

Additional configuration and usage notes

Configure your MCP client to run the server as shown below. You can run the MCP server via npx or set up an explicit CLI command for your client.

{
  "mcpServers": {
    "fr24api": {
      "command": "npx",
      "args": ["@bachstudio/fr24api-mcp@latest"],
      "env": {
        "FR24_API_KEY": "your_api_key_here"
      }
    }
  }
}

Using with Claude Desktop or other MCP clients

If you are using Claude Desktop, add the MCP server configuration to your client configuration so Claude can access real-time and historical flight data.

{
  "mcpServers": {
    "fr24api": {
      "command": "npx",
      "args": ["@bachstudio/fr24api-mcp@latest"],
      "env": {
        "FR24_API_KEY": "your_api_key_here"
      }
    }
  }
}

Running with other MCP clients

If you prefer running directly from your environment, set the API key in the command line and start the MCP server.

FR24_API_KEY=your_api_key_here npx @bachstudio/fr24api-mcp

Available tools

get_live_flights_positions_light

Fetch real-time positions with basic flight data such as position, altitude, and speed for flights matching the specified criteria.

get_live_flights_positions_full

Fetch real-time positions with full flight details, including extended metadata and tracking information.

get_live_flights_count

Return the number of live flights that match your query parameters.

get_historic_flights_positions_full

Fetch historical flight positions with full details for a given timestamp window.

get_historic_flights_positions_light

Fetch historical flight positions with basic information for a given timestamp window.

get_historic_flights_count

Return the count of historical flights that match your query parameters.

get_flight_summary_full

Retrieve comprehensive takeoff/landing summaries for flights within a specified time frame and filters.

get_flight_summary_light

Retrieve essential takeoff/landing summaries for flights within a specified time frame and filters.

get_flight_summary_count

Return the count of flights in a summary query without applying sorting or limits.

get_flight_tracks

Get detailed positional tracks for a specific flight by its flight ID.

get_airline_info

Fetch airline information by ICAO code.

get_airport_info_light

Fetch basic airport information by IATA or ICAO code.

get_airport_info_full

Fetch comprehensive airport information including location and timezone by IATA or ICAO code.