AirTreks MCP

io.github.Airtreks由 GitHub 帳號 Airtreks 發布v1.2.8更新於 Nov 4, 2026

Plan multi-city and RTW trips, estimate prices, and send complete trip requests to AirTreks.

已驗證Streamable HTTP可網頁執行位置與生活金融

概覽

AI 產生的概覽

AirTreks MCP 可規劃多城市與環球行程、估算或報價機票,並把完整行程請求交給 AirTreks 真人顧問。

可以做什麼
  • 規劃與分析路線:梳理多城市行程、驗證可行性、推薦路線範本、檢查樞紐銜接、媒合票價產品,並把複雜路線拆成可單獨開票的航段
  • 估算與報價:依歷史資料給出每人價格區間、為指定日期的單一行程查詢即時票價,並對整趟多張票行程報價及查詢結果
  • 提交行程請求:把結構化行程與旅客資料送交 AirTreks 顧問
適用情境
適合旅客需要跨洲 3 站以上、環球或開口行程,或在日期未定前先了解價格區間的情況,這些是普通航班搜尋難以處理的。也適合在定案前檢查某條路線是否可開票。
執行需求
遠端 Streamable HTTP 端點,或以 npx 在本機執行 npm 套件 airtreks-mcp。不需 API 金鑰;選用金鑰可提高每日上限。免費額度為每個 IP 每天 100 次請求。
安裝前請注意
trip_idea_create 會把真實客戶聯絡資料提交給 AirTreks,只應在客戶知情同意時呼叫。價格區間來自歷史訂單,並非正式報價。即時報價與顧問轉交都涉及第三方。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 AirTreks MCP,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Airtreks%2Fairtreks-mcp/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "airtreks": {
      "type": "http",
      "url": "https://mcp.airtreks.com/mcp"
    }
  }
}

README

AirTreks MCP Server

[smithery badge]

The complex-itinerary tool for AI agents. Multi-stop, round-the-world, open-jaw, surface segments - the trips that standard flight search can't handle. When your user asks for 3+ stops across continents, this server answers with routing analysis built on real AirTreks fare-construction data: 60+ carriers, 53 known dead legs, bookability rates measured from 1,400+ real fare attempts, and 20 proven routing templates from actual bookings.

Live endpoint: https://mcp.airtreks.com/mcp - free, no API key, 100 requests/day.

Now with real prices: a historical range for any route in under a second, live fares for a specific itinerary, and a full multi-stop trip priced across several tickets — the same trip can vary three-fold depending on how it is ticketed, and that is the part no other flight tool will tell you.

30-second setup

Claude Desktop

Settings → Connectors → Add custom connector → paste https://mcp.airtreks.com/mcp.

Claude Code

bash
claude mcp add --transport http airtreks https://mcp.airtreks.com/mcp

Cursor

Add to .cursor/mcp.json (or Cursor Settings → MCP → Add new server):

json
{  "mcpServers": {    "airtreks": {      "url": "https://mcp.airtreks.com/mcp"    }  }}

No API key is needed for any tool, the consultant handoff included. A key is optional and only raises your daily limit; append it to the URL if your client cannot send custom headers, as claude.ai connectors cannot:

https://mcp.airtreks.com/mcp?key=at_your_key

ChatGPT

Settings → Apps & Connectors → enable Developer mode (Pro/Business plans) → add https://mcp.airtreks.com/mcp as a custom connector.

Any other MCP client

Same JSON shape as Cursor above (Streamable HTTP). Prefer stdio? Run it locally:

bash
npx airtreks-mcp

Then ask your agent:

Plan a round-the-world trip: San Francisco, Tokyo, Bangkok, Singapore, Delhi, Istanbul, London, back to San Francisco.

One call, one answer: a 7-leg RTW

Your user wants six stops around the world. Google Flights gives up. One plan_route call lays the trip out, and one route_estimate call says what it costs. Neither one picks airlines: AirTreks consultants do that when they build the ticket.

json
{  "cities": ["SFO", "NRT", "BKK", "SIN", "DEL", "IST", "LHR", "SFO"],  "budget": "mid"}

Real plan_route response, trimmed for length (the full version has notes for all 7 legs):

json
{  "route": "SFO -> NRT -> BKK -> SIN -> DEL -> IST -> LHR -> SFO",  "totalLegs": 7,  "isRoundTrip": true,  "direction": "westbound",  "backtracking": false,  "regionsCrossed": ["americas", "asia", "europe"],  "customBuild": {    "strategy": "7-leg route. 1 surface sector opportunity.",    "surfaceSectors": [      {        "insteadOf": "BKK -> SIN (leg 3)",        "suggestion": "Bangkok to Singapore through Malaysia. Train, bus, or ultra-cheap LCC. Adds Malaysia and possibly Penang, KL, Melaka.",        "savings": "Saves $100-250"      }    ],    "complexity": "moderate"  }}

