# hotelbooking

Links AI agents to the RollingGo travel API for hotel searches, live rates, and room availability. Requires an API key to query.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 50
- Author: RollingGo-AI
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/RollingGo-AI/RollingGo-hotel-MCP-CN
- Updated: 2026-10-14
- HTML: https://affpapa.org/en/nevibecode/mcp/hotelbooking

## What it does

The `hotelbooking` MCP server equips coding assistants with tools like `searchHotels` and `getHotelDetail`. Agents can query accommodations across specific coordinates, landmarks, transit stations, or cities while applying check-in dates and star ratings down to half-star increments.

Communication runs via stdio using `npx -y rollinggo-hotelbooking` or through a remote HTTP endpoint. The server exposes room amenity breakdowns, distance radius parameters, and live pricing. Requests fail immediately without a valid `ROLLINGGO_API_KEY` token configured in the environment.

## Requirements
- Needs: Node.js (commands run via npx)
- Environment variables: `ROLLINGGO_API_KEY` — keys and tokens: ask the human for the values, never commit them or put them in shared files.

## Install

### Claude Code (native platform)

**Platform CLI**
```bash
claude mcp add hotelbooking -e ROLLINGGO_API_KEY=<ROLLINGGO_API_KEY> -- npx -y rollinggo-hotelbooking
```
Replace <…> with your own values

### Codex

**Platform CLI**
```bash
codex mcp add hotelbooking --env ROLLINGGO_API_KEY=<ROLLINGGO_API_KEY> -- npx -y rollinggo-hotelbooking
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "hotelbooking": {
            "command": "npx",
            "args": [
                "-y",
                "rollinggo-hotelbooking"
            ],
            "env": {
                "ROLLINGGO_API_KEY": "<ROLLINGGO_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "hotelbooking": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "rollinggo-hotelbooking"
            ],
            "env": {
                "ROLLINGGO_API_KEY": "<ROLLINGGO_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

**Platform CLI**
```bash
gemini mcp add -e ROLLINGGO_API_KEY=<ROLLINGGO_API_KEY> hotelbooking npx -y rollinggo-hotelbooking
```
Replace <…> with your own values

## When to use it
- search accommodations near specific landmarks or airports
- filter room rates by check-in dates, length of stay, and star rating
- retrieve amenity breakdowns and room details for selected properties
- monitor price changes and room inventory in real time

## Example prompts
- Find five-star hotels near the Bund in Shanghai checking in on June 1 for two nights
- Show available hotels within walking distance of the central railway station
- Get room amenities and current rates for this hotel

## Similar
- [REA](https://affpapa.org/en/nevibecode/mcp/rea.md) — MCP server · ★ 386989
- [GitHub](https://affpapa.org/en/nevibecode/mcp/github.md) — MCP server · ★ 33918
- [Netdata](https://affpapa.org/en/nevibecode/mcp/netdata.md) — MCP server · ★ 81115
- [browser-use](https://affpapa.org/en/nevibecode/mcp/browser-use.md) — MCP server · ★ 119160
- [Codebase Memory](https://affpapa.org/en/nevibecode/mcp/codebase-memory.md) — MCP server · ★ 47392
- [mcp-server](https://affpapa.org/en/nevibecode/mcp/mcp-server.md) — MCP server · ★ 43872

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
