Flightcat
Search flights by flexible dates and broad destinations, with live prices and booking links.
我该使用它吗
质量与安全性
A
基于对工具定义和协议合规性的自动分析。
上下文开销
~2,058token 数(工具定义)
~23.9 KB典型响应大小
对注意力有中等影响(占 128k 上下文窗口的 1.61%)
这是每次将服务器的工具加载到模型上下文窗口时所消耗的大致 token 数。数值越高,可用于其他任务的注意力就越少。
安装
一键安装
将以下内容添加到你的 `claude_desktop_config.json` 文件中:
{
"mcpServers": {
"flightcat": {
"url": "https://mcp.flightcat.io/mcp"
}
}
}远程端点
https://mcp.flightcat.io/mcpstreamable-http它能做什么
工具清单
工具(1)
🟢 只读🟡 写入🔴 删除⚪ 未知
🟢search_flights(search_type, passengers, cabins, max_stops, max_price, ...)
Search live public airfare, including requests with vague or broad location names and flexible dates. Resolves locations and dates, then returns and displays up to 10 itineraries in an interactive comparison with prices, schedules, stops, and booking links.
输入模式
{
"type": "object",
"properties": {
"search_type": {
"type": "string",
"enum": [
"oneway",
"roundtrip",
"multi"
]
},
"passengers": {
"anyOf": [
{
"type": "object",
"properties": {
"adults": {
"type": "integer",
"minimum": 0,
"maximum": 9
},
"children": {
"type": "integer",
"minimum": 0,
"maximum": 9
},
"infants": {
"type": "integer",
"minimum": 0,
"maximum": 9
}
},
"required": [
"adults",
"children",
"infants"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"cabins": {
"anyOf": [
{
"type": "string",
"const": "economy"
},
{
"type": "string",
"const": "economyPremium"
},
{
"type": "string",
"const": "business"
},
{
"type": "string",
"const": "firstClass"
},
{
"type": "null",
"const": null
}
]
},
"max_stops": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 2
},
{
"type": "null"
}
]
},
"max_price": {
"anyOf": [
{
"type": "number",
"minimum": 100,
"maximum": 8000
},
{
"type": "null"
}
]
},
"flight_duration": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 100
},
{
"type": "null"
}
],
"description": "Maximum flight duration in hours."
},
"connecting_airports": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string"
}
},
{
"type": "null"
}
],
"description": "Required connection-airport IATA codes."
},
"bags": {
"anyOf": [
{
"type": "object",
"properties": {
"checked": {
"type": "integer",
"minimum": 0,
"maximum": 18
},
"carry_on": {
"type": "integer",
"minimum": 0,
"maximum": 9
}
},
"required": [
"checked",
"carry_on"
],
"additionalProperties": false
},
{
"type": "null"
}
],
"description": "Total passenger bags."
},
"trips": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "object",
"properties": {
"departure": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Location name. Preserve custom or vague names; use \"n/a\" when unavailable."
},
"code": {
"type": "string",
"description": "Three-letter IATA code or use \"n/a\" when unavailable."
}
},
"required": [
"name",
"code"
],
"additionalProperties": false
},
"description": "One or more departure locations."
},
"arrival": {
"minItems": 1,
"maxItems": 20,
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "Location name. Preserve custom or vague names; use \"n/a\" when unavailable."
},
"code": {
"type": "string",
"description": "Three-letter IATA code or use \"n/a\" when unavailable."
}
},
"required": [
"name",
"code"
],
"additionalProperties": false
},
"description": "One or more arrival locations."
},
"departure_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "A date or date range in 'MM/DD/YY' or 'MM/DD/YY-MM/DD/YY' format."
},
"return_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Round-trip return date. Use null when duration is used."
},
"duration": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"description": "Stay duration in days, such as '7' or '3-5'."
}
},
"required": [
"departure",
"arrival",
"departure_date",
"return_date",
"duration"
],
"additionalProperties": false
},
"description": "Each item is a trip; approximate dates require a range."
}
},
"required": [
"search_type",
"passengers",
"cabins",
"max_stops",
"max_price",
"flight_duration",
"connecting_airports",
"bags",
"trips"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}输出模式
{
"type": "object",
"properties": {
"search_id": {
"type": "string"
},
"resolved_search": {
"type": "object",
"properties": {
"search_type": {
"type": "string",
"enum": [
"oneway",
"roundtrip",
"multi"
]
},
"passengers": {
"type": "object",
"properties": {
"adults": {
"type": "integer",
"minimum": 1,
"maximum": 9
},
"children": {
"type": "integer",
"minimum": 0,
"maximum": 9
},
"infants": {
"type": "integer",
"minimum": 0,
"maximum": 9
}
},
"required": [
"adults",
"children",
"infants"
],
"additionalProperties": false
},
"cabin": {
"anyOf": [
{
"type": "string",
"const": "economy"
},
{
"type": "string",
"const": "economyPremium"
},
{
"type": "string",
"const": "business"
},
{
"type": "string",
"const": "firstClass"
},
{
"type": "null",
"const": null
}
]
},
"filters": {
"type": "object",
"properties": {
"max_stops": {
"anyOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 2
},
{
"type": "null"
}
]
},
"max_price": {
"anyOf": [
{
"type": "number",
"minimum": 100,
"maximum": 8000
},
{
"type": "null"
}
]
},
"flight_duration": {
"anyOf": [
{
"type": "integer",
"minimum": 1,
"maximum": 100
},
{
"type": "null"
}
]
},
"connecting_airports": {
"anyOf": [
{
"type": "array",
"items": {
"type": "string",
"pattern": "^[A-Z]{3}$"
}
},
{
"type": "null"
}
]
},
"bags": {
"anyOf": [
{
"type": "object",
"properties": {
"checked": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"carry_on": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"checked",
"carry_on"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"max_stops",
"max_price",
"flight_duration",
"connecting_airports",
"bags"
],
"additionalProperties": false
},
"trips": {
"minItems": 1,
"maxItems": 8,
"type": "array",
"items": {
"type": "object",
"properties": {
"departure": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
}
},
"arrival": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"code": {
"type": "string"
},
"type": {
"type": "string"
}
},
"required": [
"id",
"name"
],
"additionalProperties": false
}
},
"departure_date": {
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
},
"required": [
"from",
"to"
],
"additionalProperties": false
},
"return_date": {
"anyOf": [
{
"type": "object",
"properties": {
"from": {
"type": "string"
},
"to": {
"type": "string"
}
},
"required": [
"from",
"to"
],
"additionalProperties": false
},
{
"type": "null"
}
]
},
"duration": {
"anyOf": [
{
"type": "object",
"properties": {
"min": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"max": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
}
},
"required": [
"min",
"max"
],
"additionalProperties": false
},
{
"type": "null"
}
]
}
},
"required": [
"departure",
"arrival",
"departure_date",
"return_date",
"duration"
],
"additionalProperties": false
}
},
"locale": {
"type": "string",
"minLength": 2,
"maxLength": 10
},
"currency": {
"type": "string",
"pattern": "^[A-Z]{3}$"
}
},
"required": [
"search_type",
"passengers",
"cabin",
"filters",
"trips",
"locale",
"currency"
],
"additionalProperties": false
},
"result_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"itineraries": {
"maxItems": 10,
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"price": {
"type": "number"
},
"currency": {
"type": "string"
},
"ticket_count": {
"type": "integer",
"exclusiveMinimum": 0,
"maximum": 9007199254740991
},
"search_type": {
"type": "string",
"enum": [
"oneway",
"roundtrip",
"multicity"
]
},
"trips": {
"type": "array",
"items": {
"type": "object",
"properties": {
"departure": {
"type": "object",
"properties": {
"city": {
"type": "string"
},
"airport": {
"type": "string"
},
"local_time": {
"type": "string"
}
},
"required": [
"city",
"airport",
"local_time"
],
"additionalProperties": false
},
"arrival": {
"type": "object",
"properties": {
"city": {
"type": "string"
},
"airport": {
"type": "string"
},
"local_time": {
"type": "string"
}
},
"required": [
"city",
"airport",
"local_time"
],
"additionalProperties": false
},
"duration": {
"type": "object",
"properties": {
"hours": {
"type": "number"
},
"mins": {
"type": "number"
}
},
"required": [
"hours",
"mins"
],
"additionalProperties": false
},
"arrival_day_offset": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"stop_count": {
"type": "integer",
"minimum": 0,
"maximum": 9007199254740991
},
"stop_airports": {
"type": "array",
"items": {
"type": "string"
}
},
"layovers": {
"type": "array",
"items": {
"type": "object",
"properties": {
"airport": {
"type": "string"
},
"duration": {
"type": "object",
"properties": {
"hours": {
"type": "number"
},
"mins": {
"type": "number"
}
},
"required": [
"hours",
"mins"
],
"additionalProperties": false
}
},
"required": [
"airport",
"duration"
],
"additionalProperties": false
}
},
"airline_codes": {
"type": "array",
"items": {
"type": "string"
}
},
"airline_names": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"departure",
"arrival",
"duration",
"arrival_day_offset",
"stop_count",
"stop_airports",
"layovers",
"airline_codes",
"airline_names"
],
"additionalProperties": false
}
},
"booking_link": {
"type": "string"
}
},
"required": [
"id",
"price",
"currency",
"ticket_count",
"search_type",
"trips",
"booking_link"
],
"additionalProperties": false
}
}
},
"required": [
"search_id",
"resolved_search",
"result_count",
"itineraries"
],
"$schema": "https://json-schema.org/draft/2020-12/schema",
"additionalProperties": false
}社区
证据
最近观测
已验证未记录版本1 个工具
已验证未记录版本1 个工具