关于 whatevertrips
根据缓存的航空公司价格查找欧洲廉价航班并规划多城市行程,还可生成可分享链接。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
服务地址
https://api.whatevertrips.com/mcp一键复制安装命令
Claude CodeTerminal
claude mcp add --transport http com-whatevertrips-flights https://api.whatevertrips.com/mcpCursor.cursor/mcp.json
{"mcpServers":{"com-whatevertrips-flights":{"type":"http","url":"https://api.whatevertrips.com/mcp"}}}在 Cursor 中打开VS Code.vscode/mcp.json
{"servers":{"com-whatevertrips-flights":{"type":"http","url":"https://api.whatevertrips.com/mcp"}}}在 VS Code 中打开Claude Desktopclaude_desktop_config.json
{"mcpServers":{"com-whatevertrips-flights":{"type":"http","url":"https://api.whatevertrips.com/mcp"}}}Windsurf~/.codeium/windsurf/mcp_config.json
{"mcpServers":{"com-whatevertrips-flights":{"serverUrl":"https://api.whatevertrips.com/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
4| 参数 | 类型 | 必填 | 说明 |
|---|---|---|---|
| from | string | 否 | 出发城市名称,必须与 search_cities 返回的内容完全一致。请提供 from 或 from_cities。 |
| legs | integer | 是 | 返程航班之前的出境航班数量(1-7)。往返行程还会增加一趟返程航班,因此总航班数为 legs+1。 |
| limit | integer | 否 | 最多返回的行程数,默认值为 5,最大值为 10。 |
| date_to | string | 是 | 最晚返程日期,格式为 YYYY-MM-DD。 |
| date_from | string | 是 | 最早出发日期,格式为 YYYY-MM-DD。 |
| max_nights | integer | 否 | 每个城市最多住宿晚数,默认值为 3。 |
| min_nights | integer | 否 | 每个城市最少住宿晚数,默认值为 2。 |
| from_cities | null|array | 否 | 多个出发城市(最多 5 个),必须与 search_cities 返回的内容完全一致。行程从其中一个城市出发,并可返回到其中任意一个城市。 |
| exclude_cities | null|array | 否 | 绝不前往这些城市。 |
| include_cities | null|array | 否 | 仅前往这些城市。 |
| exclude_countries | null|array | 否 | 请勿前往这些 ISO 国家代码对应的城市。 |
| include_countries | null|array | 否 | 仅前往这些 ISO 国家代码对应的城市。 |
详细介绍
维护者还没有提供详细介绍,可以先查看代码仓库中的 README。
评论
支持 Markdown
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。