Skip to content
MCP server

Flight Search

Search Google Flights via SerpApi by IATA code, one-way or round trip

Runs locallyStatus and history
Install
Pricing
Open source
Platforms
CLI, self-hosted, Linux
Runs
Locally
Version
0.3.0
Listing updated
today

Similar MCP servers

About Flight Search

Flight Search is an open-source MCP server for maps and travel. It runs locally on your machine and is started by your AI client.

This is a small Python server that wraps SerpApi's Google Flights API. It exposes a single search tool plus a status check, so an assistant can compare fares between two airports. You give origin and destination as IATA codes such as ATL or LAX, an outbound date in YYYY-MM-DD form and optionally a return date for a round trip.

Results are structured and include airline, price in USD, duration, stops, departure, arrival and cabin class. A SerpApi key is required in SERP_API_KEY; the README notes SerpApi has a free tier. The key is never logged.

It runs over stdio by default via uvx or pip, or as Streamable HTTP on a port you choose, and also ships a Docker image. Python 3.10 or later is needed, and the licence is MIT.

Install

Run in a terminal

claude mcp add mcp-flight-search --env SERP_API_KEY='<SERP_API_KEY>' -- uvx mcp-flight-search

Add to claude_desktop_config.json

{
  "mcpServers": {
    "mcp-flight-search": {
      "command": "uvx",
      "args": [
        "mcp-flight-search"
      ],
      "env": {
        "SERP_API_KEY": "<SERP_API_KEY>"
      }
    }
  }
}

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "mcp-flight-search": {
      "command": "uvx",
      "args": [
        "mcp-flight-search"
      ],
      "env": {
        "SERP_API_KEY": "<SERP_API_KEY>"
      }
    }
  }
}

Add to .vscode/mcp.json

{
  "servers": {
    "mcp-flight-search": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "mcp-flight-search"
      ],
      "env": {
        "SERP_API_KEY": "<SERP_API_KEY>"
      }
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mcp-flight-search": {
      "command": "uvx",
      "args": [
        "mcp-flight-search"
      ],
      "env": {
        "SERP_API_KEY": "<SERP_API_KEY>"
      }
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "mcp-flight-search": {
      "command": "uvx",
      "args": [
        "mcp-flight-search"
      ],
      "env": {
        "SERP_API_KEY": "<SERP_API_KEY>"
      }
    }
  }
}

Using several servers? Build one config file with the MCP config generator.

Configuration

  • SERP_API_KEYYour SerpApi key (serpapi.com)Required

Tools this server provides (2)

Taken from the project documentation; the running server may differ.

search_flights_tool
Searches flights between two airports by IATA code and date, one-way or round trip
server_status
Checks the server is running and reports its version

What it does

Flight search
Finds one-way and round-trip flights between two airports.
IATA code input
Takes airport codes such as ATL and LAX.
Structured results
Returns airline, price, duration, stops, times and cabin class.
stdio or HTTP
Run over stdio or as Streamable HTTP on a local port.
Docker image
Container build is included.
Status tool
server_status reports that the server is up and its version.

Good for

  • Compare fares for a route on a given date
  • Check round-trip prices before planning a trip
  • Let an assistant list stops and durations for options
  • Add flight lookup to a travel-planning agent

Pricing

Open source

Free, MIT licensed; requires a SerpApi key

Flight Search FAQ

Do I need an API key?

Yes. A SerpApi key in SERP_API_KEY is required; SerpApi has a free tier.

Which Python versions?

Python 3.10 or later.

How do I run it over HTTP?

Run mcp-flight-search --connection_type http --port 3001.

What currency are prices in?

US dollars.

Is Flight Search free?

Yes. Flight Search is open source, so you can use and self-host it for free.

How do I add Flight Search to Claude Code?

Run this command in your terminal: claude mcp add mcp-flight-search --env SERP_API_KEY='<SERP_API_KEY>' -- uvx mcp-flight-search

What are the best alternatives to Flight Search?

The closest alternatives to Flight Search are Atli, CAD2GIS, Coordinates, Photon and Travel Advisories.

Where this comes from

  • Description: written from the project's README.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers