Skip to main content
MCP server CX Codex

Flight Search — Claude Code MCP server for flight lookup

Search Google Flights through SerpApi using IATA airport codes. Compare fares, travel times and stops for one-way or return trips.

Install into Claude Code · Platform CLI All methods and platforms ↓
claude mcp add mcp-flight-search -e SERP_API_KEY=<SERP_API_KEY> -- uvx mcp-flight-search
Open on GitHub

What Flight Search does

This server gives an AI agent access to Google Flights search through SerpApi. Its search_flights_tool takes origin and destination airport codes plus a departure date; add a return date for a round trip. Results include the airline, USD fare, duration, stops, departure and arrival times, and cabin class.

You need Python 3.10 or later or uv, along with a SerpApi key in SERP_API_KEY. Search will not run without the key. The server uses stdio by default and also supports Streamable HTTP with a port set at launch. A separate server_status tool checks whether the server is running and reports its version.

What it helps with

  • find flights between airports using IATA codes
  • compare fares and flight durations for a chosen date
  • check how many stops a route has
  • search for return flights using travel dates

Example prompts for the agent

  • Find flights from ATL to LAX on 2025-06-12 and compare fares and durations.
  • Search for a trip from LAX to ATL, leaving 2025-06-12 and returning 2025-06-19.
  • Check whether the flight search server is running and report its version.

How to install Flight Search

Platform CLI

claude mcp add mcp-flight-search -e SERP_API_KEY=<SERP_API_KEY> -- uvx mcp-flight-search

Replace <…> with your own values. uvx runs the command named after the package; if the README names another one, use uvx --from mcp-flight-search <command>

Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more

Questions about Flight Search

How do I install Flight Search in Claude Code?

Run claude mcp add mcp-flight-search -e SERP_API_KEY=<SERP_API_KEY> -- uvx mcp-flight-search. Replace <SERP_API_KEY> with your SerpApi key.

What does Flight Search do?

It queries Google Flights through SerpApi. Search by IATA airport codes and get fares, durations, stops, flight times and cabin class.

What does Flight Search need to run?

Use Python 3.10 or later or uv, and provide a SerpApi key through SERP_API_KEY.

Similar MCP servers

MCP servers catalog →

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor