BookResorts — hotel & resort booking
Live hotel and resort prices (taxes included) and secure booking links for travelers. Since 1993.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"hotel-booking": {
"url": "https://www.bookresorts.com/api/br/mcp"
}
}
}远程端点
https://www.bookresorts.com/api/br/mcpstreamable-http它能做什么
工具清单
工具(3)
🟢search_hotels(destination, checkin, checkout, adults, children_ages, ...)
Search hotels and resorts in a destination (city, region or resort area) with LIVE prices for the dates and party. Prices are totals for the whole stay in USD, taxes and fees included. Returns up to 15 hotels (cheapest first, or best-rated with sort=rating), with ids for get_hotel.
输入模式
{
"type": "object",
"properties": {
"destination": {
"type": "string",
"description": "e.g. 'Cancun', 'Punta Cana', 'Maui', 'Riviera Maya'"
},
"checkin": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "YYYY-MM-DD"
},
"checkout": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "YYYY-MM-DD"
},
"adults": {
"type": "integer",
"minimum": 1,
"maximum": 8,
"default": 2
},
"children_ages": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 17
},
"description": "Ages of children, if any"
},
"rooms": {
"type": "integer",
"minimum": 1,
"maximum": 6,
"default": 1,
"description": "Number of rooms; adults/children are split across them"
},
"all_inclusive_only": {
"type": "boolean",
"default": false
},
"min_stars": {
"type": "integer",
"minimum": 1,
"maximum": 5,
"description": "Only hotels with at least this star rating"
},
"sort": {
"type": "string",
"enum": [
"price",
"rating"
],
"default": "price",
"description": "price = cheapest first; rating = best guest rating first"
}
},
"required": [
"destination",
"checkin",
"checkout"
]
}🟡get_hotel(hotel_id, checkin, checkout, adults, children_ages, ...)
A hotel's live rooms and rates for the dates: room names, size, occupancy, board (room only / breakfast / all-inclusive), refundability and the total price per option. Pass an option_id to create_booking_link.
输入模式
{
"type": "object",
"properties": {
"hotel_id": {
"type": "string"
},
"checkin": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "YYYY-MM-DD"
},
"checkout": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "YYYY-MM-DD"
},
"adults": {
"type": "integer",
"minimum": 1,
"maximum": 8,
"default": 2
},
"children_ages": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 17
}
},
"rooms": {
"type": "integer",
"minimum": 1,
"maximum": 6,
"default": 1
}
},
"required": [
"hotel_id",
"checkin",
"checkout"
]
}🟡create_booking_link(hotel_id, option_id, checkin, checkout, adults, ...)
Create a secure checkout link for one room option from get_hotel. Give the link to the traveller: it opens our checkout with that exact room, dates and price, where they enter their details and pay (rate re-confirmed live). Links last 24 hours. Never ask the traveller for card details yourself.
输入模式
{
"type": "object",
"properties": {
"hotel_id": {
"type": "string"
},
"option_id": {
"type": "string",
"description": "option_id from get_hotel"
},
"checkin": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "YYYY-MM-DD"
},
"checkout": {
"type": "string",
"pattern": "^\\d{4}-\\d{2}-\\d{2}$",
"description": "YYYY-MM-DD"
},
"adults": {
"type": "integer",
"minimum": 1,
"maximum": 8,
"default": 2
},
"children_ages": {
"type": "array",
"items": {
"type": "integer",
"minimum": 1,
"maximum": 17
}
},
"rooms": {
"type": "integer",
"minimum": 1,
"maximum": 6,
"default": 1
}
},
"required": [
"hotel_id",
"option_id",
"checkin",
"checkout"
]
}社区
证据