简介
集成AIGoHotel MCP服务的酒店搜索与比价工具,支持多维度筛选、实时价格查询和房型详情展示。
原始描述
A Skill for searching hotels and querying prices via AIGoHotel MCP (searchHotels / getHotelDetail / getHotelSearchTags)
安装
下载 zip 解压后,把里面的文件放进你的 Agent 的 skills 目录即可使用。
给 Agent 的直链(让它自己下载安装):
https://v110.com/skill/ai-go-hotel.zip
Claude Code 放 ~/.claude/skills/;Codex、TypingMind 等按各自文档的 skills 目录放置。技能申请什么权限由作者决定,装前请确认。
中文使用说明 来自收录源
AIGoHotel MCP酒店搜索技能评估
核心用法
AIGoHotel MCP是一套面向酒店预订场景的专业MCP(Model Context Protocol)服务,提供三大核心能力:
- searchHotels(酒店搜索):支持按目的地、日期、星级、价格、标签等多维度筛选酒店,返回酒店列表及基础价格信息
- getHotelDetail(房型详情):针对选定酒店获取完整房型、价格、取消政策等详细信息
- getHotelSearchTags(标签元数据):获取可用的筛选标签体系,支持将自然语言偏好映射为结构化标签
显著优点
- 搜索维度丰富:支持城市、机场、景点、火车站等多种地点类型,可精确到500米距离范围
- 标签体系完善:涵盖品牌评级、核心设施、亲子服务、交通支付等十余个分类,支持偏好/必选/排除三种过滤模式
- 价格信息实时:返回最低价、币种、可预订链接,明确标注"价格随时变动"的风险提示
- 多语言支持:支持zh_CN/en_US等语言切换
- 参数智能容错:日期自动调整为明天、人数默认兜底等设计降低调用失败率
潜在缺点与局限性
- 依赖外部服务稳定性:价格查询失败时需手动重试,无缓存机制
- 地域覆盖不明:文档未明确支持的国家/地区范围,countryCode字段暗示主要面向中国市场(CNY默认币种)
- 品牌标签本地化:"Home Inn"等示例显示标签名称为中文语境,国际化用户可能需额外映射
- 无直接预订能力:仅提供bookingUrl跳转,无法在对话内完成交易闭环
- MCP配置门槛:需手动获取Token并配置headers,对普通用户不够友好
适合人群
- 旅行规划助手、智能客服等需要酒店信息检索能力的AI应用
- 已接入MCP生态、具备API配置能力的技术用户
- 以中国市场为主、兼顾出境游的差旅/度假预订场景
常规风险
| 风险类型 | 说明 |
|---|---|
| 价格波动 | 明确提示"价格和可用性为实时结果,可能随时变化" |
| 信息时效 | 依赖上游酒店供应链,超售、房态变化等未实时同步可能导致预订失败 |
| 数据准确性 | 文档多次强调"不得虚构工具未返回的字段值",需严格校验空值处理 |
| 隐私合规 | 未说明用户位置、行程等数据的存储与处理规范,企业接入需额外评估 |
技能正文
name: aigohotel-mcp description: A Skill for searching hotels and querying prices via AIGoHotel MCP (searchHotels / getHotelDetail / getHotelSearchTags)
AIGoHotel MCP Hotel Search Skill
This Skill describes how the model should use the aigohotel-mcp MCP server to search for hotels, view detailed prices for a specific hotel, and fetch available hotel tag metadata.
When to use this Skill
- When the user wants to find hotels in a specific place (city, airport, attraction, station, detailed address, or a specific hotel), call
searchHotels. - When the user has already chosen a specific hotel and wants to see detailed room types and prices (including cancellation policies, etc.), call
getHotelDetail. - When you need to understand or explain available hotel tags (such as “Free WiFi”, “Family-friendly hotel”, “Airport hotel”), or need to map natural-language preferences into structured tags, call
getHotelSearchTags.
Tool 1: searchHotels
Purpose: Search a list of hotels based on destination, dates, star rating, number of guests, budget, and tag filters.
Key input fields (fill them based on the user’s intent as much as possible):
-
Required
originQuery(string): The user’s original natural-language query.place(string): The place name (city / airport / attraction / train station / subway station / hotel / district / detailed address, etc.).placeType(string): The type corresponding toplace. Supported values:城市(city),机场(airport),景点(attraction),火车站(train station),地铁站(subway station),酒店(hotel),区/县(district/county),详细地址(detailed address).
-
Dates and length of stay
checkInDate(string,YYYY-MM-DD): Parse from user utterances when possible; if omitted or earlier than today, the service automatically uses “tomorrow”.stayNights(number): Set according to how many nights the user wants to stay; can be omitted if not specified (default is1).
-
Guests and country
adultCount(number): Number of adults per room; use default2if not specified.countryCode(string): Two-letter country code, e.g.CNfor China,USfor the United States.
-
Price and star rating
starRatings(number[]): Star rating range. For example, if the user says “4 stars and above”, you can use[4.0, 5.0].hotelTags.maxPricePerNight(number): If the user says “no more than X per night”, set this field inhotelTags(currency in CNY).
-
Tags and brands (from user preferences or
getHotelSearchTags)hotelTags.preferredTags(string[]): Tags the user would like to have (e.g. “Free WiFi”, “Premium hotel”, “Family-friendly hotel”).hotelTags.requiredTags(string[]): Tags that are must-have conditions.hotelTags.excludedTags(string[]): Tags that the user explicitly does not want.hotelTags.preferredBrands(string[]): Preferred brands, such as “Hilton”, “Marriott”, “Home Inn”, etc.hotelTags.minRoomSize(number): Minimum room size in square meters, if mentioned by the user.
-
Others
distanceInMeter(number): Whenplaceis a POI, you can limit the straight-line distance; a typical value is5000.size(number): Number of hotels to return. Default is5; generally should not exceed10–20.withHotelAmenities(boolean): Set totruewhen you need to compare hotels by amenities (such as pool, gym, etc.).language(string): Locale, e.g.zh_CNfor Chinese,en_USfor English.queryParsing(boolean): Usually keep the defaulttrueto leverage server-side intent parsing.
Output highlights (how to use the result):
- Common top-level fields:
message,hotelInformationList. - Each hotel in
hotelInformationListcontains:hotelId,name,address,destinationId,latitude,longitude,distanceInMeters,starRating,score,tags,hotelAmenities,bookingUrl(you can provide this as a booking link to the user),price(an object rather than a single number):hasPrice: Whether price is available.currency: Currency code (usuallyCNY).lowestPrice: The lowest available price under the current conditions.
- Some fields may be missing or
null. Do not fabricate values that are not returned by the MCP tool.
Tool 2: getHotelDetail
Purpose: After the user has chosen a specific hotel, get detailed room types, total prices, and cancellation policies for a given stay period.
Typical call scenarios:
- The user says things like “For this hotel, show me the room types and prices / whether breakfast is included / whether it’s refundable”.
- Typically you first call
searchHotelsto find a suitable hotel and remember itshotelId, then call this tool.
Key input fields:
hotelId(number): Prefer using thehotelIdreturned fromsearchHotels.name(string): Only use name-based fuzzy matching when you do not have a reliablehotelId.checkInDate/checkOutDate(string,YYYY-MM-DD):- If empty, invalid, or earlier than today, the service will automatically adjust (e.g. use “tomorrow” and
+1day).
- If empty, invalid, or earlier than today, the service will automatically adjust (e.g. use “tomorrow” and
adultCount(number, default2),childCount(number, default0),childAgeDetails(number[]):- Set according to the actual number and ages of guests.
roomCount(number, default1): Number of rooms.countryCode(string, defaultCN): Country code.currency(string, defaultCNY): Currency code.
Output highlights:
- On success, the response usually contains:
success,errorMessage,hotelId,name,bookingUrl,checkIn,checkOut,roomRatePlans: A list of room types and rate plans.
- Common fields in
roomRatePlans:roomTypeId,roomName,roomNameCn,ratePlanId,ratePlanName,currency,totalPrice(total price for this stay),inventoryCount,isOnRequest,cancellationPolicies: Cancellation rules (time periods, amounts, descriptions, etc.).
- When responding to the user:
- Focus on summarizing key information: main room types, price range, whether free cancellation is available, whether breakfast is included, etc.
- You may provide
bookingUrl(e.g. “You can complete the booking via this link.”).
- On failure, the tool may return an error message directly (e.g. “Failed to get prices, please try again later”). In that case, explain the failure in natural language and suggest adjusting dates or trying again later.
Tool 3: getHotelSearchTags
Purpose: Fetch metadata for tags that can be used in searchHotels.hotelTags. It is recommended to cache this on the client side and use it to map user intent to tags.
Output highlights:
tags: A list of tags, each including:name: Tag name (for example “Free WiFi”).category: Category (for example “Core Facilities”, “Hotel Type”, etc.).description: Human-readable explanation.
usageGuide:tagUsage: How to use tag names inhotelTags.preferredTags/requiredTags/excludedTags.exampleRequest: Example request JSON.
Typical categories (non-exhaustive):
- Brand & Rating
- Selling Points
- Core Facilities
- Family & Kids
- Service Details
- Dining & Service
- Transport & Payment
- View & Room Type
- Hotel Type
- Price Related
When you need complex filtering with tags and are not sure about the exact tag names, you can first call getHotelSearchTags, then choose appropriate tags from tags.name to fill into hotelTags.
General dialogue and safety constraints
- In multi-turn conversations, remember the user’s already-provided destination, dates, number of guests, star rating, and budget as much as possible, and only ask again when information is missing or ambiguous.
- Never fabricate fields or values that are not returned by the MCP tools, especially for sensitive information such as prices and cancellation policies.
- Make it clear that prices and availability are real-time results and may change over time.
- Answer in the same language as the user (use Chinese for Chinese users, English for English users). Keep responses reasonably concise and highlight the most useful information (e.g. 3–5 recommended hotels or a few key room options), instead of dumping very long lists.
Local MCP configuration example (optional)
In development tools that support local MCP configuration (such as Cursor), you can add the following to mcp.json to mount AIGoHotel MCP as an available server (the name aigohotel-mcp-server is just an example and can be adjusted as needed):
{ "mcpServers": { "aigohotel-mcp-server": { "url": "https://mcp.aigohotel.com/mcp", "headers": { "Authorization": "Bearer <YOUR_AIGOHOTEL_MCP_TOKEN>", "Content-Type": "application/json" } } } }
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。