Logo Flighty MCP Server

Flighty MCP Server

Cộng đồng
CPLX

MCP server for the Flighty flight tracking app — 12 tools for flights, status, stats, and cross-device sync

Nhà phát hànhCPLX
Kho mãflighty-mcp-server
Ngôn ngữTypeScript
Bản fork
8
Sao
29
Công cụ có sẵn
0
Phương thức truyền tảistdio
Danh mục
Giấy phépMIT
Liên kết
  • Kết nối công cụ với quy trình làm việc AI

    Flighty MCP Server cung cấp các khả năng MCP mà ứng dụng khách và tác nhân AI tương thích có thể sử dụng.

  • 0 công cụ có sẵn

    Xem các thao tác có thể gọi bên dưới, kèm tên và mô tả nếu máy chủ cung cấp.

  • Cấu hình sẵn để sao chép

    Dùng các đoạn cấu hình cài đặt mẫu để thiết lập máy chủ này trong ứng dụng khách MCP bạn muốn dùng.

  • Chỉ số quan tâm đến mã nguồn mở

    29 sao và 8 bản fork từ kho mã được liên kết.

Flighty MCP Server

A zero-config MCP server that connects AI assistants to the Flighty flight tracking app. Ask about your flights, check statuses, look up delay forecasts, and add or remove flights — all through natural conversation.

Just install Flighty on your Mac and connect the server. It reads all credentials and configuration directly from the app — no API keys, no tokens, no setup.

What it does

This server gives any MCP-compatible AI assistant (Claude, etc.) full read/write access to your Flighty data:

  • "What's my current flight?" — shows in-progress, recently landed, and about-to-depart flights
  • "What's my next flight?" — returns the soonest upcoming flight first
  • "How often is AA179 delayed?" — historical on-time performance with percentage breakdowns
  • "Show my flight stats for 2025" — total flights, miles, top airlines, top routes
  • "Add DL10 on April 20" — adds the flight to your Flighty account, syncs to all devices within seconds
  • "Follow UA194 on December 25" — track someone else's flight (e.g. to pick them up), syncs to all devices
  • "Remove that flight" — deletes it from your account across all devices
  • "Are any friends flying soon?" — checks connected friends' upcoming flights
  • "What version of the Flighty tool is this?" — server info, capabilities, and version

Read operations query Flighty's local SQLite database directly (fast, offline-capable). Write operations call Flighty's API so changes sync to your phone, watch, and widgets. All responses include contextual metadata (sort order, timestamp format) to help AI assistants interpret results correctly.

Requirements

  • macOS — Flighty stores its database in the macOS app sandbox
  • Flighty macOS app — installed and signed in
  • Flighty Pro — required for the add/remove flight features
  • Node.js 24+ (only for manual install; the .mcpb bundle includes its own runtime)

Installation

Claude Desktop (.mcpb) — recommended

Download flighty-mcp-server.mcpb from the dist/ folder and double-click it. Claude Desktop installs it automatically. No configuration needed.

Claude Code

bash
git clone https://github.com/CPLX/flighty-mcp-server.git
cd flighty-mcp-server
npm install
npm run build

Add to your MCP config (~/.claude/settings.local.json or project .mcp.json):

json
{
  "mcpServers": {
    "flighty": {
      "command": "node",
      "args": ["/absolute/path/to/flighty-mcp-server/build/index.js"]
    }
  }
}

Claude Desktop (manual)

Build from source as above, then add to ~/Library/Application Support/Claude/claude_desktop_config.json:

json
{
  "mcpServers": {
    "flighty": {
      "command": "node",
      "args": ["/absolute/path/to/flighty-mcp-server/build/index.js"]
    }
  }
}

Restart the client after adding the config.

Read-Only Mode

By default the server exposes 15 tools, including three that modify your Flighty account: flighty_add_flight, flighty_follow_flight, and flighty_remove_flight. If you only want Claude to read your flight data, you can disable the write tools so they don't appear in tools/list at all — the safest way to cap the blast radius.

Claude Desktop (.mcpb): during install, check the Read-Only Mode box. You can toggle it later from the extension's settings.

Claude Code / manual install: set the environment variable before launching the server. Add env to your MCP config:

json
{
  "mcpServers": {
    "flighty": {
      "command": "node",
      "args": ["/absolute/path/to/flighty-mcp-server/build/index.js"],
      "env": { "FLIGHTY_READ_ONLY": "1" }
    }
  }
}

