Agentsのロゴ

Agents

組織
flightclaw

Flight search, price tracking and booking for AI agents. Hosted MCP server (mcp.flightclaw.com) + open-source skill.

公開者flightclaw
リポジトリagents
言語Python
フォーク
12
スター
75
利用可能なツール
0
通信方式stdio
ライセンスMIT
リンク
  • ツールをAIワークフローに接続

    Agentsは、対応するAIクライアントやAIエージェントから利用できるMCP機能を提供します。

  • 0個の利用可能なツール

    呼び出し可能なアクションを以下で確認できます。サーバーから提供されている場合は、名前や説明も表示されます。

  • コピーして使える設定

    セットアップ用の設定例を使って、お好みのMCPクライアントにこのサーバーを設定できます。

  • オープンソースの注目度

    リンク先のリポジトリには75件のスターと12件のフォークがあります。

FlightClaw agents

Search, price-track and book flights from your AI assistant. FlightClaw covers about 300 airlines, remembers your travellers and preferences, and emails you when a tracked fare drops.

Option 1: Hosted MCP (recommended)

Server URL: https://mcp.flightclaw.com/mcp (streamable HTTP, OAuth sign-in). Nothing to install.

ClientSetup
Claude (web / desktop)Settings > Connectors > Add custom connector > paste https://mcp.flightclaw.com/mcp
ChatGPTSettings > Apps & Connectors > Create (developer mode) > paste https://mcp.flightclaw.com/mcp
Claude Codeclaude mcp add --transport http flightclaw https://mcp.flightclaw.com/mcp
CursorOne-click install, or add {"mcpServers":{"flightclaw":{"url":"https://mcp.flightclaw.com/mcp"}}} to ~/.cursor/mcp.json
VS CodeOne-click install, or code --add-mcp '{"name":"flightclaw","type":"http","url":"https://mcp.flightclaw.com/mcp"}'
WindsurfAdd {"mcpServers":{"flightclaw":{"serverUrl":"https://mcp.flightclaw.com/mcp"}}} to ~/.codeium/windsurf/mcp_config.json

Hosted tools

GroupTools
Searchsearch_flights, search_multi_city, recommend_flights, get_offer, get_seat_map
Bookingcreate_checkout, get_checkout_status, list_orders, get_order, request_change, cancel_order
Price trackingtrack_flight, list_tracked, remove_tracked (checked daily, email alert on a drop)
Profileget_me, set_me, save_traveler, list_travelers, get_traveler, delete_traveler, save_group, list_groups, get_group, delete_group, get_preferences, set_preferences, save_card, list_cards, delete_card, set_points_balance, list_points
Tripslog_trip, list_trips, get_trip, trips_followup, record_trip_feedback

Booking and payment

  1. search_flights returns offers. Each total_amount includes the FlightClaw booking fee.
  2. create_checkout returns a checkout_url and the exact total_amount + total_currency. Nothing is charged yet.
  3. Pay one of two ways:
    • Checkout link: the traveller opens checkout_url and pays by card.
    • Link virtual card: the agent creates a Link spend request for exactly total_amount (fare + booking fee), the user approves it in Link, and the agent pays on checkout_url with the Link virtual card. The agent never pays more than the approved amount.
  4. get_checkout_status until completed, then get_order for the booking reference.

The agent never asks for card numbers.

Option 2: Local open-source server

The rest of this README covers the self-hosted Python server in this repo. It searches Google Flights and tracks prices locally with no account.

Local MCP server

FlightClaw runs as a local MCP server, giving any MCP-compatible client (Claude Code, Claude Desktop, etc.) access to flight search and tracking tools.

Setup

bash
# Install dependencies
pip install "flights==0.9.0" "mcp[cli]<2" fastmcp pydantic-settings

# Add to Claude Code
claude mcp add flightclaw -- python3 /path/to/agents/server.py

Or in Claude Desktop, add to claude_desktop_config.json:

json
{
  "mcpServers": {
    "flightclaw": {
      "command": "python3",
      "args": ["/path/to/agents/server.py"]
    }
  }
}

Tools

ToolDescription
search_flightsSearch Google Flights for prices on a route
search_datesFind cheapest dates to fly across a date range (calendar view)
track_flightAdd a route to price tracking with optional target price
check_pricesCheck all tracked flights for price changes and alerts
list_trackedList all tracked flights with price history
remove_trackedRemove a route from tracking

Search filters

