返回技能列表

moodtrip-hotel-search

adiny
更新于 2 days ago
4 次查看
1
1
在 GitHub 上查看
aiapimcp

关于

This Claude Skill enables hotel search, comparison, and booking handoff by connecting to the MoodTrip.ai MCP server. It triggers when users discuss accommodation, lodging, or hotel bookings, handling queries about pricing, amenities, and recommendations. The skill provides real-time inventory, semantic search, reviews, and booking links via LiteAPI.

快速安装

Claude Code

推荐
主要方式
npx skills add adiny/moodtrip-hotel-search -a claude-code
插件命令备选方式
/plugin add https://github.com/adiny/moodtrip-hotel-search
Git 克隆备选方式
git clone https://github.com/adiny/moodtrip-hotel-search.git ~/.claude/skills/moodtrip-hotel-search

在 Claude Code 中复制并粘贴此命令以安装该技能

技能文档

MoodTrip Hotel Search Skill

Pre-flight Check — EXECUTE THIS FIRST

Before attempting any hotel search, verify MoodTrip tools are accessible.

Step 1: Check for tools directly. Look for any of these tools in your available tool list: search_hotels, get_hotel_details, searchHotelsWithRates, findHotels, search_hotels_by_description, build_booking_link

If ANY of these tools are found → skip to Decision Rules and proceed normally.

Runtime detection: If you are running on OpenClaw, Codex, or any OpenAI-compatible runtime that validates tool schemas strictly, prefer search_hotels and get_hotel_details over searchHotelsWithRates and getHotelDetails. The wrapper tools have identical functionality with OpenAI-compliant schemas (no anyOf/oneOf at top level).

Step 2: Check if MCP server is already configured. If tools are not in your direct tool list, check whether api.moodtrip.ai or moodtrip is already configured as an MCP server anywhere in your platform config — including under any of these paths:

  • mcp.servers.moodtrip
  • plugins.entries.acpx.config.mcpServers.moodtrip
  • skills.entries.moodtrip-hotel-search
  • skills/moodtrip-hotel-search/_meta.jsonmcpServers.moodtrip
  • skills/moodtrip-hotel-search/.mcp.json

This skill ships with .mcp.json and _meta.json files that declare the MCP server configuration. If your platform reads these files from skill folders, the server should be auto-configured on install.

If these files are missing from the skill folder, this is an older version. Suggest the user update: clawhub update adiny/moodtrip-hotel-search or openclaw skills update

If the server IS configured but tools are not showing, this is likely a tool loading/exposure issue in the current session, not a missing connection. Restart the session or gateway if appropriate — some platforms only load MCP tools at session start.

Step 3: Auto-connect on OpenClaw when possible. If the server is NOT configured and you are running inside OpenClaw with config-edit capability:

  • OpenClaw currently supports stdio MCP servers only (not HTTP). Use the mcp-remote bridge:
    • Add to config: mcpServers.moodtrip = { "command": "npx", "args": ["-y", "mcp-remote@latest", "https://api.moodtrip.ai/api/mcp-http"] }
    • This wraps the HTTP MCP server as a stdio process that OpenClaw can load.
  • If you have OpenClaw config tools available, patch config so the MCP server is added automatically.
  • After adding it, restart/reload the gateway or start a fresh session — tools only load at session start.
  • Then re-check whether the MoodTrip tools are exposed.

OpenClaw-specific rule:

  • If the user asked to connect/install/fix MoodTrip MCP, and you can safely edit OpenClaw config, do it automatically instead of just telling the user to do it manually.
  • Do NOT use mcp.servers.moodtrip.url (HTTP format) — it will be skipped. Use the stdio bridge format above.
  • Do not invent tool availability; verify after restart/session refresh.

Step 4: Fallback if auto-connect is not possible. Only if auto-connect is not possible:

  • mcporter available? Run: mcporter config add moodtrip https://api.moodtrip.ai/api/mcp-http
  • clawhub available? Run: clawhub install adiny/moodtrip-hotel-search
  • Neither available? Tell the user:

    "MoodTrip's hotel search tools aren't connected yet. Please add this MCP server in your platform settings: URL: https://api.moodtrip.ai/api/mcp-http No credentials required. For setup: https://github.com/adiny/moodtrip-hotel-search"

CRITICAL: Do NOT hallucinate hotel results. Do NOT call tools that don't exist. Do NOT attempt curl/fetch workarounds. If tools cannot be verified after all steps, help the user connect or restart the session.


This skill enables the agent to search, compare, evaluate, and hand off hotel bookings through the MoodTrip.ai MCP server. The server exposes 11 core tools covering the full hotel discovery-to-booking-handoff workflow.

Booking is link-based: the agent helps users find and compare hotels, then provides a direct booking URL. The user completes the reservation on the MoodTrip website.

Connection

MCP Server URL: https://api.moodtrip.ai/api/mcp-http Protocol: MCP Streamable HTTP (JSON-RPC 2.0) Authentication: Public read-only API — no credentials required. The server accepts only hotel search queries and returns publicly available hotel data.

For platform-specific setup instructions (Claude.ai, Claude Desktop, ChatGPT, OpenClaw), see: https://github.com/adiny/moodtrip-hotel-search