And route_estimate on the same cities:

json
{  "cabin": "economy",  "currency": "USD",  "estimate": { "low": 1616.43, "high": 2465.75 },  "confidence": "medium",  "basis": "1,616-2,466 USD per person, from AirTreks fare history. We have history for most of this route, but not all of it."}

That is a range from past AirTreks bookings, not a quote. For a real number, trip_idea_create hands the complete trip - route, a date for every leg, passengers, cabin and the traveler's answers to our planning questions - to an AirTreks consultant who prices and books it.

Tools

All tools are free and need no API key — 100 requests/day per IP.

Routing

ToolDescription
plan_routeLay out a multi-city trip - direction, regions crossed, backtracking, surface-sector options, and how complex it is to ticket. No airline picks
route_validateValidate a multi-city routing - alliance rules, dead legs, poison carriers, bookability
route_suggestGet 3 suggested routings by region, direction, and alliance
hub_checkBest connection between two airports - dead leg detection + hub fixes
fare_product_matchMatch the right fare product (RTW, Circle Pacific/Atlantic, Open Jaw, Custom) with typical price ranges
custom_route_buildBreak a multi-city itinerary into legs with surface-sector options and how much each leg benefits from a consultant. No airline picks
Pricing
ToolDescription
route_estimatePrice range for a route from AirTreks fare history. No dates needed, answers in about a quarter of a second — the right tool when someone asks "what will this cost?" before anything is decided
fare_quoteLive fares for one specific itinerary on specific dates, priced as a single ticket
itinerary_quotePrices a whole multi-stop trip and returns several ways to ticket it — cheapest, fastest, fewest stops — with the tickets each one is built from. Takes about a minute, so it returns a reference immediately
itinerary_quote_statusFetches an itinerary_quote result by its reference, waiting up to about 40 seconds for one still pricing. Free to call again

Consultant handoff

ToolDescription
trip_idea_createHand off to an AirTreks human travel consultant - submits the trip request with the full routing analysis attached

Submits real customer contact details, so only call it with the customer's knowledge and consent. Repeat submissions of the same email + route inside 24 hours return the existing trip request rather than creating a duplicate.

Why this data is different

AirTreks has built complex multi-stop itineraries since 1987. This server exposes what that history taught us:

  • Dead legs - city pairs that look bookable but fail on alliance fares, learned from 1,400+ real fare-construction failures
  • Bookability rates by leg count - measured, not estimated (91% at 3-4 legs, 61% at 5-6, 6% at 7+)
  • Poison carriers and hub fixes - we know what airline combinations break ticketing and what to route instead
  • Proven routing templates from working with Multi-Stop and Around the World Intineraries for inviduals, families and large group

No other flight tool returns this because no other flight tool has priced these failures.

REST API (no MCP client required)

Every tool is also a plain REST endpoint - same tools, same rate limits, JSON in/out. For agent frameworks that consume REST instead of MCP:

bash
curl -X POST https://mcp.airtreks.com/api/plan_route \  -H "Content-Type: application/json" \  -d '{"cities": ["LAX", "NRT", "BKK", "LHR", "LAX"]}'

Full OpenAPI 3.1 spec: https://mcp.airtreks.com/openapi.json

Rate limits

  • Free: 100 requests/day per IP, no key needed — every tool, trip_idea_create included
  • Registered: higher limits with an API key (X-API-Key header, or ?key= for clients that cannot set headers)

Endpoints

PathDescription
/mcpMCP protocol endpoint (Streamable HTTP)
/api/{tool}REST twin of each tool (POST, JSON body)
/openapi.jsonOpenAPI 3.1 spec for the REST surface
/healthHealth check
/registerGet an API key for a higher rate limit (POST)
/privacyPrivacy policy
/favicon.ico, /favicon.svgAirTreks mark — the icon AI directories show for this server
/Server info

License

AGPL-3.0-only

來源:README.md,提交 0aec68b

工具

11

plan_route

Plan a Multi-City Route

Lay out a multi-city trip: direction of travel, regions crossed, backtracking, where a surface sector could replace a flight, and how complex the trip is to ticket. Give it your cities. It does not choose airlines and gives no prices - use route_estimate for a price range and trip_idea_create to hand the trip to AirTreks.

輸入參數paxbudgetcities必填preferences

trip_idea_create