All search tools support:

  • Passengers - adults, children, infants (in seat or on lap)
  • Airlines - filter to specific carriers (e.g. BA,AA,DL)
  • Price limit - max price in USD
  • Duration - max total flight time in minutes
  • Times - earliest/latest departure and arrival hours
  • Layovers - max layover duration in minutes
  • Sorting - by BEST, CHEAPEST, DEPARTURE, ARRIVAL, or DURATION
  • Multi-airport - comma-separated codes (e.g. LHR,MAN)
  • Date ranges - date_to for searching each day in a range

Example prompts

  • "Search flights from LHR to JFK on 2025-08-01 in business class"
  • "Find nonstop BA or VS flights LHR to JFK departing after 8am"
  • "What are the cheapest dates to fly LHR to JFK in July?"
  • "Search for 2 adults and 1 child, LHR to JFK, under $500"
  • "Track LHR to SFO on 2025-07-01 with a target price of $400"
  • "Check my tracked flights for price drops"

CLI Scripts

The original CLI scripts are still available in scripts/:

bash
# Search flights
python scripts/search-flights.py LHR JFK 2025-07-01 --cabin BUSINESS

# Multiple airports and date ranges
python scripts/search-flights.py LHR,MAN JFK,EWR 2025-07-01 --date-to 2025-07-05

# Track a route
python scripts/track-flight.py LHR JFK 2025-07-01 --target-price 400

# Check for price drops (good for cron)
python scripts/check-prices.py --threshold 5

# List tracked flights
python scripts/list-tracked.py

How it works

  • Queries Google Flights via the fli library
  • Prices returned in user's local currency (auto-detected from IP)
  • Price history persists in data/tracked.json
  • Supports one-way and round trips, all cabin classes (economy to first)
  • Filter by airline, price, duration, departure/arrival times, layover duration
  • Multi-airport and date-range searches expand into all combinations
  • Date search finds the cheapest day to fly across a range

Install (OpenClaw)

bash
npx skills add flightclaw/agents

Install (Grok)

/plugin marketplace add xai-org/plugin-marketplace
/plugin install flightclaw

Install (Claude Code)

/plugin marketplace add flightclaw/agents
/plugin install flightclaw@flightclaw

Install (Cursor)

/plugin marketplace add flightclaw/agents
/plugin install flightclaw

Install (Gemini CLI)

bash
gemini extensions install https://github.com/flightclaw/agents

Each client reads its own manifest from this repo — .grok-plugin/, .claude-plugin/, .cursor-plugin/ and gemini-extension.json — and they all connect to the hosted server at https://mcp.flightclaw.com/mcp. To run the local server instead, use the setup in "Local MCP server" above.

The local server

The local server runs server.py through uv, which resolves the pinned dependencies at start-up. Install uv first; no other setup step runs on your machine.

What the local server reaches, and what it needs

EndpointPurposeCredentials
google.com/travel/flights (via the fli library)Flight search and price trackingnone
FLIGHTCLAW_API_URL (the private flightclaw-api Worker)Traveller profiles, preferences, cards, groups, trip history, Duffel booking and Link virtual-card paymentFLIGHTCLAW_API_KEY
Kiwi Tequila (api.tequila.kiwi.com)Optional bookability check; hand-off deep links to kiwi.com and skyscanner.netKIWI_API_KEY, KIWI_AFFILID

Search and price tracking work with no credentials at all. Every other group of tools stays inactive until its variables are set:

VariableEffect when unset
FLIGHTCLAW_API_URL, FLIGHTCLAW_API_KEYProfile, booking and payment tools return "not configured"
FLIGHTCLAW_TENANTServer default tenant is used
KIWI_API_KEY, KIWI_AFFILIDKiwi coverage is skipped
HOST, PORTOnly read in HTTP transport mode; the local server runs over stdio

FlightClaw reads no other environment variable, writes only to its own data/ directory, and runs no install-time script.

License

MIT — see LICENSE.

AgentsのMCPを複数のAIモデルで活用

TypingMindはワークスペース単位でMCPツールに接続します。そのため、一度Agentsに接続すれば、モデルごとに個別に設定することなく、TypingMind内のさまざまなAIモデルで利用できます。 このMCPは、デバイス上のTypingMind MCPコネクタを通じてローカルで動作します。

ローカルコネクタのセットアップガイド

MCPサーバーが、お使いのコンピューター上のローカルファイル、アプリ、非公開リソースにアクセスする必要がある場合は、この方法を使います。

1

MCP設定を開く

