MCP Flight Search
About
MCP Server implementation for the Model Context Protocol (MCP) enabling AI tool usage - Realtime Flight Search
Details
- License
- MIT
Explore
- MCP-compliant tools for flight search functionality
- Integration with SerpAPI Google Flights
- Support for one-way and round-trip flights
- Rich logging with structured output
- Modular, maintainable code structure
Setting up with Highlight
This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:
- Download and install Highlight from highlightai.com/download
- Navigate to the plugins tab and select "Add Custom Plugin"
-
Configure the plugin with the settings below
Plugin Name
MCP Flight SearchCommand (node, npx, python, etc.)Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.
- Enable "Start Automatically" if you want the plugin to start when Highlight launches
From the repository
pip install mcp-flight-search
pip install -e .
Set the SerpAPI key as an environment variable:
export SERP_API_KEY="your-api-key-here"
search_flights_tool
Search for flights between airports with parameters:
origin
Departure airport code (e.g., ATL, JFK)
destination
Arrival airport code (e.g., LAX, ORD)
outbound_date
Departure date (YYYY-MM-DD)
return_date
Optional return date for round trips (YYYY-MM-DD)
server_status
Check if the MCP server is running
This package provides the following Model Context Protocol tools:
- search_flights_tool: Search for flights between airports with parameters:
- origin: Departure airport code (e.g., ATL, JFK)
- destination: Arrival airport code (e.g., LAX, ORD)
- outbound_date: Departure date (YYYY-MM-DD)
- return_date: Optional return date for round trips (YYYY-MM-DD)
- server_status: Check if the MCP server is running
Claude Desktop / Cursor
Paste into your MCP client config file to install this server.
{
"mcpServers": {
"mcp flight search": {
"mcp-flight-search": {
"command": "python",
"args": [
"main.py",
"--connection_type",
"http"
]
}
}
}
}
McpServers
{
"mcp-flight-search": {
"command": "python",
"args": [
"main.py",
"--connection_type",
"http"
]
}
}
A flight search service built with Model Context Protocol (MCP). This service demonstrates how to implement MCP tools for flight search capabilities.
What is Model Context Protocol?
The Model Context Protocol (MCP) is a standard developed by Anthropic that enables AI models to use tools by defining a structured format for tool descriptions, calls, and responses. This project implements MCP tools that can be used by Claude and other MCP-compatible models.
Installation
```bash
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.


