# HasData Booking.com

HasData Booking.com is an MCP server for Claude Code that searches Booking.com stays by destination and dates and reads full property details as structured JSON.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 6 repo stars
- Author: HasData
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/HasData/booking-mcp
- Updated: 2026-10-12
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/hasdata-bookingcom

## What it does

The server gives the agent two read-only tools: search stays by city, dates and guests with filters (star rating, cancellation, distance to center), and read the full property page — facilities, house rules, room options, category ratings. Each call costs 10 credits; the free tier covers 100 calls.

Runs over remote HTTP transport at `https://mcp.hasdata.com/mcp?apis=booking` with an `x-api-key` header, or through a stdio launcher from the `@hasdata/booking-mcp` (npm) or `hasdata-booking-mcp` (PyPI) package. Data comes from public Booking.com pages visible to signed-out visitors. Get the API key from the HasData dashboard, no card needed.

## Requirements
- Needs: Node.js (commands run via npx)
- Remote server: `https://mcp.hasdata.com/mcp?apis=booking`
- Environment variables: `HASDATA_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)

1. **Platform CLI**
```bash
claude mcp add booking -e HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/booking-mcp
```
Replace <…> with your own values

2. **Platform CLI: remote server**
```bash
claude mcp add --transport http hasdata-bookingcom 'https://mcp.hasdata.com/mcp?apis=booking'
```

### Codex

1. **Platform CLI: remote server**
```bash
codex mcp add hasdata-bookingcom --url 'https://mcp.hasdata.com/mcp?apis=booking'
```

2. **Platform CLI**
```bash
codex mcp add hasdata-bookingcom --env HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/booking-mcp
```
Replace <…> with your own values

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "hasdata-bookingcom": {
            "url": "https://mcp.hasdata.com/mcp?apis=booking"
        }
    }
}
```
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "hasdata-bookingcom": {
            "command": "npx",
            "args": [
                "-y",
                "@hasdata/booking-mcp"
            ],
            "env": {
                "HASDATA_API_KEY": "<HASDATA_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "hasdata-bookingcom": {
            "type": "http",
            "url": "https://mcp.hasdata.com/mcp?apis=booking"
        }
    }
}
```
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "hasdata-bookingcom": {
            "type": "stdio",
            "command": "npx",
            "args": [
                "-y",
                "@hasdata/booking-mcp"
            ],
            "env": {
                "HASDATA_API_KEY": "<HASDATA_API_KEY>"
            }
        }
    }
}
```
Replace <…> with your own values

### Gemini CLI

1. **Platform CLI: remote server**
```bash
gemini mcp add -t http hasdata-bookingcom 'https://mcp.hasdata.com/mcp?apis=booking'
```

2. **Platform CLI**
```bash
gemini mcp add -e HASDATA_API_KEY=<HASDATA_API_KEY> hasdata-bookingcom npx -y @hasdata/booking-mcp
```
Replace <…> with your own values

## When to use it
- search hotels by city and dates with price, star and review filters
- read full property details: facilities, policies, room options
- compare prices and conditions across cities in a single prompt

## Example prompts
- Pull full details of the first result: facilities, house rules, category ratings
- Compare the cheapest stay in Paris and Rome for the same dates

## Similar
- [pp-booking-com](https://affpapa.org/en/nevibecode/skills/pp-booking-com.md) — skill · 484 installs
- [FlyBest Travel — Hotel Booking with Advisor Benefits](https://affpapa.org/en/nevibecode/mcp/flybest-travel-hotel-booking-with-advisor-benefits.md) — MCP server · ★ 3 repo stars
- [booking](https://affpapa.org/en/nevibecode/skills/neversight-booking.md) — skill · 7 installs
- [travel-search-and-booking-api-and-skills](https://affpapa.org/en/nevibecode/plugins/travel-search-and-booking-api-and-skills.md) — plugin · ★ 1295 repo stars
- [Hotel & Vacation Rental MCP - live prices & reviews across Booking, Airbnb, Vrbo & Google Hotels](https://affpapa.org/en/nevibecode/mcp/hotel-vacation-rental-mcp-live-prices-reviews-across-booking-airbnb-vrbo-google.md) — MCP server
- [South Padre Trips Booking](https://affpapa.org/en/nevibecode/mcp/south-padre-trips-booking.md) — MCP server · 939 installs

---
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