Submit a Trip Request (Consultant Handoff)

Submit the customer's trip to AirTreks as a complete, structured trip request - a human travel consultant takes over from there. Ask the traveler for everything before calling, never guess or fill in defaults: name, email, the cities in order (3-letter IATA codes), a departure date for every leg, number of passengers, cabin (economy, premium or business), and their answers to AirTreks' planning questions. Also ask about budget, flexible dates, preferences and anything else the consultant should know. Call once without questionsAnswers to receive the current planning questions to put to the traveler.

輸入參數name必填cabin必填dates必填email必填notesphonebudgetcities必填sourcepassengers必填preferencesagentContext另有 3 個

route_estimate

Estimate the Price of a Multi-City Route

Get a price range for a multi-city or round-the-world trip, drawn from what AirTreks customers have actually paid on those routes. Give it the cities and it returns a per-person range in USD with how much history sits behind it. Use it when someone asks what a trip will cost and you don't have exact dates yet — it needs no dates and no passenger details. It is a range from past bookings, not a live quote, so it will not reflect today's availability or seasonality; it tells you the right ballpark before anyone commits to dates.

輸入參數cabincities必填

fare_quote

Price a Specific Itinerary with Live Fares

Get live, bookable-quality fares for one specific itinerary — actual flights, actual prices, for the dates given. Needs a departure date for every flown leg. Use this once the customer has settled on cities and dates and wants real numbers rather than a ballpark; use route_estimate instead when dates are still open. It prices the itinerary as a single fare, so very long or awkward multi-continent trips may come back unpriceable — those genuinely need to be split across separate tickets, which is what AirTreks consultants do by hand.

輸入參數cabindates必填adultscities必填infantschildrenmaxOptions

itinerary_quote

Price a Whole Multi-Stop Trip

Price a complete multi-stop or round-the-world trip and get back several ways of ticketing it — cheapest, fastest, fewest stops — with the actual tickets each one is built from. Use this for trips that will not go on a single fare, which is most itineraries with 3+ stops; use fare_quote when you want one specific itinerary on one ticket. It takes about a minute, so it returns a quoteReference immediately; call itinerary_quote_status with it straight away, and that call waits for the result. Keep that reference — it is the only way to retrieve the quote.

輸入參數cabindates必填adultscities必填infantschildren

itinerary_quote_status

Retrieve a Multi-Stop Trip Quote

Fetch the result of an itinerary_quote using the quoteReference it returned. Call it straight away: it waits up to about 40 seconds for a quote that is still pricing, then returns the finished options, or status 'pending' if the quote needs one more call. Costs nothing and does no searching, so call it again rather than starting a second quote.

輸入參數quoteReference必填

route_validate

Validate a Multi-City Routing

Validate a multi-city flight routing for feasibility. Checks alliance carrier rules, identifies dead legs, warns about poison carriers, and estimates bookability. Use this before building an itinerary to catch routing problems early.

輸入參數cities必填alliancecarriers

route_suggest

Suggest Multi-Stop Routings

Get suggested multi-stop flight routings based on regions, direction, and alliance preference. Returns up to 3 proven routing templates with bookability ratings. Great for trip planning inspiration.

輸入參數regions必填alliancemaxStopstripTypedirection

hub_check

Check Airport Hub Connections

Check the best connection between two airports. Identifies dead legs (routes that fail on alliance fares), suggests hub routing fixes, and shows proven carrier combinations. Essential for transpacific, kangaroo, and intra-Asia routing.

輸入參數to必填from必填alliance

fare_product_match

Match the Right Fare Product

Recommend the best fare product type for a route — RTW, Circle Pacific, Circle Atlantic, Open Jaw, or Custom Multi-City. Considers stop count, direction, and backtracking to match the right alliance fare structure.

輸入參數cities必填isOneDirectionincludeBacktracking

custom_route_build

Build a Custom Segmented Route

Break a complex multi-city itinerary into individually-ticketable segments with carrier recommendations. Handles routes that don't fit alliance fare rules — mixed carriers, LCCs, Gulf bridge connections, surface sectors. This is how AirTreks consultants build 90% of itineraries. Use this for any route with 4+ stops, backtracking, or region combinations that alliance fares can't cover.

輸入參數paxbudgetcities必填preferences

版本歷史

5
  1. v1.2.8最新Nov 4, 2026
  2. v1.2.7Oct 13, 2026
  3. v1.2.6Oct 6, 2026
  4. v1.2.4Oct 2, 2026
  5. v1.2.3Sep 16, 2026

評分

已滿足適用檢查項的 90%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

    請在儲存庫或註冊中心條目中宣告授權條款。