LF

lukashaas/flighty-mcp

Productivity workflow

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

23 stars 9 forks 品質 72 トレンド 19MIT

MCP server for accessing local Flighty app flight data

概要

A local MCP (Model Context Protocol) server that gives AI assistants access to your Flighty flight data. Reads directly from the Flighty macOS app's local SQLite database. - - View your own upcoming, past, or all flights - - View connected friends' flights, filterable by name - - Look up any flight by number or ID - - Filter by airline, airport, date range - - Check current status, delays, gates, weather - - Historical on-time performance statistics - - Add a flight by flight code and date, with optional auto-lookup of airports - - Look up airports by IATA code, city, or name - - Look up airlines by IATA code, name, or alliance - - Aggregate statistics (distance, top routes, airlines) - - View layovers and connection times - macOS with the Flighty app installed - Python 3.11+ - uv package manager - (Optional) Free AirLabs API key for automatic airport lookup when adding flights Add this to your claude_desktop_config.

README

以下は原文 README の抜粋です。原文を見る。

Flighty MCP

A local MCP (Model Context Protocol) server that gives AI assistants access to your Flighty flight data. Reads directly from the Flighty macOS app’s local SQLite database.

Features

  • List your flights - View your own upcoming, past, or all flights
  • List friends’ flights - View connected friends’ flights, filterable by name
  • Get flight details - Look up any flight by number or ID
  • Search flights - Filter by airline, airport, date range
  • Flight status - Check current status, delays, gates, weather
  • Delay forecast - Historical on-time performance statistics
  • Add flights - Add a flight by flight code and date, with optional auto-lookup of airports
  • Airport search - Look up airports by IATA code, city, or name
  • Airline search - Look up airlines by IATA code, name, or alliance
  • Flight stats - Aggregate statistics (distance, top routes, airlines)
  • Connections - View layovers and connection times

Prerequisites

  • macOS with the Flighty app installed
  • Python 3.11+
  • uv package manager
  • (Optional) Free AirLabs API key for automatic airport lookup when adding flights

Setup

Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "flighty": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/flighty-mcp",
        "run",
        "main.py"
      ]
    }
  }
}

To enable automatic airport lookup when adding flights, add your AirLabs API key:

{
  "mcpServers": {
    "flighty": {
      "command": "uv",
      "args": [
        "--directory",
        "/path/to/flighty-mcp",
        "run",
        "main.py"
      ],
      "env": {
        "AIRLABS_API_KEY": "your-api-key-here"
      }
    }
  }
}

You can get a free API key at airlabs.co.

Claude Code

claude mcp add flighty -- uv --directory /path/to/flighty-mcp run main.py

With AirLabs API key:

claude mcp add flighty -e AIRLABS_API_KEY=your-api-key-here -- uv --directory /path/to/flighty-mcp run main.py

Configuration

By default, the server reads from:

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

Override with the FLIGHTY_DB_PATH environment variable if needed.

Environment Variables

Variable Required Description
FLIGHTY_DB_PATH No Override the default Flighty database path
AIRLABS_API_KEY No AirLabs API key for automatic airport lookup when adding flights. Without this, you must provide departure and arrival airports manually.

Tools

Tool Description
list_flights List your own flights with filters (upcoming/past/archived)
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "flighty": { "command": "uv", "args": [ "--directory", "/path/to/flighty-mcp", "run", "main.py" ] } } }