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 分

    请在仓库或注册中心条目中声明许可证。