Skip to content
FunCoding

Flight Search

Listed in the official MCP Registry

Search Google Flights through SerpApi: one-way and round-trip flights by IATA airport code.

Star
44
Version
v0.3.0
License
MIT
Last commit
Nov 20, 2026

An MCP server that searches Google Flights through SerpApi, for Claude, Cursor and other MCP clients. One-way and round-trip searches by IATA airport code, with prices, durations, stops and times.

CI PyPI

Requirements

  • Python 3.10 or later (or uv)
  • A SerpApi key in SERP_API_KEY (serpapi.com has a free tier)

Use it from an MCP client

Add it to your client's MCP configuration (Claude Desktop, Claude Code, Cursor, ...):

{
  "mcpServers": {
    "flight-search": {
      "command": "uvx",
      "args": ["mcp-flight-search"],
      "env": { "SERP_API_KEY": "your-serpapi-key" }
    }
  }
}

Or install it with pip install mcp-flight-search and use "command": "mcp-flight-search".

Run it yourself

export SERP_API_KEY="your-serpapi-key"
mcp-flight-search                                    # stdio (default)
mcp-flight-search --connection_type http --port 3001 # Streamable HTTP at http://127.0.0.1:3001/mcp

LOG_LEVEL=DEBUG shows more detail on stderr. The API key is never logged.

With Docker:

docker build -t mcp-flight-search .
docker run -i --rm -e SERP_API_KEY=your-serpapi-key mcp-flight-search

Tools

ToolWhat it does
search_flights_toolFlights between two airports. origin, destination: IATA codes such as ATL, LAX. outbound_date: YYYY-MM-DD. return_date (optional): YYYY-MM-DD for a round trip. Returns structured results: airline, price (USD), duration, stops, departure, arrival, cabin class.
server_statusChecks the server is running and reports its version.

Development

uv sync
uv run pytest
uv run ruff check .

License

MIT

Similar MCP servers

Scrapling MCP Server

Web scraping with stealth HTTP, real browsers, and Cloudflare bypass. CSS selectors supported.

D4D4Vinci/Scrapling107k1,730 new stars in the last 7 days

Official

Fetch

Fetches web content and converts it to Markdown for an LLM to read

MOmodelcontextprotocol/servers92k166 new stars in the last 7 days

OpenSEO

Keyword research, site audits, rank tracking and AI visibility for your AI agent.

EVevery-app/open-seo29k533 new stars in the last 7 days

Agent Skills Search Server

Search and discover Agent Skills from the skills.sh registry. Powered by HAPI MCP server.

AGagentskills/agentskills28k175 new stars in the last 7 days

XERJ

The search engine for AI agents: cited answers from your local code, docs, specs and logs.

XExerj-org/xerj23k1,626 new stars in the last 7 days

Featured

Apify

Run ready-made Apify scrapers to extract data from social media, maps and e-commerce sites.

APapify/apify-mcp-server19k873 new stars in the last 7 days