whatevertrips
Cheap flights in Europe and multi-city trip plans from cached airline prices, with shareable links.
¿Debería usar esto?
Calidad y seguridad
Hallazgos (1)
- LOWen search_flights
Basado en el análisis automatizado de las definiciones de herramientas y el cumplimiento del protocolo.
Costo de contexto
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": {
"flights": {
"url": "https://api.whatevertrips.com/mcp"
}
}
}Puntos de conexión remotos
https://api.whatevertrips.com/mcpstreamable-httpQué puede hacer
Inventario de herramientas
Herramientas (4)
🟢plan_trips(from, from_cities, date_from, date_to, legs, ...)
Generate cheap round trips through several cities, from cached flights. Accepts one departure city (from) or up to 5 (from_cities); with several, a trip can return to a different one of them. Returns trips sorted by total price. To share or book a trip, pass its flight_ids to save_trip.
Esquema de entrada
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Departure city name, exactly as returned by search_cities. Give from or from_cities."
},
"from_cities": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
},
"description": "Several departure cities (up to 5), exactly as returned by search_cities. A trip leaves from one of them and may return to any of them."
},
"date_from": {
"type": "string",
"description": "Earliest departure date, YYYY-MM-DD."
},
"date_to": {
"type": "string",
"description": "Latest return date, YYYY-MM-DD."
},
"legs": {
"type": "integer",
"description": "Number of outbound flights before the flight home (1-7). The round trip adds one flight home, so the trip has legs+1 flights total."
},
"min_nights": {
"type": "integer",
"description": "Minimum nights in each city, default 2."
},
"max_nights": {
"type": "integer",
"description": "Maximum nights in each city, default 3."
},
"include_cities": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
},
"description": "Only visit these cities."
},
"exclude_cities": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
},
"description": "Never visit these cities."
},
"include_countries": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
},
"description": "Only visit cities in these ISO country codes."
},
"exclude_countries": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
},
"description": "Never visit cities in these ISO country codes."
},
"limit": {
"type": "integer",
"description": "Maximum number of trips to return, default 5, max 10."
}
},
"required": [
"date_from",
"date_to",
"legs"
],
"additionalProperties": false
}Esquema de salida
{
"type": "object",
"properties": {
"trips": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"properties": {
"total_price": {
"type": "number"
},
"currency": {
"type": "string"
},
"flights": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"from": {
"type": "string"
},
"from_airport": {
"type": "string"
},
"to": {
"type": "string"
},
"to_airport": {
"type": "string"
},
"departure": {
"type": "string"
},
"arrival": {
"type": "string"
},
"price": {
"type": "number"
},
"currency": {
"type": "string"
},
"airline": {
"type": "string"
}
},
"required": [
"id",
"from",
"from_airport",
"to",
"to_airport",
"departure",
"arrival",
"price",
"currency",
"airline"
],
"additionalProperties": false
}
},
"flight_ids": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
}
}
},
"required": [
"total_price",
"currency",
"flights",
"flight_ids"
],
"additionalProperties": false
}
},
"note": {
"type": "string"
}
},
"required": [
"trips",
"note"
],
"additionalProperties": false
}🟡save_trip(flight_ids)
Save a trip from flight ids returned by search_flights or plan_trips. Returns a public page with the trip and a booking link on Kiwi.com. Prices are confirmed on the booking site.
Esquema de entrada
{
"type": "object",
"properties": {
"flight_ids": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
},
"description": "Flight ids from search_flights or plan_trips, in any order, at least 1 and at most 8."
}
},
"required": [
"flight_ids"
],
"additionalProperties": false
}Esquema de salida
{
"type": "object",
"properties": {
"trip_id": {
"type": "string"
},
"trip_url": {
"type": "string"
},
"book_url": {
"type": "string"
},
"total_price": {
"type": "number"
},
"currency": {
"type": "string"
}
},
"required": [
"trip_id",
"trip_url",
"book_url",
"total_price",
"currency"
],
"additionalProperties": false
}🟢search_cities(query)
Find city names we have flights for. Use the exact name in the other tools.
Esquema de entrada
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "City name prefix, e.g. 'Lond' or 'Sev'."
}
},
"required": [
"query"
],
"additionalProperties": false
}Esquema de salida
{
"type": "object",
"properties": {
"cities": {
"type": [
"null",
"array"
],
"items": {
"type": "string"
}
}
},
"required": [
"cities"
],
"additionalProperties": false
}🟢search_flights(from, to, date_from, date_to, limit)
Cheapest one-way flights between two cities, or from one city to anywhere, from cached airline prices. Dates are a departure window.
Esquema de entrada
{
"type": "object",
"properties": {
"from": {
"type": "string",
"description": "Departure city name, exactly as returned by search_cities."
},
"to": {
"type": "string",
"description": "Arrival city name; omit to search anywhere."
},
"date_from": {
"type": "string",
"description": "Earliest departure date, YYYY-MM-DD."
},
"date_to": {
"type": "string",
"description": "Latest departure date, YYYY-MM-DD; defaults to date_from."
},
"limit": {
"type": "integer",
"description": "Maximum number of flights to return, default 20, max 50."
}
},
"required": [
"from",
"date_from"
],
"additionalProperties": false
}Esquema de salida
{
"type": "object",
"properties": {
"flights": {
"type": [
"null",
"array"
],
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"from": {
"type": "string"
},
"from_airport": {
"type": "string"
},
"to": {
"type": "string"
},
"to_airport": {
"type": "string"
},
"departure": {
"type": "string"
},
"arrival": {
"type": "string"
},
"price": {
"type": "number"
},
"currency": {
"type": "string"
},
"airline": {
"type": "string"
}
},
"required": [
"id",
"from",
"from_airport",
"to",
"to_airport",
"departure",
"arrival",
"price",
"currency",
"airline"
],
"additionalProperties": false
}
},
"note": {
"type": "string"
}
},
"required": [
"flights",
"note"
],
"additionalProperties": false
}Comunidad
Evidencia