{"_id":"@didaai/hotelbooking","name":"@didaai/hotelbooking","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@didaai/hotelbooking","version":"1.0.0","mcpName":"io.github.DIDA-AI/hotelbooking","description":"Hotel Booking MCP Server (国内中文版)","repository":{"type":"git","url":"git+https://github.com/DIDA-AI/Dida-Hotel-MCP-Global.git","directory":"dida-hotel-mcp-cn"},"type":"module","main":"dist/index.js","bin":{"hotelbooking":"dist/index.js"},"scripts":{"build":"tsc","watch":"tsc -w","prepublishOnly":"npm run build","start":"node dist/index.js"},"dependencies":{"@modelcontextprotocol/sdk":"latest","axios":"^1.18.1"},"devDependencies":{"@types/node":"^20.0.0","typescript":"^5.0.0"},"publishConfig":{"access":"public"},"_id":"@didaai/hotelbooking@1.0.0","bugs":{"url":"https://github.com/DIDA-AI/Dida-Hotel-MCP-Global/issues"},"homepage":"https://github.com/DIDA-AI/Dida-Hotel-MCP-Global#readme","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-Q/+zf2h9yJ5UHf0L1kCG1gfgZQ5kLPkfTMj2a4kWgmB2IKaE4Gy8qxa45GqZfvsdgocgwU6mjP7D02ghoKsjrA==","shasum":"2ec90955ca2f9f293e0cd8c2e1960bcdec1dce2b","tarball":"https://registry.npmjs.org/@didaai/hotelbooking/-/hotelbooking-1.0.0.tgz","fileCount":10,"unpackedSize":14021,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCruubfr49tQMZagvniiMEY+ksOOGXTOuvnCLNY7uth5gIhAKn7iwD57UnVqhg3BzI95HpfIwBCcVlxVmneqVroQxiP"}]},"_npmUser":{"name":"didaai-admin","email":"didarollinggo@gmail.com"},"directories":{},"maintainers":[{"name":"didaai-admin","email":"didarollinggo@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hotelbooking_1.0.0_1784534233500_0.9438229198490071"},"_hasShrinkwrap":false}},"time":{"created":"2026-07-20T07:57:13.354Z","1.0.0":"2026-07-20T07:57:13.638Z","modified":"2026-07-20T07:57:13.856Z"},"maintainers":[{"name":"didaai-admin","email":"didarollinggo@gmail.com"}],"description":"Hotel Booking MCP Server (国内中文版)","homepage":"https://github.com/DIDA-AI/Dida-Hotel-MCP-Global#readme","repository":{"type":"git","url":"git+https://github.com/DIDA-AI/Dida-Hotel-MCP-Global.git","directory":"dida-hotel-mcp-cn"},"bugs":{"url":"https://github.com/DIDA-AI/Dida-Hotel-MCP-Global/issues"},"readme":"# Dida Hotel Booking MCP Server (国内中文版)\n\n这是一个用于对接 Dida 酒店预订 API（国内版）的 MCP (Model Context Protocol) 服务端。本服务能够让 Claude、Cursor 等支持 MCP 的 AI 客户端在全球范围内进行酒店搜索、获取酒店详情、以及拉取搜索标签。\n\n## 安装与配置\n\n本服务依赖 Dida 酒店服务提供的 API Key。\n\n在运行此服务器之前，你必须配置 `DIDA_API_KEY` 环境变量。\n\n## 快速使用\n\n### 通过 npx 运行\n\n```bash\nDIDA_API_KEY=你的API密钥 npx -y @didaai/hotelbooking\n```\n\n### Claude Desktop 客户端配置\n\n将以下内容添加到你的 `claude_desktop_config.json` 配置文件中：\n\n```json\n{\n  \"mcpServers\": {\n    \"dida-hotel-cn\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"@didaai/hotelbooking\"],\n      \"env\": {\n        \"DIDA_API_KEY\": \"你的API密钥\"\n      }\n    }\n  }\n}\n```\n\n### Cursor 客户端配置\n\n在 Cursor 的 MCP 设置界面中添加：\n- **Type**: `command`\n- **Command**: `npx -y @didaai/hotelbooking`\n- 添加一个环境变量，Key 为 `DIDA_API_KEY`，Value 填入你的真实密钥。\n\n## 提供的核心工具 (Tools)\n\n- `searchHotels`: 根据地点、日期和过滤条件进行酒店搜索和智能推荐。\n- `getHotelDetail`: 获取指定酒店的详细信息、实时房型、价格与取消政策。\n- `getHotelSearchTags`: 拉取用于酒店筛选的结构化搜索标签体系。\n","readmeFilename":"README.md","_rev":"1-c629bd2cf95cd8ead9e2c36017222bdf"}