360 Secure SkillHub
360 安全技能中心

getyourguide-mcp

这是对接GetYourGuide合作API的只读MCP服务,适用于查询目的地景点门票、当地游、一日游、活动项目及用户评价、可订票种与场次等场景。使用需申请免费合作API密钥完成配置,支持自定义默认货币、语言。提供搜索、详情查询、评价读取、分类/地点浏览、连通性检测等工具,默认返回精简结果,可按需获取全量数据,仅提供信息查询,实际预订需跳转官网。

chrischall
chrischall
热度 60.54
最近更新 2026-10-10 07:25:46
分类:生活依赖:MCP 服务 / 第三方 API应用场景:旅行 / 推荐

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add getyourguide-mcp
Metadata
name
getyourguide-mcp
description
This skill should be used when the user asks about GetYourGuide tours, activities, or attraction tickets. Triggers on phrases like "find tours on GetYourGuide", "things to do in Paris", "skip-the-line tickets", "GetYourGuide reviews", "book an activity", or any request involving searching tours, activities, day trips, or attraction tickets.

getyourguide-mcp

MCP server for GetYourGuide — read-only search and discovery of tours, activities, and attraction tickets via the GetYourGuide Partner API.

Setup

Add to .mcp.json in your project or ~/.claude/mcp.json:

{
  "mcpServers": {
    "getyourguide": {
      "command": "npx",
      "args": ["-y", "getyourguide-mcp"],
      "env": {
        "GYG_API_KEY": "your-partner-api-key"
      }
    }
  }
}

Get an API key by joining the free partner program at partner.getyourguide.com. Optional env: GYG_CURRENCY (e.g. USD), GYG_LANGUAGE (e.g. en).

Tools

Tool Use it to
gyg_search_tours Find tours by free text / location / category / date range. Start here.
gyg_get_tour Pull the full record once a tour is chosen
gyg_get_tour_options See bookable options (ticket types, times) for a tour, optionally within dates
gyg_get_tour_reviews Read customer reviews for a tour
gyg_list_categories Discover category IDs to filter searches
gyg_list_category_tours Browse tours in one category
gyg_get_location Resolve a location ID (city / POI / region)
gyg_list_location_tours Browse everything bookable at a location
gyg_healthcheck() Is this connector working? Reports which credential resolved, whether api.getyourguide.com accepted it, and what to fix. Start here when another tool fails — an empty result can mean "no data" or "never authenticated", and this separates them.

Response shape

Every data tool takes view: "compact" | "full", and compact is the default — you get the slim response without asking for it. On the tour listings (gyg_search_tours, gyg_list_category_tours, gyg_list_location_tours) compact is a slim projection; everywhere else it strips image URLs and keeps every other field. Pass view: "full" for the whole GetYourGuide record.

(This replaced an opt-in compact: true flag. Passing compact now does nothing — zod drops the unknown key and you get the compact rung regardless, which is what the flag used to ask for.)

Usage notes

  • Everything is read-only — booking still happens on getyourguide.com (tour records include the url).
  • Results honor currency / language args (fall back to the env defaults).
  • If a response looks structurally off, the server has already logged a precise drift warning to stderr and returned the raw body — report the warning text upstream rather than working around it silently. gyg_search_tours and gyg_get_tour_options accept extraParams for raw query params if the API needs something the schema doesn't expose. It can't override the tool's own arguments: a colliding key (limit, currency, …) is ignored, so set those through the real arguments.
  • A 401/403 error means the key is wrong or its partner tier doesn't cover that endpoint — check the partner dashboard before assuming the key is dead.