Flight Planner MCP Server

Integrations

  • Supports integration with Claude Desktop on macOS via a specific configuration file path for setting up the flight-planner MCP server.

フライトプランナーMCPサーバー

fast-flights API を使用して旅行代理店レベルのフライト プランを作成するモデル コンテキスト プロトコル サーバー。

特徴

  • 片道・往復航空券を検索
  • 旅行パラメータに基づいて包括的な旅行計画を作成する
  • 空港コード情報を取得する
  • よくある旅行関連の問い合わせにテンプレートを使用する

インストール

  1. Python 3.10以降がインストールされていることを確認してください
  2. 必要なパッケージをインストールします。
pip install mcp fast-flights

使用法

サーバーの実行

サーバーを直接実行できます:

python flight_planner_server.py

Claude Desktopとの統合

  1. Claude Desktopをインストールする
  2. Claude Desktop 構成ファイルを作成または編集します。
    • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
    • Windows: %APPDATA%\Claude\claude_desktop_config.json
  3. フライトプランナー サーバーの構成を追加します。
{ "mcpServers": { "flight-planner": { "command": "python", "args": [ "/PATH/TO/flight_planner_server.py" ], "env": { "PYTHONPATH": "/PATH/TO/PROJECT" } } } }
  1. /PATH/TO/サーバーファイルへの実際のパスに置き換えます
  2. Claudeデスクトップを再起動します

MCPインスペクターの使用

テストと開発には、MCP Inspector を使用できます。

# Install the inspector npm install -g @modelcontextprotocol/inspector # Run the inspector with your server npx @modelcontextprotocol/inspector python flight_planner_server.py

利用可能なツール

  • search_one_way_flights : 空港間の片道便を検索
  • search_round_trip_flights : 空港間の往復航空券を検索
  • create_travel_plan : 包括的な旅行計画を作成する

利用可能なリソース

  • airport_codes://{query} : 検索クエリに基づいて空港コード情報を取得します

利用可能なプロンプト

  • flight_search_prompt : フライト検索用テンプレート
  • travel_plan_prompt : 包括的な旅行計画を作成するためのテンプレート

クロードのクエリ例

Claude Desktop と統合すると、次のようなことを質問できるようになります。

  • 「2025年4月15日にニューヨークからサンフランシスコへのフライトはどれですか?」
  • 「2025年5月1日から2025年5月8日までのLAXからTPEへの出張の旅行プランを作成できますか?」
  • 「東京の空港コードを調べるのを手伝ってください。」
  • 「夏休みにボストンからロンドンへの航空券を予約するのに最適な時期はいつですか?」

ライセンス

マサチューセッツ工科大学

-
security - not tested
F
license - not found
-
quality - not tested

fast-flights API を使用して旅行代理店レベルのフライト プランを作成し、ユーザーがフライトを検索して包括的な旅行日程を生成できるようにします。

  1. Features
    1. Installation
      1. Usage
        1. Running the Server
        2. Integrating with Claude Desktop
        3. Using the MCP Inspector
      2. Available Tools
        1. Available Resources
          1. Available Prompts
            1. Example Queries for Claude
              1. License
                ID: 4e1tdgh3as