使用说明
Bayut MCP服务器
MCP(模型上下文协议)服务器,用于通过Bayut API进行阿联酋房地产搜索。通过Claude Desktop和其他人工智能助手实现直接的房产搜索和市场分析。
特性
🏠 核心功能
- 位置搜索 -阿联酋地点(城市、社区、建筑物)的自动补全
- 房产搜索 -出售/出租房产的广泛过滤选项
- 房产详情 -完整的信息,包括照片、平面图、代理详细信息
- 交易记录 -迪拜房产的历史价格数据
- 市场分析 -特定领域的快速市场总结和趋势
- AI估值 -TruEstimate™市场价值估算,具有可比的销售和租赁收益
💡 用例
- 投资研究 -查找和分析迪拜和阿联酋的房产
- 市场情报 -跟踪价格趋势和交易历史
- 房地产估价 -获得具有置信水平的人工智能市场价值估算
- 租金收益率分析 -用可比数据比较不同地区的回报
- 黄金签证规划 -搜索符合签证要求的房产组合
- 物业比较 -使用详细的筛选器评估多个列表
- 尽职调查 -购买前,根据市场可比数据核实房地产价格
安装
先决条件
步骤1:安装依赖项
pip install mcp httpx
步骤2:获取API密钥
- 注册地址: 拉皮达皮
- 订阅阿联酋房地产API(免费计划:每月750次请求)
- 从仪表板复制API密钥
步骤3:配置Claude桌面
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
窗户: %APPDATA%\Claude\claude_desktop_config.json
添加此配置:
{
"mcpServers": {
"bayut": {
"command": "python",
"args": ["/absolute/path/to/bayut_mcp/server.py"],
"env": {
"RAPIDAPI_KEY": "your-rapidapi-key-here"
}
}
}
}
⚠️ 重要提示: 使用绝对路径 server.py
步骤4:重新启动克劳德桌面
完全退出并重新启动Claude Desktop以加载MCP服务器。
用法
配置后,您可以直接通过Claude与Bayut交互:
查询示例
位置搜索:
"Find location IDs for Dubai South"
房产搜索:
"Show me studios in Dubai South under 500k AED"
"Find 1-bedroom apartments in Business Bay for rent"
市场分析:
"What are the average prices for studios in Dubai Marina?"
"Show me transaction history for Dubai South in the last year"
"Get market valuation for Elite Residences 3, Unit 710"
投资规划:
"Find 5 properties totaling under 2M AED with at least 7% rental yield"
"Compare rental yields between JVC and International City"
"Estimate the market value and rental yield for this property"
可用工具
| 工具 | 说明 |
|---|---|
search_locations |
使用自动补全功能搜索阿联酋位置 |
search_properties |
使用广泛过滤器进行房产搜索 |
get_property_details |
特定房产的完整详细信息 |
get_transactions |
价格分析交易记录 |
get_market_summary |
快速了解某个地点的市场概况 |
get_tru_estimate |
具有可比性和趋势的人工智能房地产估值 |
高级用法
房产搜索筛选器
search_properties(
purpose="for-sale", # or "for-rent"
locations_ids=[3355], # Dubai South
category="apartments",
rooms=[0], # Studio
price_max=500000,
area_min=300,
is_furnished=True,
sort_by="lowest_price"
)
交易分析
get_transactions(
purpose="for-sale",
locations_ids=[3355],
category="apartments",
beds=[0],
start_date="2024-01-01",
end_date="2024-12-31"
)
房地产估价
通过可比的销售和租赁数据获取人工智能驱动的市场估计:
get_tru_estimate(
location_id="15974", # Building location ID
unit_number="710" # Unit number
)
退货:
- 估计市场价值 有信心水平
- 可比销售价格 (最近出售的类似房产)
- 可比租金 (租用类似房产)
- 两年价格走势 (历史价格变动)
- 产量预测 (总租金收益率和净租金收益率)
- 服务费 以及维护成本
替代标识符:
# Using Title Deed
get_tru_estimate(title_deed="25671", year="2022")
# Using Oqood
get_tru_estimate(oqood="161920", year="2023")
# Using DEWA number
get_tru_estimate(dewa="392315580")
故障排除
“没有可用的工具”
- 检查
claude_desktop_config.json语法 - 验证到的绝对路径
server.py - 确保设置了API密钥
- 重新启动克劳德桌面
“401未经授权”
- API密钥不正确或丢失
- 检查配置文件中的密钥
“找不到模块'mcp'”
pip install mcp httpx
“404未找到”
- 确保您已在RapidAPI上订阅阿联酋房地产API
- 基本URL应为:
https://uae-real-estate2.p.rapidapi.com
发展
项目结构
bayut_mcp/
├── server.py # Main MCP server
├── pyproject.toml # Package configuration
├── README.md # Documentation
├── QUICKSTART.md # Quick setup guide
└── examples.py # Usage examples
贡献
欢迎投稿!请随时提交拉取请求。
- 分叉存储库
- 创建功能分支(
git checkout -b feature/AmazingFeature) - 提交您的更改(
git commit -m 'Add some AmazingFeature') - 推到分支(
git push origin feature/AmazingFeature) - 打开拉取请求
资源
许可证
MIT许可证-有关详细信息,请参阅许可证文件
支持
对于问题或疑问:
- 在GitHub上打开一个问题
- 检查 RapidAPI支持 针对API问题
致谢
专为Claude Desktop打造 | Bayut提供的阿联酋房地产数据 专为Claude Desktop打造 | Bayut提供的阿联酋房地产数据