Skip to main content

跨平台旅行比价MCP服务,同时搜索飞猪、途牛、同程、美团、RG五大平台酒店和机票价格

Project description

跨平台旅行比价 MCP Server

跨平台旅行比价服务,同时搜索飞猪、途牛、同程、美团、RG五大平台酒店和机票价格,按价格从低到高排序。

功能

🏨 酒店比价 (hotel_compare)

同时搜索五大平台酒店价格,支持按城市、日期、关键词搜索。

参数:

参数 说明 必填
city 城市名(如上海、北京、三亚)
check_in 入住日期(YYYY-MM-DD)
check_out 退房日期(YYYY-MM-DD)
keyword 搜索关键词(如外滩、亚龙湾)

✈️ 机票比价 (flight_compare)

同时搜索五大平台机票价格,仅展示直飞航班。

参数:

参数 说明 必填
from_city 出发城市(如上海、北京)
to_city 到达城市(如三亚、广州)
date 出发日期(YYYY-MM-DD)

安装

pip install travel-price-compare-mcp

或使用 uvx 直接运行:

uvx travel-price-compare-mcp

使用

命令行启动

travel-price-compare-mcp

MCP 客户端配置

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

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

Windows 系统:

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

环境变量

变量 说明 默认值
PROXY_URL 代理服务地址 (内置)
PROXY_TOKEN 代理认证令牌 (内置)

数据源

平台 说明
飞猪 阿里旗下旅行平台
途牛 综合旅行平台
同程 腾讯系旅行平台
美团 本地生活+旅行
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

travel_price_compare_mcp-1.0.0.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

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

travel_price_compare_mcp-1.0.0-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file travel_price_compare_mcp-1.0.0.tar.gz.

File metadata

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

File hashes

Hashes for travel_price_compare_mcp-1.0.0.tar.gz
Algorithm Hash digest
SHA256 b5afaff83d61262ae4847da2e274f0238a3b069d91662194bee7169408254454
MD5 09afba15da2b9fdfd6d2e8884a0d06cd
BLAKE2b-256 a856db1abf1087f397b132d13ff7e48ba69a62f2b6774071b6a08a6cbce7b10b

See more details on using hashes here.

File details

Details for the file travel_price_compare_mcp-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for travel_price_compare_mcp-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7ec4f60a6e225785d5f41a87f35510b64337b8fb6eaaa61260b975e35acfc81e
MD5 bf236fee65632529aa5049c46015d65c
BLAKE2b-256 9cd11ce45d8ee054d78bb0c11efca3fd7d8eaaeee9d9eb84167cc74b32cc56ac

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