Skip to main content
Glama
FlightRadar MCP Server

FlightRadar MCP Server

FlightRadar MCP 服务器

铁匠徽章

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

特征

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

  1. get_flight_data :通过 IATA 或 ICAO 代码获取特定航班的详细信息

  2. search_flights :按航空公司、出发/到达机场和状态等各种条件搜索航班

  3. get_flight_status :获取特定航班的可读状态摘要

Related MCP server: Aviationstack MCP Server

安装

通过 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的环境变量提供。

执照

麻省理工学院

Available Tools

3 tools
get_flight_dataB

Get real-time data for a specific flight by flight number

Inputs: flight_iata, flight_icao.

get_flight_statusB

Get the current status of a flight by flight number

Inputs: flight_iata, flight_icao.

search_flightsC

Search for flights by various criteria

Inputs: airline_iata, airline_icao, dep_iata, arr_iata, +2 more.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    C2.9/5.0

    Scored across 3 tools

    Disambiguation2/5

    The tools 'get_flight_data' and 'get_flight_status' have significant overlap, as flight data typically includes status information, making them ambiguous and prone to misselection. 'search_flights' is more distinct but the other two tools are not clearly differentiated in purpose.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case (e.g., get_flight_data, get_flight_status, search_flights). The naming is predictable and readable throughout the set.

    Tool Count3/5

    With only 3 tools, the count feels thin for a flight radar domain, as it lacks operations like tracking flights by location, getting airport data, or managing alerts. While the tools cover basic queries, the scope seems limited and could benefit from more comprehensive coverage.

    Completeness2/5

    The tool set is severely incomplete for a flight radar server, missing essential operations such as retrieving airport information, tracking flights by geographic area, or accessing historical data. This creates significant gaps that will likely cause agent failures in real-world scenarios.

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      Not graded
      quality
      D
      maintenance
      A Model Context Protocol (MCP) server built with mcp-framework that provides tools for flight-related operations. This appears to be a template or starter project with example tools that can be extended for flight search and booking functionality.
      1
      MIT