用于搜索Airbnb并获取房源详细信息的MCP服务器,能让你轻松掌握Airbnb房源的各类信息。
在开始之前,请确保您的设备已安装Node.js,以便npx
可以正常运行。
claude_desktop_config.json
中:{
"mcpServers": {
"airbnb": {
"command": "npx",
"args": [
"-y",
"@openbnb/mcp-server-airbnb"
]
}
}
}
如果希望所有请求都忽略robots.txt规则,可以使用以下版本:
{
"mcpServers": {
"airbnb": {
"command": "npx",
"args": [
"-y",
"@openbnb/mcp-server-airbnb",
"--ignore-robots-txt"
]
}
}
}
要通过Smithery自动安装mcp-server-airbnb:
npx -y @smithery/cli install @openbnb-org/mcp-server-airbnb --client claude
airbnb_search
location
(字符串):指定搜索的地点。placeId
(字符串)checkin
(字符串,YYYY - MM - DD):入住日期。checkout
(字符串,YYYY - MM - DD):退房日期。adults
(数字):成人数量。children
(数字):儿童数量。infants
(数字):婴儿数量。pets
(数字):宠物数量。minPrice
(数字):最低价格。maxPrice
(数字):最高价格。cursor
(字符串)ignoreRobotsText
(布尔值):是否忽略robots.txt规则。airbnb_listing_details
id
(字符串):房源的ID。checkin
(字符串,YYYY - MM - DD):入住日期。checkout
(字符串,YYYY - MM - DD):退房日期。adults
(数字):成人数量。children
(数字):儿童数量。infants
(数字):婴儿数量。pets
(数字):宠物数量。ignoreRobotsText
(布尔值):是否忽略robots.txt规则。如果你是开发者,可使用以下命令进行项目的安装和构建:
npm install
npm run build
此MCP服务器在MIT License下许可。
Airbnb是Airbnb, Inc.的商标。OpenBnB与Airbnb, Inc.及其子公司无关。