Accepted truthy values: 1, true, yes (case-insensitive). Anything else (or unset) leaves write tools enabled. flighty_about reports the current mode.

Friend-Share Installs

If you use Flighty via someone else's account (shared through Flighty Friends), your locally signed-in Flighty account may own no flights itself — all the flights in the local database belong to the friend whose Flighty Pro account you're piggybacking on. In that setup, the server automatically falls back to picking the user with the most flights in the database. If your install has multiple people's flights and the server picks the wrong one, pin the correct user with an environment variable:

json
{
  "mcpServers": {
    "flighty": {
      "command": "node",
      "args": ["/absolute/path/to/flighty-mcp-server/build/index.js"],
      "env": { "FLIGHTY_OWNER_USER_ID": "the-userId-you-want" }
    }
  }
}

You can find the right userId by querying SELECT userId, COUNT(*) FROM UserFlight GROUP BY userId ORDER BY 2 DESC against ~/Library/Containers/com.flightyapp.flighty/Data/Documents/MainFlightyDatabase.db.

Tools

15 tools organized into four categories (12 read + 3 write; write tools are hidden when Read-Only Mode is on).

Flight Management

ToolDescription
flighty_list_flightsList your flights — upcoming (sorted soonest first), by year, or all (sorted most recent first)
flighty_current_flightsActive travel context: flights departing within ±24 hours of now
flighty_get_flightGet details for a single flight by UUID or flight number (e.g., "AA179")
flighty_search_flightsSearch your flight history by airline, airports, or date range
flighty_add_flightAdd a flight by code and date (e.g., "DL10" on "2026-04-20"). Syncs to all devices
flighty_follow_flightFollow a flight without being a passenger (e.g., tracking someone's flight). Syncs to all devices
flighty_remove_flightRemove a flight by UUID. Permanent deletion across all devices

Flight Intelligence

ToolDescription
flighty_get_flight_statusCurrent status (scheduled/delayed/in_air/landed/cancelled), gate, delay, weather
flighty_get_delay_forecastHistorical on-time stats: % early, on-time, late, cancelled, diverted
flighty_get_flight_statsAggregate stats: total flights, miles, circumnavigations, top airlines and routes
flighty_get_connectionsLayover info for connecting flights: airports, duration, minimum connection time

Social and Reference

ToolDescription
flighty_list_friend_flightsConnected friends' flights, filterable by name, upcoming, or year
flighty_search_airportsSearch airports by IATA/ICAO code, city, or name
flighty_search_airlinesSearch airlines by IATA/ICAO code, name, or alliance

Server Info

ToolDescription
flighty_aboutVersion, author, repository, capabilities, and requirements

Tool details

flighty_list_flights

Lists your flights with smart sort order based on the filter:

  • upcoming_only=true: sorted soonest first — the first result is your next flight
  • No filter or year: sorted most recent departure first (natural browsing order)

Parameters:

  • upcoming_only (boolean, default: false) — only flights with future departures, sorted soonest first
  • year (integer, optional) — filter to a specific year
  • limit (integer, 1-200, default: 50)
  • offset (integer, default: 0)

For flights currently in progress or recently landed, use flighty_current_flights instead.

Includes both auto-detected commercial flights and manually-entered flights (private/charter operators not in Flighty's commercial database, or commercial flights the user added by hand). Same applies to flighty_search_flights, flighty_get_flight, flighty_current_flights, flighty_get_flight_status, flighty_get_delay_forecast, flighty_get_flight_stats, and flighty_get_connections.


flighty_current_flights

Returns flights departing within 24 hours in either direction from now. Captures in-progress flights, recently landed flights (baggage claim, layovers), and flights about to depart.

No parameters. Sorted by departure time ascending (earliest first).


flighty_get_flight

Looks up a single flight by UUID or flight number.

Parameters (provide one):

  • flight_id (string) — internal Flighty UUID
  • flight_number (string) — e.g., "AA179", "DL10". If flown multiple times, returns the most recent instance

flighty_search_flights

Searches your flight history with combinable AND filters. Sorted most recent departure first.

Parameters (all optional):

  • airline — IATA code ("AA") or partial name ("American")
  • departure_airport — IATA code ("JFK") or city ("New York")
  • arrival_airport — IATA code ("SFO") or city ("San Francisco")
  • after — flights departing on or after this date ("2025-01-01")
  • before — flights departing on or before this date ("2025-12-31")
  • limit (integer, 1-200, default: 50)

flighty_get_flight_status

Returns the operational status of a flight that is already in the user's Flighty database. This only works for flights the user has added to Flighty — it cannot look up arbitrary flight numbers.

Parameters:

  • flight_number (string) — a flight in the user's database, e.g., "UA194"

Returns: Status ("scheduled", "delayed", "in_air", "landed", "cancelled"), departure/arrival delay in minutes, gate assignments, baggage belt, weather conditions, aircraft type, and tail number.

Data freshness depends on the Flighty app's last sync — this does not make live API calls for status.


flighty_get_delay_forecast

Historical on-time performance for a flight that is already in the user's Flighty database. Flighty attaches delay forecast data when a flight is added to the user's account — this tool reads that stored data. It cannot look up forecasts for arbitrary flight numbers that aren't in the database.

Parameters:

  • flight_number (string) — a flight in the user's database, e.g., "AA179"

Returns: Number of observations (sample size), mean delay in minutes, and percentage breakdowns: early, on-time, late (15/30/45+ min), cancelled, diverted. Returns null if no forecast data is available.


flighty_search_airports

Searches Flighty's airport database. Exact IATA/ICAO matches are prioritized over fuzzy name/city matches.

Parameters:

  • query (string) — IATA code, ICAO code, city name, or airport name
  • limit (integer, 1-50, default: 10)

flighty_search_airlines

Searches Flighty's airline database.

Parameters:

  • query (string) — IATA code, ICAO code, airline name, or alliance name
  • limit (integer, 1-50, default: 10)

flighty_get_flight_stats

Aggregate statistics across your flight history.

Parameters:

  • year (integer, optional) — filter to a specific year; omit for all-time

Returns: Total flights, distance (km and miles), earth circumnavigations, unique departure/arrival airports, unique airlines, countries_visited (deduped across departure and arrival countries), cancelled flight count, top 5 airlines, top 5 routes.

Includes both auto-detected commercial flights and manually-entered flights (e.g., private/charter operators not in Flighty's commercial database).


flighty_get_connections

Layover information for connecting flight pairs. Sorted by first leg departure time descending.

No parameters.

Returns: For each connection: inbound flight (first leg, e.g., "AA1449"), origin airport, connection airport, outbound flight (second leg, e.g., "AA1166"), destination airport, arrival/departure times, layover duration in minutes, and minimum connection time.


flighty_list_friend_flights

Flights from your Flighty-connected friends. Same sort behavior as list_flights — upcoming sorted soonest first, otherwise most recent first.

Parameters:

  • friend_name (string, optional) — partial match on name
  • upcoming_only (boolean, default: false) — future flights only, sorted soonest first
  • year (integer, optional)
  • limit (integer, 1-200, default: 50)
  • offset (integer, default: 0)

flighty_add_flight

Adds a flight to your Flighty account via the Flighty API. The flight syncs to all your devices (phone, watch, widgets) within seconds.

Parameters:

  • flight_code (string) — e.g., "DL10", "UA194". The 2-character airline prefix is parsed automatically
  • date (string) — departure date in YYYY-MM-DD format

Returns: The server-side flight UUID on success, or an error if the flight isn't found for that date.


flighty_follow_flight

Follows a flight without marking yourself as a passenger — use this to track someone else's flight (e.g., a family member's arrival). The flight is registered with Flighty's server and syncs to all devices. It will appear in flighty_list_friend_flights results (with friend_name as null).

Parameters:

  • flight_code (string) — e.g., "UA194", "DL10". The airline prefix is parsed automatically
  • date (string) — departure date in YYYY-MM-DD format

Returns: The server-side flight UUID on success, or an error if the flight isn't found for that date.


flighty_remove_flight

Permanently removes a flight from your Flighty account across all devices.

Parameters:

  • flight_id (string) — the flight UUID (from list_flights or add_flight results)

Warning: This cannot be undone. You would need to re-add the flight.


flighty_about

Returns server version, author, repository link, tool inventory, and requirements.

No parameters.

How it works

Flighty stores all flight data in a local SQLite database on macOS at:

~/Library/Containers/com.flightyapp.flighty/Data/Documents/MainFlightyDatabase.db

This server opens that database in read-only mode to answer queries. Queries UNION Flighty's Flight + ManualFlight and UserFlight + UserManualFlight tables so manually-entered flights surface alongside auto-detected commercial ones, and filter on UserFlight.isMyFlight = 1 so followed/tracked flights (isMyFlight = 0) don't leak into "your flights" queries. Followed flights (isMyFlight = 0) are surfaced by flighty_list_friend_flights alongside connected friends' flights. It reads all necessary credentials directly from the installed Flighty app:

  • User identity — JWT auth token from Flighty.sqlite (identifies the user to the API)
  • API access — build token from the app's Info.plist (identifies the app version)
  • Sync token — from the app's UserDefaults plist (for flight deletion)

For write operations (add/remove flights), the server makes the same API calls the Flighty app itself makes. Added flights get full enrichment from Flighty's servers — gate assignments, weather, delay forecasts, codeshare data — and sync to all devices. No manual configuration is needed.

All tool responses include a note field with contextual metadata (sort order, timestamp format) to help AI assistants interpret results correctly. All timestamps are UTC.

Architecture

src/
  index.ts              # Entry point, tool registration, flighty_about
  constants.ts          # Database paths, API config, build token (read from app)
  types.ts              # TypeScript interfaces
  services/
    database.ts         # FlightyDatabase — all SQLite read queries
    flighty-api.ts      # FlightyApi — search, subscribe, delete via Flighty API
  tools/
    flights.ts          # list, current, get, search flights
    flight-status.ts    # status, delay forecast
    friends.ts          # friend flights
    reference.ts        # airport/airline search
    stats.ts            # aggregate statistics
    connections.ts      # layover/connection info
    write.ts            # add_flight, remove_flight (API-backed)

Limitations

  • macOS only — relies on the Flighty macOS app's sandboxed data
  • Flighty app must be installed and signed in — the server reads its local databases for both flight data and authentication
  • Read data freshness — flight status data is as fresh as the Flighty app's last sync, not real-time
  • Write operations require network — add/remove flights call the Flighty API
  • Flighty API is private — this server uses Flighty's undocumented API, which could change in future app updates
  • Build token is read from the installed app — updates automatically when the app updates, but if Flighty changes where it stores the token, the server will need updating

License

MIT

Cài đặt

TypingMind
{
  "mcpServers": {
    "flighty-mcp-server": {
      "command": "flighty-mcp-server.mcpb",
      "args": []
    }
  }
}

Dùng MCP Flighty MCP Server với nhiều mô hình AI

TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên sau khi kết nối Flighty MCP Server, bạn có thể dùng với nhiều mô hình AI khác nhau trong TypingMind thay vì phải thiết lập riêng cho từng mô hình. MCP này chạy cục bộ thông qua trình kết nối MCP của TypingMind trên thiết bị của bạn.

Hướng dẫn thiết lập để dùng trình kết nối cục bộ

Dùng cách này khi máy chủ MCP cần truy cập các tệp, ứng dụng hoặc tài nguyên riêng tư trên máy tính của bạn.

1

Mở cài đặt MCP

Trong TypingMind, vào Cài đặt, Cài đặt nâng cao, rồi đến Giao thức ngữ cảnh mô hình và chọn Cài trình kết nối.

  1. Mở TypingMind trong trình duyệt của bạn.
  2. Nhấp vào biểu tượng Cài đặt.
  3. Vào Cài đặt nâng cao.
  4. Mở mục Giao thức ngữ cảnh mô hình.
  5. Nhấp vào Cài trình kết nối rồi chọn Thiết bị này.
Màn hình thiết lập trình kết nối MCP của TypingMind với tùy chọn Thiết bị này được chọn
2

Chạy lệnh trình kết nối

Chọn Thiết bị này, sao chép lệnh từ TypingMind và chạy trong Terminal. Giữ tiến trình chạy trong khi bạn dùng MCP.

  1. Sao chép lệnh thiết lập hiển thị trong TypingMind.
  2. Mở Terminal trên macOS hoặc Windows Terminal trên Windows.
  3. Dán và chạy lệnh.
  4. Xác nhận cài đặt gói nếu Terminal hỏi bạn có muốn tiếp tục không.
  5. Giữ tiến trình trong cửa sổ Terminal chạy trong khi dùng các công cụ MCP.
3

Thêm Flighty MCP Server làm máy chủ

Khi trạng thái trình kết nối là Sẵn sàng, nhấp vào Sửa máy chủ và dán cấu hình máy chủ MCP.

  1. Đợi đến khi trạng thái trình kết nối hiển thị Sẵn sàng.
  2. Nhấp vào Sửa máy chủ.
  3. Dán cấu hình máy chủ MCP của Flighty MCP Server.
  4. Lưu danh sách máy chủ.
  5. Làm mới nếu bạn muốn xác nhận trình kết nối vẫn sẵn sàng.
Cài đặt MCP của TypingMind hiển thị máy chủ đang hoạt động và nút Sửa máy chủ
{
  "mcpServers": {
    "flighty-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "flighty-mcp-server"
      ]
    }
  }
}
4

