Skip to main content
Glama
salamentic

Flight Planner MCP Server

by salamentic

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

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

特徴

  • 片道・往復航空券を検索

  • 旅行パラメータに基づいて包括的な旅行計画を作成する

  • 空港コード情報を取得する

  • よくある旅行関連の問い合わせにテンプレートを使用する

Related MCP server: Travel Planner MCP Server

インストール

  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

Resources

Looking for Admin?

Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/salamentic/google-flights-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server