# flightradar24-mcp-server

> MCP Server

This repository provides a Claude Desktop MCP server that allows users to track flights in real-time using Flightradar24 data, including arrival times, airport status, and emergency flights. This repository provides

## Overview

- **Category:** Developer Tools
- **Language:** JavaScript
- **Stars:** 47
- **Forks:** 3
- **Owner:** sunsetcoder
- **GitHub:** https://github.com/sunsetcoder/flightradar24-mcp-server
- **Created:** 2024-12-13T21:47:10+00:00
- **Updated:** 2025-03-26T19:52:00+00:00
- **Source:** https://model-context-protocol.com/servers/flightradar24-realtime-flight-tracking-server

## Setup

## Setup

### 1. Prerequisites
- [Claude Desktop](https://claude.ai/desktop) installed on your computer
- A Flightradar24 API key (get one from [Flightradar24's website](https://www.flightradar24.com/premium))

### 2. Installation

1. Clone this repository somewhere on your computer:
   ```bash
   git clone https://github.com/sunsetcoder/flightradar24-mcp-server.git
   ```

2. Install dependencies & build the project:
   ```bash
   cd flightradar24-mcp-server
   npm install
   npm run build
   ```

### 3. Integration with Claude Desktop

1. Open your Claude Desktop configuration file:
   ```
   # On Mac:
   ~/Library/Application Support/Claude/claude_desktop_config.json
   
   # On Windows:
   %APPDATA%/Claude/claude_desktop_config.json
   ```

2. Add the following to the `mcpServers` object in your config:
   ```json
   {
     "mcpServers": {
       "flightradar24-server": {
         "command": "node",
         "args": [
           "/Users/<username>/<FULL_PATH...>/flightradar24-mcp-server/dist/index.js"
         ],
         "env": {
           "FR24_API_KEY": "your_api_key_here",
           "FR24_API_URL": "https://fr24api.flightradar24.com"
         }
       }
     }
   }
   ```

3. Important Steps:
   - Replace `/FULL/PATH/TO/flightradar24-mcp-server` with the actual full path to where you cloned the repository
   - Add your Flightradar24 API key in the `env` section
   - Make sure to use forward slashes (`/`) in the path, even on Windows

4. Restart Claude Desktop for the changes to take effect

## Environment Setup

1. Copy `.env.example` to `.env`:
   ```bash
   cp .env.example .env
   ```

2. Update the `.env` file with your actual Flightradar24 API key:
   ```env
   FR24_API_KEY=your_actual_api_key_here
   ```

## Tools

## Available Tools

		1. Track any flight in real-time (Track flights using Flightradar24 data).
		2. Get arrival and departure times for specific flights (Retrieve arrival and departure times).
		3. View the status of flights at an airport (Check flight status at an airport).
		4. Monitor emergency flights (Track emergency flights).
