MCP HubMCP Hub
Retour aux compétences

moodtrip-hotel-search

adiny
Mis à jour 2 days ago
2 vues
1
1
Voir sur GitHub
Métaaiapimcp

À propos

Cette compétence Claude permet la recherche, la comparaison et le transfert de réservation d'hôtels en se connectant au serveur MCP MoodTrip.ai. Elle s'active lorsque les utilisateurs discutent d'hébergement, de logement ou de réservations hôtelières, en traitant les requêtes concernant les prix, les équipements et les recommandations. La compétence fournit en temps réel l'inventaire, la recherche sémantique, les avis et les liens de réservation via LiteAPI.

Installation rapide

Claude Code

Recommandé
Principal
npx skills add adiny/moodtrip-hotel-search -a claude-code
Commande PluginAlternatif
/plugin add https://github.com/adiny/moodtrip-hotel-search
Git CloneAlternatif
git clone https://github.com/adiny/moodtrip-hotel-search.git ~/.claude/skills/moodtrip-hotel-search

Copiez et collez cette commande dans Claude Code pour installer cette compétence

Documentation

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.

Dépôt GitHub

adiny/moodtrip-hotel-search
Chemin: SKILL.md
0

Compétences associées

content-collections

Méta

Cette compétence propose une configuration éprouvée en production pour Content Collections, un outil axé sur TypeScript qui transforme des fichiers Markdown/MDX en collections de données typées de manière sûre avec une validation Zod. Utilisez-la lors de la création de blogs, de sites de documentation ou d'applications Vite + React riches en contenu pour garantir la sécurité de typage et la validation automatique du contenu. Elle couvre tout, de la configuration du plugin Vite et de la compilation MDX à l'optimisation des déploiements et la validation des schémas.

Voir la compétence

polymarket

Méta

Cette compétence permet aux développeurs de créer des applications avec la plateforme de marchés prédictifs Polymarket, incluant l'intégration d'API pour le trading et les données de marché. Elle fournit également une diffusion de données en temps réel via WebSocket pour surveiller les transactions en direct et l'activité du marché. Utilisez-la pour mettre en œuvre des stratégies de trading ou pour créer des outils traitant les mises à jour de marché en direct.

Voir la compétence

creating-opencode-plugins

Méta

Cette compétence aide les développeurs à créer des plugins OpenCode qui s'interconnectent avec plus de 25 types d'événements tels que les commandes, les fichiers et les opérations LSP. Elle fournit la structure du plugin, les spécifications de l'API événementielle et les modèles d'implémentation pour les modules JavaScript/TypeScript. Utilisez-la lorsque vous avez besoin d'intercepter, de surveiller ou d'étendre le cycle de vie de l'assistant IA OpenCode avec une logique personnalisée pilotée par les événements.

Voir la compétence

sglang

Méta

SGLang est un framework de service LLM haute performance spécialisé dans la génération rapide et structurée pour les workflows JSON, regex et agentiques grâce à son cache de préfixe RadixAttention. Il offre une inférence nettement plus rapide, particulièrement pour les tâches avec des préfixes répétés, ce qui le rend idéal pour les sorties complexes et structurées ainsi que les conversations multi-tours. Choisissez SGLang plutôt que des alternatives comme vLLM lorsque vous avez besoin d'un décodage contraint ou que vous construisez des applications avec un partage étendu de préfixes.

Voir la compétence