flight-fares
Cheapest observed fare, 6-month low and best departure date for a city pair.
我该使用它吗
质量与安全性
基于对工具定义和协议合规性的自动分析。
上下文开销
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"flight-fares": {
"url": "https://aplusz.app/mcp"
}
}
}远程端点
https://aplusz.app/mcpstreamable-http它能做什么
工具清单
工具(3)
🟢find_cheapest_fare(from, to)
Returns the cheapest observed one-way fare between two cities, plus the six-month low and the departure date on which the low was observed. Use whenever the user names an origin and a destination and asks about price, the cheapest date to fly, or whether a fare is a good deal. Both arguments are required; neither alone produces a valid answer. Answers are directional and per pair - PAR to BKK is not BKK to PAR and is not PAR to SIN. Prices are cached snapshots, never live quotes: say "last observed", never "current price", and surface live_check_url to any user about to book.
输入模式
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Origin city. Uppercase IATA city code such as PAR. A city slug such as paris also resolves. If you cannot resolve the city, call resolve_city first - do not guess a code."
},
"to": {
"type": "string",
"description": "Destination city. Uppercase IATA city code such as BKK. Must differ from from."
}
},
"required": [
"from",
"to"
],
"additionalProperties": false
}🟢list_routes_from(from, limit)
Returns destinations reachable from one origin, sorted cheapest first. Use when the user asks where they can fly cheaply from a city, or wants inspiration rather than one specific pair. One call replaces dozens of page fetches. Prices are cached snapshots.
输入模式
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Origin city. Uppercase IATA city code such as LON."
},
"limit": {
"type": "integer",
"description": "How many destinations to return, 1-200. Default 40.",
"minimum": 1,
"maximum": 200
}
},
"required": [
"from"
],
"additionalProperties": false
}🟢resolve_city(query)
Turns a spoken city name into the uppercase IATA city code the other tools expect. Call this before find_cheapest_fare whenever you are not certain of a code. Do not invent codes.
输入模式
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "City name or partial name, e.g. \"sao paulo\"."
}
},
"required": [
"query"
],
"additionalProperties": false
}推荐提示词
find_cheapest_farefind_cheapest_farelist_routes_fromlist_routes_from社区
证据