a2bflight fares

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

¿Debería usar esto?

Calidad y seguridad

A
Calidad de la descripción
93%
Integridad del esquema
93%
Calidad de los nombres
87%
Riesgo de envenenamiento
100%
Coincidencia de permisos
100%
Cumplimiento del protocolo
100%

Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.

Costo de contexto

~3,003Tokens (definiciones de herramientas)
~11.8 KBTamaño de respuesta típico
Impacto significativo en la atención (2.35% del contexto de 128k)

Este es el número aproximado de tokens que se consumen cada vez que las herramientas del servidor se cargan en el contexto de un modelo. Los recuentos más altos reducen la atención disponible para otras tareas.

Instalar

Instalación con un clic

Agrega esto a tu archivo `claude_desktop_config.json`:

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

Puntos de conexión remotos

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

Qué puede hacer

Inventario de herramientas

Herramientas (3)

🟢 Solo lectura🟡 Escritura🔴 Eliminación⚪ Desconocido
🟢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.

Esquema de entrada

{
  "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
}

Esquema de salida

{
  "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.

Esquema de entrada

{
  "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
}

Esquema de salida

{
  "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.

Esquema de entrada

{
  "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
}

Esquema de salida

{
  "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
}

Comunidad

Califica este servidor

Evidencia

Observaciones recientes

verificadoversión no registrada3 herramientas