FlightRadar MCP Server

MIT License
  • Apple

Integrations

  • Provides flight tracking and status information for British Airways flights, including detailed information about specific flights, departure/arrival times, and terminal information.

  • Enables querying flight data using IATA flight codes to retrieve detailed flight information and status updates.

  • Provides real-time flight tracking functionality through the AviationStack API, allowing search for flights by various criteria and retrieving detailed flight status information.

FlightRadar MCP 服务器

使用 AviationStack API 提供实时航班跟踪和状态信息的模型上下文协议 (MCP) 服务器。

特征

该 MCP 服务器提供了三个主要工具:

  1. get_flight_data :通过 IATA 或 ICAO 代码获取特定航班的详细信息
  2. search_flights :按航空公司、出发/到达机场和状态等各种条件搜索航班
  3. get_flight_status :获取特定航班的可读状态摘要

安装

通过 Smithery 安装

要通过Smithery自动为 Claude Desktop 安装 flightradar-mcp-server:

npx -y @smithery/cli install @Cyreslab-AI/flightradar-mcp-server --client claude

先决条件

  • Node.js(v14 或更高版本)
  • npm(v6 或更高版本)
  • AviationStack API 密钥(在aviationstack.com获取)

设置

  1. 克隆此存储库:
    git clone https://github.com/Cyreslab-AI/flightradar-mcp-server.git cd flightradar-mcp-server
  2. 安装依赖项:
    npm install
  3. 构建服务器:
    npm run build
  4. 在您的 MCP 设置文件中配置服务器:对于 Claude VSCode 扩展,添加到~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
    { "mcpServers": { "flightradar": { "command": "node", "args": ["/path/to/flightradar-mcp-server/build/index.js"], "env": { "AVIATIONSTACK_API_KEY": "YOUR_API_KEY_HERE" }, "disabled": false, "autoApprove": [] } } }
    对于 Claude 桌面应用程序,添加到~/Library/Application Support/Claude/claude_desktop_config.json (macOS) 或其他平台上的类似路径。

使用示例

服务器配置完成后,您可以使用 Claude 获取航班信息:

获取航班状态

User: What's the status of flight BA855? Claude: Flight BA855 (British Airways) is currently landed. Departure: Prague Vaclav Havel Airport (PRG), Terminal 1, Gate B5 Scheduled: 3/25/2025, 11:50:00 AM Estimated: 3/25/2025, 11:50:00 AM Arrival: Heathrow (LHR), Terminal 3 Scheduled: 3/25/2025, 1:10:00 PM

搜索航班

User: Find British Airways flights Claude: I found 3212 British Airways flights. Here are the first 3: 1. BA5719: Tucson (TUS) to Dallas/Fort Worth (DFW) Status: scheduled Departure: 3/25/2025, 5:00:00 AM 2. BA6096: Prague (PRG) to Helsinki (HEL) Status: scheduled Departure: 3/25/2025, 11:40:00 AM 3. BA855: Prague (PRG) to London Heathrow (LHR) Status: landed Departure: 3/25/2025, 10:50:00 AM

获取航班详情

User: Get detailed information about flight BA855 Claude: Here are the details for flight BA855: Flight: BA855 (BAW855) Airline: British Airways Aircraft: Airbus A320 (Registration: G-EUUH) Departure: - Airport: Prague Vaclav Havel Airport (PRG/LKPR) - Terminal: 1, Gate: B5 - Scheduled: 3/25/2025, 10:50:00 AM Arrival: - Airport: London Heathrow (LHR/EGLL) - Terminal: 3 - Scheduled: 3/25/2025, 12:10:00 PM Status: landed

API 密钥配置

此服务器需要 AviationStack API 密钥才能运行。您可以在AviationStack.com获取免费 API 密钥(每月 100 次请求)。

API 密钥应作为 MCP 设置配置中名为AVIATIONSTACK_API_KEY的环境变量提供。

执照

麻省理工学院

-
security - not tested
A
license - permissive license
-
quality - not tested

使用 AviationStack API 提供实时航班跟踪和状态信息的模型上下文协议 (MCP) 服务器。

  1. Features
    1. Installation
      1. Installing via Smithery
      2. Prerequisites
      3. Setup
    2. Usage Examples
      1. Get Flight Status
      2. Search Flights
      3. Get Flight Details
    3. API Key Configuration
      1. License
        ID: trc00vqoq2