MCP Catalogs
Home

mcp-flight-search

by arjunprabhulal·42·Score 36

Python MCP server for flight search using SerpAPI, providing tools to search for flights and check server status.

ai-llmtravelsearch
21
Forks
0
Open issues
14 mo ago
Last commit
2d ago
Indexed

Overview

MCP Flight Search is a Python implementation of the Model Context Protocol that provides real-time flight search capabilities through SerpAPI. The server exposes two main tools: 'search_flights_tool' for finding flights between airports with parameters for origin, destination, and dates, and 'server_status' for checking if the server is running. It features a modular codebase with clear separation of concerns including models, services, and utilities.

Try asking AI

After installing, here are 5 things you can ask your AI assistant:

you:Travel assistants that need real-time flight information
you:AI chatbots integrated with travel booking systems
you:Claude Desktop users requiring flight search capabilities
you:What API is used for flight search?
you:Can I customize the server port?

When to choose this

Choose this MCP server if you need to integrate real-time flight search capabilities into an AI application that uses the Model Context Protocol.

When NOT to choose this

Don't choose this if you need flight booking capabilities (search-only), have API quota constraints with SerpAPI, or require offline functionality.

Tools this server exposes

2 tools extracted from the README
  • search_flights_toolorigin: str, destination: str, outbound_date: str, return_date: str | None = None

    Search for flights between airports with optional return date

  • server_status

    Check if the MCP server is running

Comparable tools

mcp-travel-toolsserpapi-mcpamadeus-mcpskyscanner-api-mcp

Installation

Install the package:

pip install mcp-flight-search

Start the MCP server:

mcp-flight-search --connection_type http

For Claude Desktop integration, add to your Claude Desktop configuration:

{
  "mcpServers": {
    "flight-search": {
      "command": "mcp-flight-search",
      "args": ["--connection_type", "http"],
      "env": {
        "SERP_API_KEY": "your-api-key-here"
      }
    }
  }
}

Set the SerpAPI key as an environment variable:

export SERP_API_KEY="your-api-key-here"

FAQ

What API is used for flight search?
The server uses SerpAPI Google Flights to provide real-time flight search capabilities.
Can I customize the server port?
Yes, you can specify a custom port using the --port flag: 'python main.py --connection_type http --port 5000'

Compare mcp-flight-search with

GitHub →

Last updated · Auto-generated from public README + GitHub signals.