Flight Search
MCP server by arjunprabhulal Community
Searches Google Flights through SerpApi for one-way and round-trip flights by IATA airport code. Built for AI assistants such as Claude and Cursor that use MCP.
Install Flight Search
Built from the published package, never by AI.
claude mcp add flight-search -e SERP_API_KEY=YOUR_SERP_API_KEY -- uvx mcp-flight-searchRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"flight-search": {
"env": {
"SERP_API_KEY": "YOUR_SERP_API_KEY"
},
"args": [
"mcp-flight-search"
],
"command": "uvx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"flight-search": {
"env": {
"SERP_API_KEY": "YOUR_SERP_API_KEY"
},
"args": [
"mcp-flight-search"
],
"command": "uvx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"flight-search": {
"env": {
"SERP_API_KEY": "YOUR_SERP_API_KEY"
},
"args": [
"mcp-flight-search"
],
"command": "uvx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add flight-search --env SERP_API_KEY=YOUR_SERP_API_KEY -- uvx mcp-flight-search{
"mcpServers": {
"flight-search": {
"env": {
"SERP_API_KEY": "YOUR_SERP_API_KEY"
},
"args": [
"mcp-flight-search"
],
"command": "uvx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
gemini mcp add flight-search uvx mcp-flight-searchGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the flight-search block.
About
MCP Flight Search is an MCP server that searches Google Flights through SerpApi, for Claude, Cursor and other MCP clients. It takes origin and destination IATA airport codes and a departure date, with an optional return date for round trips. Results include airline, price in USD, duration, stops, departure and arrival times, and cabin class.
The server runs over stdio by default, or as a Streamable HTTP server. It needs a SerpApi key in the SERP_API_KEY environment variable and can be run with uvx, pip or Docker. It suits people who want an AI assistant to look up flight options. The project is released under the MIT license.
Written from the project's README and checked against it.
Tools it gives your assistant
search_flights_toolFinds flights between two airports for one-way or round-trip dates.server_statusChecks that the server is running and reports its version.
What you need
- SerpApi API key set in SERP_API_KEY
- Python 3.10 or later, or uv
- Docker (optional, for running in a container)
| Setting | Needed | What it is |
|---|---|---|
SERP_Environment variable, secret | Required | Your SerpApi key (serpapi.com) |
From the publisher's entry in the official MCP Registry. Required settings are already in the install config below as placeholders.
Try asking
- Find one-way flights from ATL to LAX on 2025-06-10.
- Search round-trip flights from LAX to ATL, leaving 2025-07-01 and returning 2025-07-08.
- Check whether the flight search server is running.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Flight Search
All alternatives →Searches and discovers Agent Skills from the skills.sh registry, according to its listing description. The source file itself documents the Agent Skills format rather than this server.
Connects AI agents to Exa for web search, content fetching, and multi-step research. It is aimed at developers and AI assistant users who want web results and page content inside their assistant.
Apify MCP server gives AI agents web scraping, data extraction, and browser automation through thousands of ready-made Actors from Apify Store. It suits developers and teams who want agents to pull data from websites without installing a separate MCP server for each site.
Official MCP server for changedetection.io that connects AI assistants such as Claude.AI and OpenAI tools to a changedetection.io dashboard. It lets users ask about tracked web page changes, including price and back-in-stock alerts.
Brave Search MCP Server gives AI assistants web, local, place, image, video and news search through the Brave Search API. It also offers grounded Answers for developers and teams that want cited results.
Scrapling is a Python web scraping framework with an MCP server for AI agents. It offers stealth HTTP requests, browser rendering, Cloudflare Turnstile handling, and CSS selector extraction for developers and scrapers.
Compare with Agent Skills Search Server, Exa or Apify
Flight Search: common questions
Does MCP Flight Search need an API key?
Yes. It reads a SerpApi key from the SERP_API_KEY environment variable. The source says serpapi.com has a free tier.
What kinds of flight searches does it support?
It supports one-way and round-trip searches between airports, using IATA airport codes such as ATL or LAX. Results come from Google Flights through SerpApi.
Can it run as an HTTP server?
Yes. Passing --connection_type http starts a Streamable HTTP server, and the source gives the example address http://127.0.0.1:3001/mcp.
How do I install Flight Search?
In Claude Code run claude mcp add flight-search -e SERP_API_KEY=YOUR_SERP_API_KEY -- uvx mcp-flight-search. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Flight Search the official server?
Flight Search is a community project by arjunprabhulal, not verified by a company domain.
Is Flight Search free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is Flight Search safe to use?
It scores 75 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Flight Search?
Similar MCP servers: Agent Skills Search Server, Exa, Apify, changedetection.io (official).
Does Flight Search work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
