Skip to main content

跨平台酒店比价MCP服务,5大旅游平台酒店价格对比(飞猪+RG+途牛+美团+同程)

Project description

跨平台酒店比价 MCP Server

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

功能

🏨 酒店比价 (hotel_compare)

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

两种模式:

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

参数:

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

使用场景:

  • 搜索浏览模式:只填 city,浏览该城市酒店列表
  • 精确比价模式:填 hotel_name,对比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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

hotel_price_compare_mcp-1.0.4.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hotel_price_compare_mcp-1.0.4-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file hotel_price_compare_mcp-1.0.4.tar.gz.

File metadata

  • Download URL: hotel_price_compare_mcp-1.0.4.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.12

File hashes

Hashes for hotel_price_compare_mcp-1.0.4.tar.gz
Algorithm Hash digest
SHA256 0e1cbfd456b884d46ffc5bc4eb757fa5d9354a474cdcef48980ff7fe5b12b976
MD5 1b778ec6489d6cdc0131b0c5529234ae
BLAKE2b-256 19fcb5a3e3f67d90b6a0c2508fa65ecb6a4df24c97f6846aea3feb827523a560

See more details on using hashes here.

File details

Details for the file hotel_price_compare_mcp-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for hotel_price_compare_mcp-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 271fe86370a5704850f6d9a919c9a3f08068c14d99bfd5326f864455193b4a1e
MD5 f0ed7593e2b3bfbf4912e2c9ea719d2a
BLAKE2b-256 00ef614ca45dde6a0c93523b4a5a3792bb1fab133c3575dde9a13f79c5fb46a0

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page