Metadata-Version: 2.4
Name: flight-price-compare-mcp
Version: 3.2.0
Summary: 跨平台机票比价MCP服务v3.2，5大旅游平台实时比价（飞猪+途牛+同程+美团+RG），支持时段筛选、多机场标注、预订链接跟最低价走
Author: mako2026
License: MIT
Keywords: mcp,flight,price-compare,fliggy,tuniu,tongcheng,meituan,rollinggo
Requires-Python: >=3.10
Description-Content-Type: text/markdown
Requires-Dist: fastmcp>=2.0.0
Requires-Dist: mcp>=1.0.0

# 跨平台机票比价 MCP Server

跨平台机票比价服务，同时搜索飞猪、途牛、同程、美团、RG五大旅游平台机票价格，按价格从低到高排序，仅展示直飞航班。

## 功能

### ✈️ 机票比价 (`flight_compare`)

同时搜索五大平台机票价格，支持按出发城市、到达城市、日期搜索。

**参数：**
| 参数 | 说明 | 必填 |
|------|------|------|
| from_city | 出发城市（如上海、北京） | 是 |
| to_city | 到达城市（如三亚、广州） | 是 |
| date | 出发日期（YYYY-MM-DD） | 是 |

## 安装

```bash
pip install flight-price-compare-mcp
```

或使用 uvx 直接运行：

```bash
uvx flight-price-compare-mcp
```

## 使用

### 命令行启动

```bash
flight-price-compare-mcp
```

### MCP 客户端配置

在支持 MCP 的客户端（如 Claude Desktop、Cursor、Cherry Studio）中添加：

```json
{
  "mcpServers": {
    "flight-price-compare": {
      "command": "uvx",
      "args": ["flight-price-compare-mcp"]
    }
  }
}
```

Windows 系统：

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

## 数据源

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

## License

MIT
