# io.github.DIDA-AI/hotelbooking (npm · @didaai/hotelbooking)

Hotel Booking MCP Server

- Trust score: 62/100 (medium)
- Change this week: +19
- Registry status: active
- Liveness: live
- Owner verified: no
- Last scored: 2026-08-03

## Components

- npm · `@didaai/hotelbooking`: 62/100 (this document), [markdown](https://verifymcp.io/servers/dida-ai-hotelbooking/didaai-hotelbooking.md), [page](https://verifymcp.io/servers/dida-ai-hotelbooking/didaai-hotelbooking)

## Channel facts

- Registry: `npm`
- Package: `@didaai/hotelbooking`
- Version: `1.0.0`
- Transport: `stdio`

## Trust breakdown

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. Scores are 0–100 per category. Scoring method: https://verifymcp.io/docs/scoring (what has changed: https://verifymcp.io/docs/scoring/changelog)

Scored 2026-08-03.

- **Supply Chain Security**: 87/100
  - No malware found by supply-chain analysis.
  - Only part of the dependency tree could be resolved (107 of 108), so this covers what we could see, not the whole tree.
  - No install/post-install scripts declared.
  - Only part of the dependency tree could be resolved (107 of 108), so this covers what we could see, not the whole tree.
- **Provenance & Transparency**: 32/100
  - Source repository is publicly reachable at the declared URL.
  - Provenance check failed: no build-provenance attestation is published.
  - License check failed: no license is declared.
  - Actively maintained (last published 13 days ago).
  - Disclosure check failed: no security disclosure policy was found in the source repository.
- **Schema Quality & AI Usability**: 53/100
  - AI-judged instruction clarity (good).
  - Context-footprint check failed: tool/resource definitions use about 730 tokens (~243/item across 3 items; 3 tools + 0 resources), over budget; trim descriptions and params.
  - Usage-examples check failed: none of the tools include examples.
- **Stability & Change Management**: 27/100
  - Stability observed for 8 of 30 days with no destabilising changes; credit accrues until the full window elapses.
- **Tool Coverage**: 100/100
  - 100% of tools have a non-trivial description (not blank, and not just the tool's name).
  - 100% of tool parameters carry a description.
- **Capabilities**: 100/100
  - Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.

## Install

### Claude

```bash
claude mcp add dida-ai-hotelbooking -- npx -y @didaai/hotelbooking
```

### Codex

```bash
codex mcp add dida-ai-hotelbooking -- npx -y @didaai/hotelbooking
```

### opencode

```json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "dida-ai-hotelbooking": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@didaai/hotelbooking"
      ],
      "enabled": true
    }
  }
}
```

### OpenClaw

```bash
openclaw mcp add dida-ai-hotelbooking --command npx --arg -y --arg @didaai/hotelbooking
```

### Hermes

```yaml
mcp_servers:
  dida-ai-hotelbooking:
    command: "npx"
    args: ["-y", "@didaai/hotelbooking"]
```

### Other

```json
{
  "mcpServers": {
    "dida-ai-hotelbooking": {
      "command": "npx",
      "args": [
        "-y",
        "@didaai/hotelbooking"
      ]
    }
  }
}
```

## Changelog

Every change recorded for this component, newest first. Days that predate change tracking, or that we cannot explain, say so: "we were watching and nothing happened" and "we were not watching" are different claims.

### 2026-08-02 (score 62, +29)

- [security regression] Provenance: unverified → fail
- [security improvement] Install scripts: unverified → pass
- [security improvement] Known CVEs: unverified → partial
- [functional regression] License: unverified → fail
- [functional improvement] Dependency health: unverified → partial
- [functional improvement] Maintenance: unverified → pass
- [functional improvement] MCP protocol: unverified → pass
- [functional improvement] Stability: unverified → 0.23
- [functional improvement] Schema quality: unverified → good

### 2026-08-01 (score 33, +28)

- [security improvement] Malware scan: unverified → pass
- [functional improvement] Tool coverage: unverified → 100

### 2026-07-31 (score 5, −38)

- [functional] We updated how we score, so this day's move reflects our rubric, not a change to the server

### 2026-07-27 (score 43)

First indexed and scored.

## MCP tools (3)

### `searchHotels` (~382 tokens)

根据位置搜索酒店。支持城市、机场、景点、火车站、地铁站、酒店名称、区县或详细地址。返回包含基本信息和价格的匹配酒店列表。

Input parameters:

- `checkInParam` (object): 入住参数。字段：adultCount (整数，>=1，默认 2)；checkInDate (字符串 YYYY-MM-DD，未来的日期)；stayNights (整数，1~28，默认 1)。
- `countryCode` (string): ISO 3166-1 alpha-2 国家/地区代码，用于货币/地区偏好。默认值为 CN（中国）。
- `filterOptions` (object): 酒店筛选选项，例如酒店星级、每间房成人数、距离等
- `hotelTags` (object): 酒店筛选标签参数（可选）。当传入此参数时，将直接使用这些标签进行筛选和排序，无需服务端额外解析。包含字段：requiredTags（必须标签）、preferredBrands（偏好品牌）、maxPricePerNight（每晚最高预算）
- `originQuery` (string, required): 综合多轮对话，归纳用户的完整住宿/预订意图。
- `place` (string, required): 搜索目标名称。填写用户指定的城市、机场、景点、火车站、地铁站、酒店、区/县或详细地址；如果用户输入的是具体酒店名称，直接填写酒店名称
- `placeType` (string, required): place 的类型，必须与 place 的实际内容一致。可选值：城市、机场、景点、火车站、地铁站、酒店、区/县、详细地址。
- `size` (number): 返回酒店结果数量，默认5个酒店，最大不超过20个

### `getHotelDetail` (~290 tokens)

查询单个酒店的实时房型和价格（包括房型、价格和税费、可用性、取消政策等）。在用户选择特定酒店后，用于二次比价和确认详情。

Input parameters:

- `dateParam` (object): 入住/退房日期对象。字段：checkInDate (字符串，YYYY-MM-DD，请尽可能传递有效的未来日期)；checkOutDate (字符串，YYYY-MM-DD，必须晚于 checkInDate)。
- `hotelId` (number): 酒店唯一 ID。使用此字段或 `name`；如果同时提供，则优先使用 `hotelId`（从 searchHotels 工具获取）。
- `localeParam` (object): 地区/货币偏好。字段：countryCode (ISO 3166-1 alpha-2，默认为 CN)；currency (ISO 4217，默认为 CNY)。
- `name` (string): 酒店名称（模糊匹配）。仅在未提供 `hotelId` 时使用。
- `occupancyParam` (object): 入住人员详情。字段：adultCount (整数，>=1，默认 2)；childCount (整数，>=0，默认 0)；childAgeDetails (儿童年龄数组，例如 [3,5])；roomCount (整数，>=1，默认 1)。

### `getHotelSearchTags` (~58 tokens)

检索酒店搜索标签元数据（AI 缓存），包括可用标签的列表。适用于在本地缓存标签后，通过解析用户意图，将结构化标签传递给 `searchHotels.hotelTags`。

## Diagnostics

Captured diagnostic sections: Provenance, Dependencies. The full working is on the page: https://verifymcp.io/servers/dida-ai-hotelbooking/didaai-hotelbooking#diagnostics

## Score history

- 2026-08-03: 62
- 2026-08-02: 62
- 2026-08-01: 33
- 2026-07-31: 5
- 2026-07-30: 43
- 2026-07-28: 43
- 2026-07-27: 43

## Links

- npm package: https://www.npmjs.com/package/@didaai/hotelbooking
- Socket report: https://socket.dev/npm/package/@didaai/hotelbooking
- Repository: https://github.com/DIDA-AI/Dida-hotel-MCP-CN
- Changelog RSS feed: https://verifymcp.io/servers/dida-ai-hotelbooking/didaai-hotelbooking/changelog.xml
- Changelog JSON feed: https://verifymcp.io/servers/dida-ai-hotelbooking/didaai-hotelbooking/changelog.json
- HTML version of this page: https://verifymcp.io/servers/dida-ai-hotelbooking/didaai-hotelbooking
