flight-price-compare-mcp
跨平台机票比价 MCP Server。同时搜索飞猪、途牛、同程、美团、RG 五大旅游平台机票价格,按价格从低到高排序,仅展示直飞航班。
功能特性
- 🌐 5大平台比价:飞猪、途牛、同程、美团、RG 实时价格对比
- ✈️ 直飞筛选:仅展示直飞航班,免去中转烦恼
- 🕐 时段偏好:支持上午、下午、早班机、晚上、红眼等时段筛选
- 📊 多种排序:最低价排序、起飞时间排序、平台数量+价格综合排序
- 🏙️ 245个城市覆盖:全国所有通航机场城市
安装
pip install flight-price-compare-mcp
使用
MCP 工具
flight_compare - 跨平台机票比价
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
| fromCity | string | 是 | 出发城市(中文城市名) |
| toCity | string | 是 | 到达城市(中文城市名) |
| date | string | 是 | 出发日期,格式 YYYY-MM-DD |
| timePref | string | 否 | 时段偏好,如'上午'、'下午'、'早班机'、'晚上'、'红眼' |
| sortMode | string | 否 | 排序模式:'cheapest'按最低价、'earliest'按起飞时间 |
License
MIT
Metadata
Release files for flight-price-compare-mcp 4.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| flight_price_compare_mcp-4.0.0.tar.gz | 14.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| flight_price_compare_mcp-4.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 29.7 kB
Release files / flight_price_compare_mcp-4.0.0.tar.gz
| Download URL | flight_price_compare_mcp-4.0.0.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a102ee96ce459f26f135b8f92edb52f2f15b258959fb8d01698843842b409a8c
|
|
BLAKE2b-256 checksum How to use checksums |
43020bf6c61bd4ac51b5700777d0dbd40203a5628c078356c8616325d3c93089
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Release files / flight_price_compare_mcp-4.0.0-py3-none-any.whl
| Download URL | flight_price_compare_mcp-4.0.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e59da0fd784bb877a84dcbe53a1489cce75c64b2bb096ed660eff0ae65b7288
|
|
BLAKE2b-256 checksum How to use checksums |
22490f831125374245283cffda92f9d5da4468f5508538c6e1edaf57a35ffba8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.12
|
Security for flight-price-compare-mcp 4.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.