Onward Flights

Search real flights and buy an onward ticket (proof of onward travel), paid in USDC over MPP

我該用這個嗎

品質與安全性

A
說明品質
93%
結構描述完整度
100%
命名品質
93%
汙染風險
100%
權限相符程度
100%
協定合規性
100%

根據工具定義與協定合規性的自動化分析。

上下文成本

~536Token(工具定義)
~1.2 KB典型回應大小
極小的注意力影響(128k 上下文的 0.42%)

這是每次將伺服器的工具載入模型上下文時所消耗的約略 token 數量。數量越高,可用於其他工作的注意力就越少。

安裝

一鍵安裝

將以下內容加入你的 `claude_desktop_config.json` 檔案:

{
  "mcpServers": {
    "onward-flights": {
      "url": "https://onward.flights/mcp"
    }
  }
}

遠端端點

https://onward.flights/mcpstreamable-http

它能做什麼

工具清單

工具(3)

🟢 唯讀🟡 寫入🔴 刪除⚪ 未知
🟢find_airports(query)

Look up 3 letter IATA airport codes by city, airport or country name.

輸入結構描述

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "City, airport, country or code, e.g. \"Bangkok\""
    }
  },
  "required": [
    "query"
  ]
}
🟢search_flights(origin, destination, date)

Find one-way flights to use as an onward ticket. Returns up to 10 flights, each with an id to buy and its price in USD.

輸入結構描述

{
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "description": "IATA code of the airport leaving the country the traveller is entering, e.g. \"BKK\""
    },
    "destination": {
      "type": "string",
      "description": "IATA code of where the onward flight goes, e.g. \"SIN\""
    },
    "date": {
      "type": "string",
      "description": "Departure date, YYYY-MM-DD, within 9 months. Defaults to 14 days from now."
    }
  },
  "required": [
    "origin",
    "destination"
  ]
}
🟢buy_ticket(ticket_id, first_name, last_name, email, tx_hash, ...)

Buy the ticket for a flight from search_flights, paid in USDC. Call it first without payment to get the price, wallet address and MPP challenges. After sending the USDC, call it again with tx_hash and chain (or an MPP credential in _meta "org.paymentauth/credential"). x402 clients can instead sign one of the offers in error.data.x402 and retry with the PaymentPayload in _meta "x402/payment", with no gas needed. Returns the ticket link and PDF.

輸入結構描述

{
  "type": "object",
  "properties": {
    "ticket_id": {
      "type": "string",
      "description": "The flight id from search_flights"
    },
    "first_name": {
      "type": "string",
      "description": "Passenger's first name, as on their passport"
    },
    "last_name": {
      "type": "string",
      "description": "Passenger's last name, as on their passport"
    },
    "email": {
      "type": "string",
      "description": "Optional, also emails the ticket here"
    },
    "tx_hash": {
      "type": "string",
      "description": "Hash of the USDC transfer that paid for it"
    },
    "chain": {
      "type": "string",
      "enum": [
        "base",
        "ethereum",
        "optimism",
        "polygon"
      ],
      "description": "Chain the USDC was sent on, defaults to base"
    }
  },
  "required": [
    "ticket_id",
    "first_name",
    "last_name"
  ]
}

社群

為此伺服器評分

證據

近期觀測

已驗證未記錄版本3 個工具