MCP Flight Search
@arjunprabhulal
About MCP Flight Search
MCP Server implementation for the Model Context Protocol (MCP) enabling AI tool usage - Realtime Flight Search
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-flight-search": {
"command": "python",
"args": [
"main.py",
"--connection_type",
"http"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Flight Search?
MCP Flight Search is a flight search server built with the Model Context Protocol (MCP). It integrates with SerpAPI Google Flights to provide one-way and round-trip flight search tools that can be used by Claude and other MCP‑compatible AI models. It is intended for developers who want to enable flight‑search capabilities in their MCP‑based agents.
How to use MCP Flight Search?
Install the package via pip install mcp-flight-search, then set the SERP_API_KEY environment variable. Start the server with mcp-flight-search --connection_type http (or python main.py --connection_type http). Optionally specify a custom port with --port. The server exposes two MCP tools: search_flights_tool (for flight searches) and server_status (to check the server’s health).
Key features of MCP Flight Search
- MCP‑compliant tools for flight search
- Integration with SerpAPI Google Flights
- Support for one‑way and round‑trip flights
- Rich logging with structured output
- Modular, maintainable code structure
- Configurable HTTP transport and port
Use cases of MCP Flight Search
- Enable an AI assistant to search for flights in real time
- Build a travel‑planning chatbot that can look up one‑way or round‑trip options
- Check the health of a flight search server before making requests
- Integrate flight data into a custom MCP‑based workflow
FAQ from MCP Flight Search
What is Model Context Protocol (MCP)?
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.
How do I install MCP Flight Search?
You can install it from PyPI with pip install mcp-flight-search, or install in development mode from the project directory with pip install -e ..
How do I set up the required API key?
Set the SerpAPI key as an environment variable: export SERP_API_KEY="your-api-key-here".
What tools does MCP Flight Search provide?
Two tools are available: search_flights_tool (parameters: origin, destination, outbound_date, optional return_date) and server_status (no parameters) to check if the server is running.
How do I start the server and change the port?
Start with mcp-flight-search --connection_type http or python main.py --connection_type http. To use a custom port, add --port 5000 (or your preferred port). The server uses HTTP transport.
More Search MCP servers
Naver Search MCP Server
isnow890MCP server for Naver Search API integration. Provides comprehensive search capabilities across Naver services (web, news, blog, shopping, etc) and data trend analysis tools via DataLab API.
小红书自动搜索评论工具(MCP Server 2.0)
chenningling这是一款基于 Playwright 开发的小红书自动搜索和评论工具,作为 MCP Server,可通过特定配置接入 MCP Client(如Claude for Desktop),帮助用户自动完成登录小红书、搜索关键词、获取笔记内容及发布AI生成评论等操作。
Google Search Tool
web-agent-masterA Playwright-based Node.js tool that bypasses search engine anti-scraping mechanisms to execute Google searches. Local alternative to SERP APIs with MCP server integration.
Version 2.0 is here!!
mixelpixxMCP Server built for use with Claude Code, Claude Desktop, VS Code, Cline - enable google search and ability to follow links and research websites
Tavily Mcp
tavily-aiProduction ready MCP server with real-time search, extract, map & crawl.
Comments