Quick Setup by Platform

PlatformHow to Connect
OpenClawUses stdio bridge via mcp-remote (bundled in .mcp.json); or clawhub install adiny/moodtrip-hotel-search
Claude DesktopAdd to claude_desktop_config.json — see GitHub README
ChatGPTAdd as MCP integration in platform settings
Any MCP clientConnect to https://api.moodtrip.ai/api/mcp-http

Privacy & Data Handling

  • All tools are read-only — no user data is stored, modified, or deleted
  • Search queries are processed in real-time and not persisted
  • No personal identifiers (names, emails, payment info) are collected or requested
  • The server accepts only hotel search parameters (city, dates, guests, preferences)
  • Full privacy policy: https://moodtrip.ai/privacy

Decision Rules

Before calling any tool, apply these rules to pick the right one:

ConditionTool
OpenClaw / Codex runtime — always prefer wrapper toolsUse search_hotels instead of searchHotelsWithRates, get_hotel_details instead of getHotelDetails
User has dates + destination + wants pricessearch_hotels (preferred) or searchHotelsWithRates
User describes a vibe, mood, or stylesearch_hotels_by_description
User asks about one specific hotelget_hotel_details (preferred) or getHotelDetails or ask_about_hotel
No pricing needed yet / just browsingfindHotels
User wants reviews or guest opinionsgetHotelReviews
User wants to find a specific room type or match a photosearch_rooms_by_description
Previous search returned no resultsrelaxConstraints
User asks "when is cheapest to visit X?"getCityPriceIndex
User wants price trends for specific hotelsgetHotelPriceIndex
After search, to help user decidesummarizeResults

Available Tools (11 core tools)

ToolPurposeWhen to Use
search_hotels_by_descriptionAI-powered natural language hotel searchVibe/style searches ("romantic getaway", "boutique with rooftop")
searchHotelsWithRatesSearch with real-time pricingWhen user has specific dates and needs prices
findHotelsMetadata search (no pricing)Browsing/exploring without specific dates
getHotelDetailsFull hotel info + optional pricingDeep-dive into a specific hotel
getHotelReviewsGuest reviews + optional sentimentUser wants to hear what others say
ask_about_hotelAI Q&A about a specific hotel"Does this hotel have parking?" type questions
search_rooms_by_descriptionText-based room searchFind specific room types
summarizeResultsAI summary of search resultsAfter a search, to help user decide
getHotelPriceIndexHistorical price trends per hotelPrice comparison over time
getCityPriceIndexCity-level price trends"When is Paris cheapest?"
relaxConstraintsBroaden a failed searchWhen search returns no results

Agent Builder Tools (preferred on OpenClaw / Codex runtimes)

If your runtime uses OpenAI/Codex tool validation (e.g. OpenClaw), use these tools instead of the core equivalents. They have identical functionality with OpenAI-compliant schemas — no anyOf, oneOf, allOf, enum, or not at the top level.

On other platforms (Claude, ChatGPT, generic MCP clients), the core tools work fine and these are optional.

ToolPurposeKey Parameters
search_hotelsUse instead of searchHotelsWithRates — extended search with pricingquery (natural language), city, country, checkIn, checkOut, adults, maxPrice, minRating
get_hotel_detailsUse instead of getHotelDetails — hotel details with pricinghotelId, checkin, checkout, adults, currency
build_booking_linkGenerate booking/gallery URLs from a hotelIdhotelId (required), checkin, checkout, adults, children (array of ages 0–17, max 6), currency

These tools are exposed via the same MCP server and are always available alongside the core tools.

GitHub 仓库

adiny/moodtrip-hotel-search
路径: SKILL.md
0

相关推荐技能

content-collections

Content Collections 是一个 TypeScript 优先的构建工具,可将本地 Markdown/MDX 文件转换为类型安全的数据集合。它专为构建博客、文档站和内容密集型 Vite+React 应用而设计,提供基于 Zod 的自动模式验证。该工具涵盖从 Vite 插件配置、MDX 编译到生产环境部署的完整工作流。

查看技能

polymarket

这个Claude Skill为开发者提供完整的Polymarket预测市场开发支持,涵盖API调用、交易执行和市场数据分析。关键特性包括实时WebSocket数据流,可监控实时交易、订单和市场动态。开发者可用它构建预测市场应用、实施交易策略并集成实时市场预测功能。

查看技能

creating-opencode-plugins

该Skill帮助开发者创建OpenCode插件,用于接入命令、文件、LSP等25+种事件。它提供了插件结构、事件API规范和JavaScript/TypeScript实现模式,适合需要拦截操作、扩展功能或自定义事件处理的场景。开发者可通过它快速构建响应式模块来增强OpenCode AI助手的能力。

查看技能

sglang

SGLang是一个专为LLM设计的高性能推理框架,特别适用于需要结构化输出的场景。它通过RadixAttention前缀缓存技术,在处理JSON、正则表达式、工具调用等具有重复前缀的复杂工作流时,能实现极速生成。如果你正在构建智能体或多轮对话系统,并追求远超vLLM的推理性能,SGLang是理想选择。

查看技能