Flight Search Tool
A Model Context Protocol Server search realtime flight detail with multiple fligh carrier, price , stop , time duration for any given date using simple prompt
What is Flight Search Tool?
Flight Search Tool is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to model context protocol server search realtime flight detail with multiple fligh carrier, price , stop , time duration for any given date using simple prompt
A Model Context Protocol Server search realtime flight detail with multiple fligh carrier, price , stop , time duration for any given date using simple prompt
This server falls under the Search & Data Extraction category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- A Model Context Protocol Server search realtime flight detai
Use Cases
Maintainer
Works with
Installation
Manual Installation
npx mcp-flight-searchConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Flight Search Tool
The mcp-flight-search server provides real-time flight search capabilities to AI assistants by integrating with the SerpAPI Google Flights endpoint. It exposes a search_flights_tool that accepts origin and destination airport codes, outbound date, and an optional return date for round-trips, returning flight options with carrier, price, stop count, and duration. Developers and travel planners use it to let Claude answer natural language flight queries without requiring users to navigate booking websites.
Prerequisites
- Python 3.8 or higher
- A SerpAPI account and API key (SERP_API_KEY) — free tier available at serpapi.com
- pip or uv for package installation
- An MCP client such as Claude Desktop or Claude Code
Get a SerpAPI key
Sign up at https://serpapi.com to get an API key. The free tier provides 100 searches per month. The SERP_API_KEY is required — the server will not start without it.
Install mcp-flight-search via pip
Install the package from PyPI. This installs the MCP server and all dependencies including the SerpAPI client.
pip install mcp-flight-searchSet the SerpAPI key environment variable
Export the SERP_API_KEY environment variable, or add it to the env block in your MCP client configuration.
export SERP_API_KEY="your_serpapi_key_here"Add mcp-flight-search to Claude Desktop configuration
Edit your claude_desktop_config.json to add the flight search server. Set the SERP_API_KEY in the env block so it is available when Claude Desktop launches the server.
Restart Claude Desktop and test a flight search
Restart Claude Desktop and ask it to search for flights. Use IATA airport codes (JFK, LAX, LHR, etc.) and specify the date in YYYY-MM-DD format for best results.
Flight Search Tool Examples
Client configuration
Add mcp-flight-search to your claude_desktop_config.json. The SERP_API_KEY is required in the env block.
{
"mcpServers": {
"mcp-flight-search": {
"command": "python",
"args": ["-m", "mcp_flight_search"],
"env": {
"SERP_API_KEY": "your_serpapi_key_here"
}
}
}
}Prompts to try
Use these prompts to search for flights through Claude. Use IATA codes for airports and YYYY-MM-DD format for dates for most accurate results.
- "Find flights from JFK to LAX on 2026-08-15"
- "Search for round-trip flights from ATL to ORD departing 2026-09-01 and returning 2026-09-08"
- "What are the cheapest flights from LHR to JFK next month?"
- "Find non-stop flights from SFO to SEA for next Friday"
- "Compare flight options from NYC to Miami for the weekend, show prices and durations"Troubleshooting Flight Search Tool
Search returns no results or 'invalid API key' error
Verify the SERP_API_KEY is valid by testing it directly at https://serpapi.com/playground. Ensure the key is copied without extra spaces. Check your SerpAPI account for remaining credits — the free tier has a 100 search/month limit.
Flight search returns results but dates or airports seem wrong
Use standard IATA airport codes (JFK, not 'New York') and YYYY-MM-DD date format. The server passes these directly to SerpAPI Google Flights. Avoid city names or informal airport names which may not resolve correctly.
Server fails to start with ModuleNotFoundError
Ensure mcp-flight-search is installed in the same Python environment used by Claude Desktop. If you have multiple Python versions, use the full path to pip: '/path/to/python -m pip install mcp-flight-search'. Alternatively, use uvx to run it in an isolated environment.
Frequently Asked Questions about Flight Search Tool
What is Flight Search Tool?
Flight Search Tool is a Model Context Protocol (MCP) server that model context protocol server search realtime flight detail with multiple fligh carrier, price , stop , time duration for any given date using simple prompt It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Flight Search Tool?
Follow the installation instructions on the Flight Search Tool GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.
Which AI clients work with Flight Search Tool?
Flight Search Tool works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Flight Search Tool free to use?
Yes, Flight Search Tool is open source and available under the MIT License license. You can use it freely in both personal and commercial projects.
Flight Search Tool Alternatives — Similar Search & Data Extraction Servers
Looking for alternatives to Flight Search Tool? Here are other popular search & data extraction servers you can use with Claude, Cursor, and VS Code.
TrendRadar
★ 58.0kA real-time hotspot monitoring and news aggregation assistant that provides AI-powered analysis of trending topics across multiple platforms via the Model Context Protocol. It enables users to track news and receive automated notifications through va
Scrapling
★ 52.7k🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl!
PDF Math Translate
★ 33.9k[EMNLP 2025 Demo] PDF scientific paper translation with preserved formats - 基于 AI 完整保留排版的 PDF 文档全文双语翻译,支持 Google/DeepL/Ollama/OpenAI 等服务,提供 CLI/GUI/MCP/Docker/Zotero
GPT Researcher
★ 27.2kAn autonomous agent that conducts deep research on any data using any LLM providers
Agent Reach
★ 20.1kGive your AI agent eyes to see the entire internet. Read & search Twitter, Reddit, YouTube, GitHub, Bilibili, XiaoHongShu — one CLI, zero API fees.
Xiaohongshu
★ 13.7kMCP for xiaohongshu.com
Browse More Search & Data Extraction MCP Servers
Explore all search & data extraction servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Flight Search Tool in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Flight Search Tool?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.