a2bflight fares

Cached flight fares on thousands of routes, each with the day it was seen. Not live prices. No key.

使うべきか

品質と安全性

A
説明の品質
93%
スキーマの完全性
93%
命名の品質
87%
ポイズニングのリスク
100%
権限の一致
100%
プロトコルへの準拠
100%

ツール定義とプロトコルへの準拠に関する自動分析に基づいています。

コンテキストコスト

~3,003トークン数(ツール定義)
~11.8 KB一般的なレスポンスサイズ
注意への影響は大きい(128k コンテキストの 2.35%)

これは、サーバーのツールがモデルのコンテキストに読み込まれるたびに消費されるおおよそのトークン数です。数が多いほど、ほかのタスクに使える注意が減ります。

インストール

ワンクリックインストール

これを `claude_desktop_config.json` ファイルに追加してください:

{
  "mcpServers": {
    "fares": {
      "url": "https://mcp.a2bflight.com/mcp"
    }
  }
}

リモートエンドポイント

https://mcp.a2bflight.com/mcpstreamable-http

できること

ツール一覧

ツール(3)

🟢 読み取り専用🟡 書き込み🔴 削除⚪ 不明
🟢cheapest_routes(from, to, max_price, month, limit)

The cheapest cached fare on every route we hold from an origin (or into a destination), cheapest one-way first, each with its cheapest round trip of a 3 to 21 day stay in `return` when we hold one. Filter by a maximum price and a departure month here rather than by reading the list; both apply to the one-way. Prices are one adult, economy, as last seen on the date in `checked` — observations, not quotes.

入力スキーマ

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "description": "origin IATA airport or city code (NYC covers JFK, LGA and EWR); give from, to or both"
    },
    "to": {
      "type": "string",
      "description": "destination IATA airport or city code"
    },
    "max_price": {
      "type": "number",
      "description": "keep only fares at or under this amount, in the currency the results carry"
    },
    "month": {
      "type": "string",
      "description": "YYYY-MM: the cheapest fare departing in that month; needs from"
    },
    "limit": {
      "type": "integer",
      "description": "how many routes to return, 1 to 20; 10 when omitted"
    }
  },
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "currency": {
      "type": "string"
    },
    "routes": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string"
          },
          "to": {
            "type": "string"
          },
          "trip": {
            "type": "string",
            "description": "one-way or return"
          },
          "depart_date": {
            "type": "string"
          },
          "return_date": {
            "type": "string"
          },
          "month": {
            "type": "string",
            "description": "YYYY-MM, on a per-month row that has no single date"
          },
          "departs": {
            "type": "string",
            "description": "local departure time with the airport's offset"
          },
          "lands": {
            "type": "string",
            "description": "local arrival time with the airport's offset"
          },
          "carrier": {
            "type": "string"
          },
          "carrier_name": {
            "type": "string"
          },
          "flight": {
            "type": "string"
          },
          "stops": {
            "type": [
              "null",
              "integer"
            ],
            "description": "connections; on a return, both directions together"
          },
          "duration": {
            "type": "string",
            "description": "flying time; on a return, both directions together"
          },
          "price": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "travellers": {
            "type": "integer"
          },
          "cabin": {
            "type": "string"
          },
          "checked": {
            "type": "string",
            "description": "the day this price was last seen"
          },
          "ref": {
            "type": "string"
          },
          "page_url": {
            "type": "string",
            "description": "the route's page on a2bflight.com — give the user this link first"
          },
          "book_url": {
            "type": "string",
            "description": "opens the seller's booking page for this fare"
          },
          "return": {
            "type": [
              "null",
              "object"
            ],
            "properties": {
              "from": {
                "type": "string"
              },
              "to": {
                "type": "string"
              },
              "trip": {
                "type": "string",
                "description": "one-way or return"
              },
              "depart_date": {
                "type": "string"
              },
              "return_date": {
                "type": "string"
              },
              "month": {
                "type": "string",
                "description": "YYYY-MM, on a per-month row that has no single date"
              },
              "departs": {
                "type": "string",
                "description": "local departure time with the airport's offset"
              },
              "lands": {
                "type": "string",
                "description": "local arrival time with the airport's offset"
              },
              "carrier": {
                "type": "string"
              },
              "carrier_name": {
                "type": "string"
              },
              "flight": {
                "type": "string"
              },
              "stops": {
                "type": [
                  "null",
                  "integer"
                ],
                "description": "connections; on a return, both directions together"
              },
              "duration": {
                "type": "string",
                "description": "flying time; on a return, both directions together"
              },
              "price": {
                "type": "number"
              },
              "currency": {
                "type": "string"
              },
              "travellers": {
                "type": "integer"
              },
              "cabin": {
                "type": "string"
              },
              "checked": {
                "type": "string",
                "description": "the day this price was last seen"
              },
              "ref": {
                "type": "string"
              },
              "page_url": {
                "type": "string",
                "description": "the route's page on a2bflight.com — give the user this link first"
              },
              "book_url": {
                "type": "string",
                "description": "opens the seller's booking page for this fare"
              }
            },
            "description": "the route's cheapest round trip of a 3 to 21 day stay; absent when we hold none, and the route's page_url then offers a live return search",
            "required": [
              "from",
              "to",
              "trip",
              "price",
              "currency",
              "travellers",
              "cabin",
              "checked",
              "page_url"
            ],
            "additionalProperties": false
          }
        },
        "required": [
          "from",
          "to",
          "trip",
          "price",
          "currency",
          "travellers",
          "cabin",
          "checked",
          "page_url"
        ],
        "additionalProperties": false
      }
    },
    "note": {
      "type": "string"
    }
  },
  "required": [
    "routes"
  ],
  "additionalProperties": false
}
🟢find_airports(query, near)