TypingMindで「設定」、「詳細設定」、「MCP」の順に進み、「コネクタを設定」を選択してください。

  1. ブラウザでTypingMindを開いてください。
  2. 設定アイコンをクリックしてください。
  3. 「詳細設定」に移動してください。
  4. 「MCP」セクションを開いてください。
  5. 「コネクタを設定」をクリックし、「このデバイス」を選択してください。
「このデバイス」が選択されたTypingMindのMCPコネクタ設定画面
2

コネクタのコマンドを実行

「このデバイス」を選択し、TypingMindからコマンドをコピーしてターミナルで実行してください。MCPの使用中は、プロセスを実行したままにしてください。

  1. TypingMindに表示されるセットアップコマンドをコピーしてください。
  2. macOSではターミナルを、WindowsではWindows Terminalを開いてください。
  3. コマンドを貼り付けて実行してください。
  4. ターミナルで続行の確認を求められた場合は、パッケージのインストールを承認してください。
  5. MCPツールの使用中は、ターミナルウィンドウを開いたまま、プロセスの実行を継続してください。
3

Agentsをサーバーとして追加

コネクタのステータスが「準備完了」になったら、「サーバーを編集」をクリックし、MCPサーバーの設定を貼り付けてください。

  1. コネクタのステータスが「準備完了」になるまでお待ちください。
  2. 「サーバーを編集」をクリックしてください。
  3. AgentsのMCPサーバー設定を貼り付けてください。
  4. サーバー一覧を保存してください。
  5. コネクタが引き続き使用可能か確認するには、更新してください。
稼働中のサーバーと「サーバーを編集」ボタンが表示されたTypingMindのMCP設定画面
{
  "mcpServers": {
    "flightclaw-agents": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
4

複数のモデルで同じ接続を使用

サーバー一覧を保存し、「プラグイン」を開いてAgentsのMCPツールを有効にしてください。その後、TypingMindで対応するAIモデルを選択し、チャットでツールを使うか、AIエージェントに割り当ててください。

  1. TypingMindの「プラグイン」ページを開いてください。
  2. AgentsのMCPツールを有効にしてください。
  3. チャットを開始し、使用するAIモデルを選択してください。
  4. MCPツールをチャットで使うか、AIエージェントに割り当ててください。
  5. MCPに再接続することなく、必要に応じて別のAIモデルに切り替えられます。
選択したAIモデルと有効なMCPツールを使用したTypingMindのチャット
Agentsを使ってこのタスクを手伝ってもらえますか?
Agents
はい、読みました。
Agentsで調べた結果をお伝えします。

よくある質問

Agents MCPサーバーは何に使いますか?

Agentsは、対応するAIクライアントを外部ツールやコンテキストに接続するためのMCPサーバーです。TypingMindでは、このMCPサーバーを一度追加するだけで、AIワークスペース内でそのツールを利用できるようになります。

TypingMindでAgents MCPを複数のAIモデルと併用できますか?

はい。TypingMindはワークスペース単位でMCPツールに接続するため、モデルごとにMCPサーバーを設定する必要はありません。Claude、ChatGPT、Geminiや、TypingMindで設定したその他のAIモデルでAgentsを利用できます。

TypingMindでAgents MCPを使うメリットは何ですか?

TypingMindは、複数のAIモデル、プロンプト、プラグイン、AIエージェント、APIキー、MCPツールを1つのワークスペースにまとめられる、LLMチャット向けの優れたフロントエンドです。Agentsを接続すると、TypingMindでチャットのワークフローを整理しながら、お好みのモデルでそのMCPツールを利用できます。

Agents MCPをTypingMindに接続するにはどうすればよいですか?

AgentsはTypingMindのローカルMCPコネクタ経由で動作します。MCPサーバーがコンピューター上のローカルファイル、デスクトップアプリ、コマンドラインツール、プライベートリソースにアクセスする必要がある場合に最適です。

TypingMindでAgents MCPのどのようなツールを利用できますか?

AgentsはMCP機能を提供しています。TypingMindのプラグインページで有効にすると、チャットで使用したり、AIエージェントに割り当てたりできます。

Agents MCPを使うには、APIキーをTypingMindと共有する必要がありますか?

いいえ。TypingMindはローカルファーストの設計で、モデルプロバイダー、APIキー、プロンプト、MCP設定をご自身で管理できます。Agentsで認証が必要な場合は、接続の作成時に、そのMCPサーバーに必要なヘッダー、OAuth設定、またはローカル設定を追加してください。

関連するMCPサーバー

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