Skip to main content

跨平台酒店比价 MCP Server

跨平台酒店比价服务,同时搜索飞猪、途牛、同程、美团、RG五大旅游平台酒店价格,按价格从低到高排序,展示最低价预订链接。

功能

🏨 酒店比价 (hotel_compare)

同时搜索五大平台酒店价格,支持按城市、日期、关键词搜索,展示各平台价格和最低价预订链接。

两种模式:

  • 搜索浏览模式:输入城市名,浏览该城市酒店列表
  • 精确比价模式:输入酒店名称,对比5大平台该酒店价格

参数:

参数 说明 必填
city 城市名(如上海、北京、三亚) 是
checkIn 入住日期(YYYY-MM-DD) 否
checkOut 退房日期(YYYY-MM-DD) 否
keyword 搜索关键词(如外滩、亚龙湾、迪士尼) 否
hotelName 酒店名称(精确比价模式) 否

使用场景:

  • 搜索浏览模式:只填 city,浏览该城市酒店列表
  • 精确比价模式:填 hotelName,对比5大平台该酒店价格

安装

pip install hotel-price-compare-mcp

或使用 uvx 直接运行:

uvx hotel-price-compare-mcp

使用

命令行启动

hotel-price-compare-mcp

MCP 客户端配置

在支持 MCP 的客户端(如 Claude Desktop、Cursor、Cherry Studio)中添加:

{
  "mcpServers": {
    "hotel-price-compare": {
      "command": "uvx",
      "args": ["hotel-price-compare-mcp"]
    }
  }
}

Windows 系统:

{
  "mcpServers": {
    "hotel-price-compare": {
      "command": "cmd",
      "args": ["/c", "uvx", "hotel-price-compare-mcp"]
    }
  }
}

数据源

平台 说明
飞猪 阿里旗下旅行平台
途牛 综合旅行平台
同程 腾讯系旅行平台
美团 本地生活+旅行
RG 全球旅行预订

License

MIT

Metadata

Release files for hotel-price-compare-mcp 2.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hotel-price-compare-mcp 2.0.0
File Size Uploaded Provenance
hotel_price_compare_mcp-2.0.0.tar.gz 16.0 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for hotel-price-compare-mcp 2.0.0
File Interpreter ABI Platform
hotel_price_compare_mcp-2.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 31.9 kB

Release files / hotel_price_compare_mcp-2.0.0.tar.gz

Download URL hotel_price_compare_mcp-2.0.0.tar.gz
Size 16.0 kB
Tags Source
SHA-256 checksum
How to use checksums
94b3894c3869170d6230d12c366f845d39ee98f7f74b9d477665656cdc5e3a09
BLAKE2b-256 checksum
How to use checksums
dcf1834f17772fcf7a489f5684605db8e51d96214e41c88c7a62b0f73f099b0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Release files / hotel_price_compare_mcp-2.0.0-py3-none-any.whl

Download URL hotel_price_compare_mcp-2.0.0-py3-none-any.whl
Size 16.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
83a5167fef4e7092243af5c1bb8142f01280cc29446b231f89b1eb85cfce17d7
BLAKE2b-256 checksum
How to use checksums
cf5cc1449be090e3f67b98322b5ca9f734269b358b057bed759fffdd7775e774
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.12

Security for hotel-price-compare-mcp 2.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page