Look up airports and city codes by name, or list the airports near a code or a lat,lon point. Use it to turn a city name into the IATA code the other tools take.

入力スキーマ

{
  "type": "object",
  "properties": {
    "query": {
      "type": "string",
      "description": "a city or airport name or the start of one; give this or near"
    },
    "near": {
      "type": "string",
      "description": "an IATA code, or lat,lon, to list the airports near it; give this or query"
    }
  },
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "places": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string"
          },
          "city": {
            "type": "string"
          },
          "country": {
            "type": "string"
          },
          "metro": {
            "type": "boolean",
            "description": "true for a city code that covers several airports"
          },
          "airports": {
            "type": [
              "null",
              "array"
            ],
            "items": {
              "type": "string"
            }
          },
          "distance_km": {
            "type": [
              "null",
              "integer"
            ]
          }
        },
        "required": [
          "code",
          "city",
          "country"
        ],
        "additionalProperties": false
      }
    }
  },
  "required": [
    "places"
  ],
  "additionalProperties": false
}
🟢route_fares(from, to, month)

Everything we hold for one airport pair: the cheapest one-way, the cheapest round trip of a 3 to 21 day stay, the cheapest one-way by departure date and by month, and the cheapest round trips. If we hold nothing yet, it starts pricing the route and says so; ask again a minute later.

入力スキーマ

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string",
      "description": "origin IATA airport code (an airport, not a city code)"
    },
    "to": {
      "type": "string",
      "description": "destination IATA airport code"
    },
    "month": {
      "type": "string",
      "description": "YYYY-MM: keep only departure dates in that month"
    }
  },
  "required": [
    "from",
    "to"
  ],
  "additionalProperties": false
}

出力スキーマ