Dùng kết nối với nhiều mô hình

Lưu danh sách máy chủ, mở Plugin, bật các công cụ MCP của Flighty MCP Server, sau đó chọn bất kỳ mô hình AI nào được hỗ trợ trong TypingMind và dùng các công cụ trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.

  1. Mở trang Plugin trong TypingMind.
  2. Bật các công cụ MCP của Flighty MCP Server.
  3. Bắt đầu cuộc trò chuyện và chọn mô hình AI bạn muốn dùng.
  4. Dùng các công cụ MCP trong cuộc trò chuyện hoặc gán chúng cho một tác nhân AI.
  5. Chuyển sang mô hình AI khác bất cứ khi nào cần mà không phải kết nối lại MCP.
Cuộc trò chuyện TypingMind dùng các công cụ MCP đã bật với một mô hình AI được chọn
Bạn có thể dùng Flighty MCP Server giúp tôi làm việc này không?
Flighty MCP Server
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Flighty MCP Server.

Câu hỏi thường gặp

Máy chủ MCP Flighty MCP Server dùng để làm gì?

Flighty MCP Server là máy chủ MCP cho phép các ứng dụng AI tương thích kết nối với công cụ và ngữ cảnh bên ngoài. Trong TypingMind, bạn chỉ cần thêm máy chủ MCP này một lần để các công cụ của nó có sẵn trong không gian làm việc AI của bạn.

