pricewin-price-comparison

作者: price-win

比较Booking.com、Agoda、Traveloka和OpenTravel上特定日期的实时酒店房价——同一房源哪家OTA最便宜、每间房价以及免费取消条款。适用于比较酒店价格、查询指定酒店的房价、询问哪个网站更便宜,或为给定的入住/退房日期寻找最优价格时使用。

npx skills add https://github.com/price-win/pricewin-skills-hub --skill pricewin-price-comparison

Requires the pricewin MCP server. This skill issues no network calls of its own.

Price Comparison

MCP server: pricewin. Compares live rates across Booking.com, Agoda, Traveloka (crawled) plus OpenTravel (direct API).

Comparison is something you do over the returned sources — there is no server-side compare call. Pick the entry point by what the user gave you:

User gave youTool
A city — "compare hotel prices in Da Nang"search_hotels_livepoll_search_results
A named hotel — "is Mercure Danang cheaper on Agoda or Booking?"get_ota_hotel_detail
A hotel already known to be OpenTravel direct (source: "OPENTRAVEL_DIRECT", has propertyId)get_hotel_detail

City-wide comparison

search_hotels_live returns IMMEDIATELY with a sessionId — it does not return hotels.

  1. search_hotels_live — required: city, checkIn, checkOut (YYYY-MM-DD). Optional: adults (default 2), rooms, area, hotelName, priceMin, priceMax, language
  2. Wait 5s → poll_search_results(sessionId, nights)
  3. While status is pending or partial: wait 5s and poll again — up to 18 times (90s)
  4. Present as soon as status == "partial" with hotels; keep polling silently and refine

Then compare per hotel across its sources. See pricewin-hotel-search for the full dedupe + presentation contract — do not restate it differently here.

Single named hotel

get_ota_hotel_detail — for one specific Booking.com/Agoda hotel the user named.

  • Required: checkIn, checkOut. Pass hotelName + city + queryText (verbatim user text) whenever known
  • Do NOT call search_hotels_live for a named hotel — that returns a whole-city list
  • Live crawl, ~20–60s. Say nothing about "loading" until it actually returns
  • Speed-up: if a prior search already gave you prices.booking.url, pass it as propertyUrl to skip name resolution
  • If it returns not-found under load, retry once

Returns rooms, prices, facilities, photos, reviews for that property.

OpenTravel direct properties

get_hotel_detail — only for results with source: "OPENTRAVEL_DIRECT".

  • Pass propertyId (UUID from opentravelResults[].propertyId) when available
  • hotelName + city is a fallback only for a property already confirmed as OpenTravel direct
  • Required: checkIn, checkOut. Optional: adults, children, language
  • Returns room types with roomTypeId and ratePlanId — these are what make a property bookable

⚠️ Router rule: have a propertyIdget_hotel_detail. Name only → get_ota_hotel_detail.

Cancellation terms

For OpenTravel rate plans only: get_cancellation_policy(propertyId, ratePlanId, checkInDate) → non-refundable flag, free-cancellation window, refund %, and the computed deadline.

ratePlanId comes from get_hotel_detailroomTypes[].ratePlanId. Pass checkInDate or you get no deadline. OTA hotels have no structured policy — quote whatever the crawl returned.

Presenting a comparison

  • Rank purely by price. No source gets priority, OpenTravel included
  • Show the cheapest source first, then the others underneath: Agoda $X · Booking $Y · OpenTravel $Z
  • Savings vs the next-cheapest source: (next - cheapest) / next * 100 → "Save Z%"
  • When the gap is small, prefer the free-cancellation option and say why
  • All prices USD unless the tool says otherwise. No conversion

Tool inputs and response fields: reference.md.

Security & data handling

Documentation only — no code, no dependencies, no network calls of its own. The only data sent is the comparison query (city or hotel name, dates, guests, plus queryText — the user's message verbatim), to PriceWin's hosted MCP server https://mcp.price.win/mcp (no credentials, no account). No PII, and this skill cannot book or pay for anything. Full disclosure — operator, backend provenance, exact fields per tool — in SECURITY.md.

来自 price-win 的更多技能

pricewin-deal-finder
price-win
酒店价格比较与优惠,涵盖Booking、Agoda、Google Hotels和OpenTravel,针对指定旅行日期和住客人数。用于查询酒店价格、优惠或比较OTA费率。
pricewin-hotel-deal-finder
price-win
通过比较Booking.com、Agoda、Google Hotels和OpenTravel上的实时价格,为全球任何城市和任何旅行日期找到最便宜的酒店优惠——一条命令即可返回排名后的最佳性价比、最便宜和优质选择,并附直接预订链接,所有价格均以美元标准化。当有人询问酒店价格、酒店优惠、最便宜的房间或房价、最佳酒店房价、酒店价格比较,或哪个OTA更便宜时使用——例如'is Booking or Agoda cheaper for Tokyo'、'find me a hotel in...
pricewin-hotel-search
price-win
在Agoda、Booking.com、Traveloka和OpenTravel上实时搜索酒店,获取特定日期的实时价格。当用户需要旅行日期的酒店价格、比较OTA或查找房间时使用。
researchweb-scrapingapi
pricewin-flight-search
price-win
搜索指定航线和日期的实时航班票价,覆盖Agoda、Trip.com和Traveloka——支持单程或往返、任意舱位,提供航空公司、时间、经停、航程时长及直接预订链接。当用户需要查询两地之间的航班价格、机票、廉价航班或特价机票,比较出行日期的航空公司选项,或规划行程中的飞行段时使用。
researchweb-scraping
pricewin-booking-assistant
price-win
推荐酒店客房并端到端完成真实预订——通过支付链接(银行二维码、银行卡或PayPal)预订OpenTravel直连酒店,查看支付状态,重新发送已过期的链接,或取消预订。对于仅支持OTA的酒店,回退到Booking.com/Agoda/Traveloka直接链接。在预订或预约酒店、获取客房推荐、支付住宿费用、查看确认码或取消预订时使用。