flight-search-mcp-server
Provides flight search capabilities using Google Flights data via SearchAPI.io, allowing AI assistants to find real-time flight prices, schedules, airlines, and carbon emissions data between airports.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
Flight Search MCP Server
A FastMCP server that enables AI assistants to search for flights between airports using the SearchAPI.io Google Flights API. Get real-time flight prices, schedules, airlines, and carbon emissions data through a simple MCP tool interface.
Setup
Create and activate virtual environment:
uv venv
source .venv/bin/activateInstall dependencies:
uv add fastmcp httpxSet your API key (optional, defaults to the one provided):
export SEARCHAPI_KEY="your_api_key_here"Related MCP server: Google Flights MCP Server
Usage
Test with FastMCP dev mode:
fastmcp dev server.pyOr run directly:
fastmcp run server.pyAvailable Tools
search_flights
Search for flights between airports with specified dates.
Parameters:
departure_id(required): Departure airport code (e.g., JFK, LAX)arrival_id(required): Arrival airport code (e.g., MAD, LHR)outbound_date(required): Outbound date in YYYY-MM-DD formatreturn_date(optional): Return date in YYYY-MM-DD formatflight_type(optional): "round_trip" or "one_way" (default: round_trip)
Example:
{
"departure_id": "JFK",
"arrival_id": "MAD",
"outbound_date": "2025-11-02",
"return_date": "2025-11-09",
"flight_type": "round_trip"
}MCP Configuration
Add to your .kiro/settings/mcp.json:
{
"mcpServers": {
"flight-search": {
"command": "python",
"args": ["/absolute/path/to/server.py"],
"env": {
"SEARCHAPI_KEY": "your_api_key_here"
}
}
}
}Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Google Flights for any route and date: price, airlines, flight numbers, times, stops, layovers, aircraft, legroom and CO2. One way or round trip, any cabin and currency. Runs on Apify, $0.20 per 1,000 flights.
Give AI assistants access to real-time data. Search the web, compare flights, find hotels, and more.
Google Flights fares, airlines, stops and durations for any route. Paid, on Apify's hosted MCP.
Live flight prices and working booking links for AI agents and travel apps.
Related MCP Servers
- AlicenseAqualityBmaintenanceIntegrates Google Flights data into AI workflows for natural language flight searches, price comparisons, flexible date searches, and multi-city itinerary planning with support for various cabin classes and passenger types.98MIT
- AlicenseAqualityDmaintenanceConnects AI agents to Google Flights data, enabling retrieval of flight information, cheapest options, time-filtered flights, and best recommendations.430MIT
- AlicenseNot gradedqualityBmaintenanceEnables live flight search and pricing via the Duffel Flights API, allowing AI agents to query flight data and pricing.131 npmMIT
- AlicenseAqualityCmaintenanceEnables searching Google Flights for one-way, round-trip, and multi-city itineraries, plus fare tracking and price alerts via SerpAPI.9MIT