# Flight Queue in Cursor

In Cursor the job is building, not asking. Install the MCP server so the agent can look up real airport codes and response shapes, then use the REST API and its OpenAPI spec for the code it writes.

Source: https://flightqueue.com/cursor

## What you can ask Cursor to do

| Ask for | Tool |
| --- | --- |
| Resolve a city or name to the IATA code your code needs. | `search_airports` |
| See the real shape of an airport record before you type it. | `get_airport_overview` |
| Pull a monthly wait report to use as test data. | `get_security_wait_report` |

## Example prompts

**Prompt**

```text
Look up the IATA codes for Denver and Dallas, then write a TypeScript function that fetches FAA delays for both from the Flight Queue API.
```

**Prompt**

```text
Using the Flight Queue OpenAPI spec, generate a typed client for the airport delays endpoint.
```

**Prompt**

```text
Call get_airport_overview for SEA and show me the fields it returns.
```

## Connect Flight Queue to Cursor

The server URL is `https://mcp.flightqueue.com/mcp`. Sign-in is required, and a free Flight Queue account is enough.

#### 1. Install

Open [this link to install in Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=flightqueue&config=eyJ1cmwiOiJodHRwczovL21jcC5mbGlnaHRxdWV1ZS5jb20vbWNwIn0%3D) and click **Install**. Or add the JSON to `~/.cursor/mcp.json`, or `.cursor/mcp.json` in a project.

**mcp.json**

```json
{
  "mcpServers": {
    "flightqueue": {
      "url": "https://mcp.flightqueue.com/mcp"
    }
  }
}
```

#### 2. Log in

Click **Needs login** next to `flightqueue` and sign in to Flight Queue in your browser.

## Use the REST API with Cursor

Anything Cursor writes or runs can call the REST API. Register a free agent key, then send it as a Bearer token. The spec is at `https://flightqueue.com/openapi.json`, and [the REST API docs](https://flightqueue.com/docs/api.md) list every endpoint.

```bash
curl https://flightqueue.com/api/v1/airports/JFK/delays \
  -H "Authorization: Bearer $FLIGHTQUEUE_API_KEY"
```

## Plans and limits

A free account can call the 29 free tools, up to 100 calls a day. `get_live_wait_time`, `get_wait_time_predictions`, `get_historical_wait_times` need a paid plan. See [plans and limits](https://flightqueue.com/docs/plans.md) and [pricing](https://flightqueue.com/pricing).

## More

- [Flight Queue docs](https://flightqueue.com/docs.md): Quickstart, every MCP tool, the REST API and OpenAPI spec.
- [Flight Queue in Grok](https://flightqueue.com/grok.md): Live TSA estimate, FAA delay status and traveller reports right before you leave.
- [Flight Queue in ChatGPT](https://flightqueue.com/chatgpt.md): Typical waits by hour and the quietest time to arrive, for planning a departure.
- [Flight Queue in Claude](https://flightqueue.com/claude.md): Compare airports on waits, and airlines on baggage handling.
- [Flight Queue in Perplexity](https://flightqueue.com/perplexity.md): EES border queues, 24-hour forecasts and the Schengen 90/180 day check.
- [Flight Queue in Muse](https://flightqueue.com/muse.md): Lounge access rules, fast-track offers and whether your flight has Wi-Fi.
- [Flight Queue in Dots](https://flightqueue.com/dots.md): FAA ground stops, airport weather and wait-time alerts.
- [Flight Queue in Duet](https://flightqueue.com/duet.md): Is the layover long enough, how far is the walk, and which terminal.
