Metadata-Version: 2.4
Name: fastflights-mcp
Version: 0.1.0
Summary: MCP server that searches Google Flights through SearchApi
Author: FastFlightsMCP team
License-Expression: MIT
Project-URL: Repository, https://github.com/Gabbykoms/FastFlightsMCP
Project-URL: Issues, https://github.com/Gabbykoms/FastFlightsMCP/issues
Keywords: mcp,model-context-protocol,flights,google-flights,searchapi
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.11
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: mcp<3,>=2
Requires-Dist: httpx
Requires-Dist: pydantic
Requires-Dist: airportsdata==20260905
Requires-Dist: tzdata
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Dynamic: license-file

# fastflights-mcp

An [MCP](https://modelcontextprotocol.io) server that lets AI assistants search **Google Flights**
through [SearchApi](https://www.searchapi.io): real options, prices and times, returned as
structured data the assistant can reason over. Search only: it never books or buys anything.

## Tools

| Tool | What it does |
|---|---|
| `search_airports` | Turns a city or airport name into IATA airport codes. |
| `search_flights` | One-way or round-trip flights between sets of airports, with a budget, stop limits and one recommendation. |
| `search_multi_city` | Trips of 2 to 6 legs priced as a whole. A search can take one to two minutes. |

Prices are per person. Children and infants are not supported yet.

## Use it

You need [`uv`](https://docs.astral.sh/uv/), Python 3.11 or newer, and your own
[SearchApi](https://www.searchapi.io) key. Searches are billed to your SearchApi account.

Add the server to your MCP host's configuration, for example:

```json
{
  "mcpServers": {
    "fastflights": {
      "command": "uvx",
      "args": ["fastflights-mcp"],
      "env": {"SEARCHAPI_API_KEY": "your-key"}
    }
  }
}
```

In Claude Code, export the key in your shell first, then `claude mcp add fastflights -- uvx fastflights-mcp`.

The key stays in the server's environment and is never returned in a tool result.

## Status and limits

Alpha. Each search makes several billed requests to SearchApi (a multi-city search up to 10).
Results are marked when a search stopped early and may have missed better options.
This project is not affiliated with or endorsed by Google. Fares change constantly:
confirm on the booking link before you buy.

## Source and license

Source and issues: <https://github.com/Gabbykoms/FastFlightsMCP>. MIT license.
