命令行工具,提供房源搜索、价格查询、政策咨询等功能。
curl -fsSL https://raw.githubusercontent.com/LianjiaTech/beike-ai-platform/master/cli/releases/install.sh | bash# 查看 releases/manifest.json 获取可用版本
curl -fsSL https://raw.githubusercontent.com/LianjiaTech/beike-ai-platform/master/cli/releases/install.sh | bash首次使用前,先运行 beike login 打开登录页获取 API Key(链接自动携带当前平台来源),再保存:
beike auth <YOUR_API_KEY> --saveAPI Key 将保存到 ~/.beike/BEIKE_MCP_API_KEY,后续自动使用。
查询二手房
beike buy search -c 北京 -q "朝阳区 1000万以内 2居"查询租房
beike rent search -c 北京 -q "望京 2000元以内 1居"查询学区
beike buy school -c 北京 -q "西城区重点小学"查询购房政策
beike policy search -c 北京 -q "非本地户籍购房资格"查询市场行情
beike market search -c 北京 -q "朝阳区二手房"beike --help # 查看 CLI 帮助
beike <skill> --help # 查看各 Skill 子命令帮助商业软件,仅限授权用户使用。