mcp-fliggy-travel v0.5.1
飞猪旅行一站式 MCP Server:11 个工具(行程规划、机票、火车票、酒店、景点门票、美食、市内交通等)。 数据源:飞猪旅行 SCF 代理(9 个工具)+ 高德地图 SCF 代理(美食/交通)。
v0.5.1 核心设计:每个使用者必须配置自己的飞猪 API Key 才能调用飞猪工具。
- 包内置 SCF 代理地址与令牌(对使用者透明,无需关心);
- 使用者只需填写自己的
FLYAI_API_KEY即可使用全部飞猪工具;- 调用飞猪时以使用者的 Key 作为鉴权,调用量计入使用者自己的 Key。
环境变量
使用者(魔搭 MCP 连接时的环境变量,必须填写)
| 变量 | 必填 | 说明 |
|---|---|---|
FLYAI_API_KEY |
是 | 你自己的飞猪开放平台 API Key。前往飞猪开放平台(open.fliggy.com)申请;填入后所有飞猪调用以此 Key 计费 |
未填写
FLYAI_API_KEY时,飞猪相关工具返回明确错误提示:去飞猪开放平台申请 Key。
可选覆盖(一般无需设置)
| 变量 | 说明 |
|---|---|
FLYAI_PROXY |
自定义飞猪 SCF 代理地址(覆盖内置默认值) |
FLYAI_PROXY_TOKEN |
自定义飞猪 SCF 代理令牌(覆盖内置默认值) |
GAODE_PROXY_TOKEN |
高德 SCF 代理令牌(美食/交通用) |
安装运行(MCP 客户端)
{
"mcpServers": {
"fliggy-travel": {
"command": "uvx",
"args": ["--from", "mcp-fliggy-travel==0.5.1", "mcp-fliggy-travel"],
"env": {
"FLYAI_API_KEY": "sk-你的key"
}
}
}
}
本地直跑(调试)
FLYAI_API_KEY=sk-你的key \
uvx mcp-fliggy-travel==0.5.1
工具列表
| 工具 | 说明 |
|---|---|
| 🗺️ travel_plan | 行程规划:自然语言描述需求,智能推荐行程方案 |
| 🚄 search_train | 火车票查询:余票、价格、时刻表、预订链接 |
| ✈️ search_flight | 机票查询:实时票价、航班号、起降时间 |
| 🏨 search_hotel | 酒店搜索:按目的地、星级、价格、关键词筛选 |
| 🎫 search_poi | 景点门票:门票价格、购票链接 |
| 🍜 search_food | 美食推荐:周边餐厅、评分、人均、地址(高德) |
| 🚇 search_transport | 市内交通:打车预估、公交地铁方案(高德) |
| ⚡ search_fast | 极速搜索:飞猪通用搜索极速版 |
| 🏨 search_marriott_hotel | 万豪酒店搜索 |
| 📄 get_marriott_hotel_info | 万豪酒店详情 |
| 🎁 search_marriott_package | 万豪酒店套餐搜索 |
Metadata
Release files for mcp-fliggy-travel 0.5.1
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 | |
|---|---|---|---|---|
| mcp_fliggy_travel-0.5.1.tar.gz | 13.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mcp_fliggy_travel-0.5.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.1 kB
Release files / mcp_fliggy_travel-0.5.1.tar.gz
| Download URL | mcp_fliggy_travel-0.5.1.tar.gz |
|---|---|
| Size | 13.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
272837114edbf409c94bb60c86769753fdb8e60d71b3ee8c5d849db994683c7d
|
|
BLAKE2b-256 checksum How to use checksums |
7e913c9b780be5530c63d3d397dd8d0362e81ff6e1ad243d8ebf0d93c52da28a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.12
|
Release files / mcp_fliggy_travel-0.5.1-py3-none-any.whl
| Download URL | mcp_fliggy_travel-0.5.1-py3-none-any.whl |
|---|---|
| Size | 13.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ffb64431df54a12216b9f8064f79ac0d5e1bd9b2a0e5a53791f119abd6859760
|
|
BLAKE2b-256 checksum How to use checksums |
d19228b05c98932d37093b82ce1035924f961d415220b06ca8a0768e3425f441
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.12
|
Security for mcp-fliggy-travel 0.5.1
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.