Logo Agents

Agents

Tổ chức
flightclaw

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

Nhà phát hànhflightclaw
Kho mãagents
Ngôn ngữPython
Bản fork
12
Sao
75
Công cụ có sẵn
0
Phương thức truyền tảistdio
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

    Agents 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ở

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

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.

Dùng MCP Agents 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 Agents, 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 Agents 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 Agents.
  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": {
    "flightclaw-agents": {
      "command": "npx",
      "args": [
        "-y",
        "<mcp-server-package>"
      ]
    }
  }
}
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 Agents, 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 Agents.
  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 Agents giúp tôi làm việc này không?
Agents
Được. Tôi đã đọc.
Đây là kết quả tôi tìm được bằng Agents.

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

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

Agents 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 Agents 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 Agents 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 Agents 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 Agents, 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 Agents với TypingMind?

Agents 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 Agents cung cấp những công cụ nào trong TypingMind?

Agents 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 Agents 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 Agents 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 👇