{
  "type": "object",
  "properties": {
    "from": {
      "type": "string"
    },
    "to": {
      "type": "string"
    },
    "status": {
      "type": "string",
      "description": "held: fares below; pricing: we just started pricing this route, ask again in a minute; none: we hold no fare for it"
    },
    "currency": {
      "type": "string"
    },
    "cheapest": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "from": {
          "type": "string"
        },
        "to": {
          "type": "string"
        },
        "trip": {
          "type": "string",
          "description": "one-way or return"
        },
        "depart_date": {
          "type": "string"
        },
        "return_date": {
          "type": "string"
        },
        "month": {
          "type": "string",
          "description": "YYYY-MM, on a per-month row that has no single date"
        },
        "departs": {
          "type": "string",
          "description": "local departure time with the airport's offset"
        },
        "lands": {
          "type": "string",
          "description": "local arrival time with the airport's offset"
        },
        "carrier": {
          "type": "string"
        },
        "carrier_name": {
          "type": "string"
        },
        "flight": {
          "type": "string"
        },
        "stops": {
          "type": [
            "null",
            "integer"
          ],
          "description": "connections; on a return, both directions together"
        },
        "duration": {
          "type": "string",
          "description": "flying time; on a return, both directions together"
        },
        "price": {
          "type": "number"
        },
        "currency": {
          "type": "string"
        },
        "travellers": {
          "type": "integer"
        },
        "cabin": {
          "type": "string"
        },
        "checked": {
          "type": "string",
          "description": "the day this price was last seen"
        },
        "ref": {
          "type": "string"
        },
        "page_url": {
          "type": "string",
          "description": "the route's page on a2bflight.com — give the user this link first"
        },
        "book_url": {
          "type": "string",
          "description": "opens the seller's booking page for this fare"
        }
      },
      "description": "the cheapest one-way",
      "required": [
        "from",
        "to",
        "trip",
        "price",
        "currency",
        "travellers",
        "cabin",
        "checked",
        "page_url"
      ],
      "additionalProperties": false
    },
    "cheapest_return": {
      "type": [
        "null",
        "object"
      ],
      "properties": {
        "from": {
          "type": "string"
        },
        "to": {
          "type": "string"
        },
        "trip": {
          "type": "string",
          "description": "one-way or return"
        },
        "depart_date": {
          "type": "string"
        },
        "return_date": {
          "type": "string"
        },
        "month": {
          "type": "string",
          "description": "YYYY-MM, on a per-month row that has no single date"
        },
        "departs": {
          "type": "string",
          "description": "local departure time with the airport's offset"
        },
        "lands": {
          "type": "string",
          "description": "local arrival time with the airport's offset"
        },
        "carrier": {
          "type": "string"
        },
        "carrier_name": {
          "type": "string"
        },
        "flight": {
          "type": "string"
        },
        "stops": {
          "type": [
            "null",
            "integer"
          ],
          "description": "connections; on a return, both directions together"
        },
        "duration": {
          "type": "string",
          "description": "flying time; on a return, both directions together"
        },
        "price": {
          "type": "number"
        },
        "currency": {
          "type": "string"
        },
        "travellers": {
          "type": "integer"
        },
        "cabin": {
          "type": "string"
        },
        "checked": {
          "type": "string",
          "description": "the day this price was last seen"
        },
        "ref": {
          "type": "string"
        },
        "page_url": {
          "type": "string",
          "description": "the route's page on a2bflight.com — give the user this link first"
        },
        "book_url": {
          "type": "string",
          "description": "opens the seller's booking page for this fare"
        }
      },
      "description": "the cheapest round trip of a 3 to 21 day stay; absent when we hold none, and page_url then offers a live return search",
      "required": [
        "from",
        "to",
        "trip",
        "price",
        "currency",
        "travellers",
        "cabin",
        "checked",
        "page_url"
      ],
      "additionalProperties": false
    },
    "dates": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string"
          },
          "to": {
            "type": "string"
          },
          "trip": {
            "type": "string",
            "description": "one-way or return"
          },
          "depart_date": {
            "type": "string"
          },
          "return_date": {
            "type": "string"
          },
          "month": {
            "type": "string",
            "description": "YYYY-MM, on a per-month row that has no single date"
          },
          "departs": {
            "type": "string",
            "description": "local departure time with the airport's offset"
          },
          "lands": {
            "type": "string",
            "description": "local arrival time with the airport's offset"
          },
          "carrier": {
            "type": "string"
          },
          "carrier_name": {
            "type": "string"
          },
          "flight": {
            "type": "string"
          },
          "stops": {
            "type": [
              "null",
              "integer"
            ],
            "description": "connections; on a return, both directions together"
          },
          "duration": {
            "type": "string",
            "description": "flying time; on a return, both directions together"
          },
          "price": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "travellers": {
            "type": "integer"
          },
          "cabin": {
            "type": "string"
          },
          "checked": {
            "type": "string",
            "description": "the day this price was last seen"
          },
          "ref": {
            "type": "string"
          },
          "page_url": {
            "type": "string",
            "description": "the route's page on a2bflight.com — give the user this link first"
          },
          "book_url": {
            "type": "string",
            "description": "opens the seller's booking page for this fare"
          }
        },
        "required": [
          "from",
          "to",
          "trip",
          "price",
          "currency",
          "travellers",
          "cabin",
          "checked",
          "page_url"
        ],
        "additionalProperties": false
      },
      "description": "the cheapest one-way fares by departure date, cheapest first"
    },
    "months": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string"
          },
          "to": {
            "type": "string"
          },
          "trip": {
            "type": "string",
            "description": "one-way or return"
          },
          "depart_date": {
            "type": "string"
          },
          "return_date": {
            "type": "string"
          },
          "month": {
            "type": "string",
            "description": "YYYY-MM, on a per-month row that has no single date"
          },
          "departs": {
            "type": "string",
            "description": "local departure time with the airport's offset"
          },
          "lands": {
            "type": "string",
            "description": "local arrival time with the airport's offset"
          },
          "carrier": {
            "type": "string"
          },
          "carrier_name": {
            "type": "string"
          },
          "flight": {
            "type": "string"
          },
          "stops": {
            "type": [
              "null",
              "integer"
            ],
            "description": "connections; on a return, both directions together"
          },
          "duration": {
            "type": "string",
            "description": "flying time; on a return, both directions together"
          },
          "price": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "travellers": {
            "type": "integer"
          },
          "cabin": {
            "type": "string"
          },
          "checked": {
            "type": "string",
            "description": "the day this price was last seen"
          },
          "ref": {
            "type": "string"
          },
          "page_url": {
            "type": "string",
            "description": "the route's page on a2bflight.com — give the user this link first"
          },
          "book_url": {
            "type": "string",
            "description": "opens the seller's booking page for this fare"
          }
        },
        "required": [
          "from",
          "to",
          "trip",
          "price",
          "currency",
          "travellers",
          "cabin",
          "checked",
          "page_url"
        ],
        "additionalProperties": false
      },
      "description": "the cheapest one-way fare in each month"
    },
    "returns": {
      "type": [
        "null",
        "array"
      ],
      "items": {
        "type": "object",
        "properties": {
          "from": {
            "type": "string"
          },
          "to": {
            "type": "string"
          },
          "trip": {
            "type": "string",
            "description": "one-way or return"
          },
          "depart_date": {
            "type": "string"
          },
          "return_date": {
            "type": "string"
          },
          "month": {
            "type": "string",
            "description": "YYYY-MM, on a per-month row that has no single date"
          },
          "departs": {
            "type": "string",
            "description": "local departure time with the airport's offset"
          },
          "lands": {
            "type": "string",
            "description": "local arrival time with the airport's offset"
          },
          "carrier": {
            "type": "string"
          },
          "carrier_name": {
            "type": "string"
          },
          "flight": {
            "type": "string"
          },
          "stops": {
            "type": [
              "null",
              "integer"
            ],
            "description": "connections; on a return, both directions together"
          },
          "duration": {
            "type": "string",
            "description": "flying time; on a return, both directions together"
          },
          "price": {
            "type": "number"
          },
          "currency": {
            "type": "string"
          },
          "travellers": {
            "type": "integer"
          },
          "cabin": {
            "type": "string"
          },
          "checked": {
            "type": "string",
            "description": "the day this price was last seen"
          },
          "ref": {
            "type": "string"
          },
          "page_url": {
            "type": "string",
            "description": "the route's page on a2bflight.com — give the user this link first"
          },
          "book_url": {
            "type": "string",
            "description": "opens the seller's booking page for this fare"
          }
        },
        "required": [
          "from",
          "to",
          "trip",
          "price",
          "currency",
          "travellers",
          "cabin",
          "checked",
          "page_url"
        ],
        "additionalProperties": false
      },
      "description": "the cheapest round trips held, any stay, cheapest first"
    },
    "page_url": {
      "type": "string"
    }
  },
  "required": [
    "from",
    "to",
    "status",
    "page_url"
  ],
  "additionalProperties": false
}

コミュニティ

このサーバーを評価する

エビデンス

最近の観測

検証済みバージョンは記録されていませんツール 3 件