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.
Click on "Install 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., "@flight-search-mcp-serversearch for flights from JFK to LHR on March 15, 2025"
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.
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: Duffel 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"
}
}
}
}This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/jessalva7/flight-search-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server