WORLDBOOK

Worldbooks | WebMCP | Search | Submit WebMCP

booking WebMCP

Browser tool configuration for booking

URL Pattern: ^https?://(www\.)?booking\.com(/.*)?$

Tools (1)

search_hotels()

Search for hotels by destination and dates

Parameters

destination string required - Destination city
checkIn string required - Check-in date (YYYY-MM-DD)
checkOut string required - Check-out date (YYYY-MM-DD)
guests number - Number of guests

JavaScript Handler

(params) => {
  const searchBox = document.querySelector('[data-testid="destination-container"] input');
  if (searchBox) {
    searchBox.value = params.destination;
    searchBox.dispatchEvent(new Event('input', { bubbles: true }));
  }
  return { success: true, message: 'Search criteria filled' };
}

🔌 Chrome MCP Server Extension

Use these tools with Claude, ChatGPT, and other AI assistants.

Get Extension →

How to Use WebMCP

WebMCP tools are designed for browser extensions or automation frameworks. The browser extension matches the current URL against the pattern and executes the JavaScript handler when the tool is invoked.

API Endpoint:

GET /api/webmcp/match?url=https://www.booking.com/...