Bạn có thể dùng MCP Flighty MCP Server với nhiều mô hình AI trong TypingMind không?

Có. TypingMind kết nối các công cụ MCP ở cấp không gian làm việc, nên bạn có thể dùng Flighty MCP Server với nhiều mô hình AI như Claude, ChatGPT, Gemini hoặc các mô hình khác đã cấu hình trong TypingMind mà không cần thiết lập máy chủ MCP riêng cho từng mô hình.

Vì sao nên dùng MCP Flighty MCP Server với TypingMind?

TypingMind là một trong những giao diện trò chuyện với LLM tốt nhất vì tập hợp nhiều mô hình AI, prompt, plugin, tác nhân AI, khóa API và công cụ MCP vào một không gian làm việc. Khi kết nối Flighty MCP Server, bạn có thể dùng các công cụ MCP của dịch vụ này với những mô hình ưa thích, đồng thời giữ quy trình trò chuyện gọn gàng trong TypingMind.

Làm cách nào để kết nối MCP Flighty MCP Server với TypingMind?

Flighty MCP Server hoạt động thông qua trình kết nối MCP cục bộ của TypingMind. Đây là lựa chọn phù hợp nhất khi máy chủ MCP cần truy cập tệp cục bộ, ứng dụng máy tính, công cụ dòng lệnh hoặc tài nguyên riêng trên máy tính của bạn.

MCP Flighty MCP Server cung cấp những công cụ nào trong TypingMind?

Flighty MCP Server cung cấp các chức năng MCP mà bạn có thể bật từ trang Plugin của TypingMind để dùng trong trò chuyện hoặc gán cho tác nhân AI.

Bạn có cần chia sẻ khóa API với TypingMind để dùng MCP Flighty MCP Server không?

Không. TypingMind ưu tiên xử lý cục bộ và cho phép bạn kiểm soát nhà cung cấp mô hình, khóa API, prompt và cấu hình MCP. Nếu Flighty MCP Server yêu cầu xác thực, hãy thêm các header, cài đặt OAuth hoặc cấu hình cục bộ cần thiết cho máy chủ MCP đó khi tạo kết nối.

Máy chủ MCP liên quan

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