Flight Search Tool

v1.0.0Search & Data Extractionstable

A Model Context Protocol Server search realtime flight detail with multiple fligh carrier, price , stop , time duration for any given date using simple prompt

aifligh-searchgenaimcpmcp-server
Share:
42
Stars
0
Downloads
0
Weekly
0/5

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

Real-time flight searches
Price and duration comparison
Multi-carrier availability
arjunprabhulal

Maintainer

LicenseMIT License
Languagepython
Versionv1.0.0
UpdatedApr 7, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx mcp-flight-search

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

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
1

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.

2

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-search
3

Set 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"
4

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.

5

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.

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.

Quick Config Preview

{ "mcpServers": { "mcp-flight-search": { "command": "npx", "args": ["-y", "mcp-flight-search"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

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.

33,000+ ServersFree & Open SourceStep-by-Step Guides