航班数据 API 服务

面向AI代理与开发者的航班数据服务,提供实时航班状态、机场搜索、飞机追踪、机场天气、延误及TSA安检等待时间查询,适用于旅程规划、机场调度和智能助手等场景。

  • by Lufthaven
  • TypeScript
  • 混合部署
  • 更新于
在 GitHub 查看 Lufthaven/lufthaven-mcp

使用说明

Lufthaven

The MCP server and CLI for Lufthaven, the flight tracker for iPhone (App Store).

Flight data for AI agents and developers. Real-time tracking, weather, and TSA wait times.

No API key required.

What You Get

  • flight_status — real-time flight status, gates, delays, live GPS position
  • airport_search — find airports by name, code, or city
  • live_aircraft — aircraft currently flying in an area
  • airport_weather — METAR conditions and flight rules
  • airport_delays — FAA ground delay programs
  • tsa_wait_times — TSA security checkpoint wait times
  • flight_trail — flight path / position history

Requirements

  • Node.js 18 or later

Install

Claude Code (plugin)

Add the marketplace:

/plugin marketplace add Lufthaven/lufthaven-mcp

Install the plugin:

/plugin install lufthaven@lufthaven

Reload plugins:

/reload-plugins

Claude Code (MCP)

Or add directly as an MCP server:

claude mcp add lufthaven -- npx -y -p lufthaven lufthaven-mcp

Claude Desktop

Add to claude_desktop_config.json:

{
  "mcpServers": {
    "lufthaven": {
      "command": "npx",
      "args": ["-y", "-p", "lufthaven", "lufthaven-mcp"]
    }
  }
}

Codex

Add to your project's codex.json or global MCP config:

{
  "mcpServers": {
    "lufthaven": {
      "command": "npx",
      "args": ["-y", "-p", "lufthaven", "lufthaven-mcp"]
    }
  }
}

ChatGPT

Settings → Connectors → Create, then paste:

https://lufthaven-mcp.workers.dev/mcp

Then try:

What's the status of UA444?
Are there any delays at JFK right now?
Find me cheap flights from SFO to Tokyo.
What's the weather at Heathrow?

CLI

Also works as a standalone CLI:

npx lufthaven flight UA444
npx lufthaven weather KJFK
npx lufthaven tsa LAX
npx lufthaven live --airport KLAX
npx lufthaven delays
npx lufthaven airport "san francisco"

All commands support --json for raw JSON output.

Data

  • Live ADS-B — real-time aircraft positions from community receivers worldwide
  • FAA SWIM — US flight status direct from FAA data feeds
  • Weather — METAR/TAF from aviationweather.gov
  • Delays — FAA NAS ground delay programs
  • TSA — airport security checkpoint wait times

License

MIT