HasData Booking.com — Claude Code MCP server: hotel search
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.
MIT ★ 6 updated 2026-10-12
claude mcp add booking -e HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/booking-mcpWhat HasData Booking.com 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.
What it helps with
- 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 for the agent
- Pull full details of the first result: facilities, house rules, category ratings
- Compare the cheapest stay in Paris and Rome for the same dates
How to install HasData Booking.com
1Platform CLI
claude mcp add booking -e HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/booking-mcpReplace <…> with your own values
2Platform CLI: remote server
claude mcp add --transport http hasdata-bookingcom 'https://mcp.hasdata.com/mcp?apis=booking'1Platform CLI: remote server
codex mcp add hasdata-bookingcom --url 'https://mcp.hasdata.com/mcp?apis=booking'2Platform CLI
codex mcp add hasdata-bookingcom --env HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/booking-mcpReplace <…> with your own values
Config file
{
"mcpServers": {
"hasdata-bookingcom": {
"url": "https://mcp.hasdata.com/mcp?apis=booking"
}
}
}{
"mcpServers": {
"hasdata-bookingcom": {
"command": "npx",
"args": [
"-y",
"@hasdata/booking-mcp"
],
"env": {
"HASDATA_API_KEY": "<HASDATA_API_KEY>"
}
}
}
}Replace <…> with your own values
Config file
{
"servers": {
"hasdata-bookingcom": {
"type": "http",
"url": "https://mcp.hasdata.com/mcp?apis=booking"
}
}
}{
"servers": {
"hasdata-bookingcom": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"@hasdata/booking-mcp"
],
"env": {
"HASDATA_API_KEY": "<HASDATA_API_KEY>"
}
}
}
}Replace <…> with your own values
1Platform CLI: remote server
gemini mcp add -t http hasdata-bookingcom 'https://mcp.hasdata.com/mcp?apis=booking'2Platform CLI
gemini mcp add -e HASDATA_API_KEY=<HASDATA_API_KEY> hasdata-bookingcom npx -y @hasdata/booking-mcpReplace <…> with your own values
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about HasData Booking.com
How to install HasData Booking.com in Claude Code?
Run claude mcp add booking -e HASDATA_API_KEY=<HASDATA_API_KEY> -- npx -y @hasdata/booking-mcp, replacing the placeholder with your key from the HasData dashboard.
What does HasData Booking.com do?
Searches Booking.com stays by city, dates and guests with filters, and reads full property details as JSON. One call costs 10 credits; the free tier is 1,000 credits per month.
Where does HasData Booking.com get its data?
From public Booking.com pages visible to signed-out visitors. The tools are read-only and cannot modify anything.