All Flights MCP
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@All Flights MCP search flights from LAX to CDG on May 1st"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
All Flights MCP
A federated Model Context Protocol server that searches multiple flight inventory sources concurrently and returns one normalized, deduplicated result set.
Providers
Provider | Status | Inventory role |
ITA Matrix | Supported through an existing Streamable HTTP ITA MCP | Fare research and routing |
Google Flights | Supported through the pinned Fli MCP | Live metasearch fares and Google booking links |
Duffel | Supported directly | Live NDC, GDS, and selected low-cost-carrier offers |
Skyscanner | Supported directly | Metasearch suppliers and booking deep links |
Standard MCP | Extensible adapter | Additional providers that implement this server's normalized |
No provider guarantees complete global inventory. Configure more than one source for better coverage. Provider errors are isolated: one failed or slow source does not discard results from the others.
Related MCP server: Find Flights MCP Server
MCP tools
list_providers: reports configured and unavailable providers.search_flights: searches providers concurrently, normalizes offers, and groups equivalent itineraries with provider-specific alternatives.search_date_range: scans up to 60 outbound-date/stay-length combinations.get_offer: retrieves a recent offer and its alternatives from the in-memory cache.
Quick start
Requires Node.js 22 or newer.
npm install
cp .env.example .env
npm run build
npm startThe server automatically loads .env. The default transport is stdio. Set
MCP_TRANSPORT=http to expose stateless
Streamable HTTP at http://127.0.0.1:3000/mcp. The HTTP server also exposes
GET /health.
Local MCP client
{
"mcpServers": {
"all-flights": {
"command": "node",
"args": ["C:\\Repos\\all-flights-mcp\\dist\\index.js"],
"env": {
"ITA_MCP_URL": "https://your-ita-mcp.example/mcp",
"ITA_MCP_BEARER_TOKEN": "${input:ita-token}",
"DUFFEL_ACCESS_TOKEN": "${input:duffel-token}"
}
}
}
}Configuration
Copy .env.example and enable any providers for which you have access:
ITA_MCP_URLand optionalITA_MCP_BEARER_TOKENor
ITA_MCP_COMMANDand optionalITA_MCP_ARGS_JSONfor a local stdio serverGOOGLE_FLIGHTS_MCP_URLorGOOGLE_FLIGHTS_MCP_COMMAND=fli-mcpDUFFEL_ACCESS_TOKENSKYSCANNER_API_KEYplus market and locale
Skyscanner, Sabre, and Travelport generally require commercial approval. Credentials are never returned in tool output or written to disk by this server.
Additional MCP providers
UPSTREAM_MCP_PROVIDERS_JSON adds providers that expose a normalized
search_flights tool compatible with this repository:
[
{
"id": "partner",
"name": "Partner inventory",
"url": "https://partner.example/mcp",
"tokenEnv": "PARTNER_MCP_TOKEN",
"toolName": "search_flights"
}
]tokenEnv names an environment variable; do not place secrets directly in the
JSON configuration.
HTTP deployment
cp .env.example .env
# Edit .env and set MCP_TRANSPORT=http and MCP_BEARER_TOKEN.
docker compose up -d --buildWhen MCP_BEARER_TOKEN is set, /mcp requires
Authorization: Bearer <token>. Use TLS in front of the container.
HomeAssistant OCI deployment
The repository includes the deployment used by HomeAssistant. It runs beside
the existing ITA MCP container and a pinned Fli Google Flights container, publishes
https://flights.159-54-184-44.sslip.io/mcp through Caddy, stores the bearer
token in Azure Key Vault, and registers the server in the agent's MCP registry.
The OCI Fli container uses the existing residential SOCKS tunnel because
Google returns empty inventory from the datacenter address.
.\deploy-oci.ps1Provider credentials can be added to /opt/n8n/all-flights-mcp.env before
restarting the service. ITA is reached over the private Compose network.
Normalization and deduplication
Each offer retains its source, provider offer ID, total price, currency, segments, carriers, booking URL or booking-item links, and expiry. Equivalent itineraries are grouped by segment airports, times, carriers, and flight numbers. The cheapest alternative in the requested currency becomes the primary result; every provider alternative remains attached.
Prices are not currency-converted. ITA Matrix results are marked non-bookable because ITA does not return durable booking links. Always revalidate a selected offer before purchase. Google Flights support uses an unofficial reverse-engineered interface provided by Fli; it may change without notice.
Development
npm run checkThe test suite uses Node's built-in test runner and does not call live provider APIs.
Available Tools
3 toolslist_providersARead-only
List flight inventory providers and whether each one is configured.
Inputs: no named parameters.
search_date_rangeBRead-only
Search multiple outbound dates and stay lengths, returning the cheapest normalized offer for each date pair.
Inputs: origin (required), endDate (required), startDate (required), destination (required), +9 more.
search_flightsBRead-only
Search all configured flight providers concurrently, normalize their offers, and deduplicate equivalent itineraries.
Inputs: origin (required), destination (required), departureDate (required), cabin, +7 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 3 tools
Each tool has a distinct purpose: listing providers, searching flights across providers, and searching across date ranges. No overlaps or ambiguity.
All tool names follow a consistent verb_noun pattern in snake_case: list_providers, search_flights, search_date_range. No deviations.
Three tools is well-scoped for a flight search server, covering configuration listing, general search, and date-range search without excess or deficiency.
The set covers core flight search functionality, but lacks filters (e.g., by airline, price) or provider-specific queries. Minor gap but sufficient for the stated purpose.
Related MCP Connectors
Flight search MCP server providing search, pagination, and itinerary details for AI assistants.
Award seat availability from a contracted GDS. One route, one airline, one date.
Free, no-login flight search with real-time pricing from multiple airlines.
Search and compare flight offers through a cache-aware Streamable HTTP MCP server for AI agents.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables searching and retrieving detailed flight information using the Duffel API, supporting various flight types and flexible search parameters for efficient travel planning.3234MIT
- AlicenseNot gradedqualityNot gradedmaintenanceEnables searching and retrieving flight information using Duffel API, supporting one-way, round-trip, and multi-city queries with flexible search parameters.MIT
- FlicenseCqualityDmaintenanceEnables flight search between airports using the Duffel API, returning flight offers and detailed debug logs.11-
- AlicenseAqualityBmaintenanceEnables MCP clients to search one-way, round-trip, and multi-city itineraries and retrieve fares, flight legs, carbon emissions and price history as structured JSON.183 npm5MIT