# Use Flight Queue from your AI agent

Flight Queue gives AI agents live airport security waits, FAA delays and wait forecasts for 8,700+ airports. Connect the MCP server in your assistant, or call the REST API from code.

Source: https://flightqueue.com/docs

Flight Queue reports how long airport security, immigration and check-in queues are, predicts them by hour, and tracks FAA delays and ground stops. People increasingly ask an AI assistant instead of opening an app, so the same data is available two ways: an MCP server for assistants and a REST API for developers.

- [Connect the MCP server](https://flightqueue.com/docs/quickstart.md): Add one URL to Grok Bot, ChatGPT, Claude, Cursor or any MCP client. Sign in once with OAuth.
- [Call the REST API](https://flightqueue.com/docs/api.md): Register a free agent key in one request and call the API with curl, JavaScript or Python.
- [MCP tools reference](https://flightqueue.com/docs/mcp/tools.md): Every tool, its parameters, who can use it and an example prompt.
- [OpenAPI spec](https://flightqueue.com/docs/api/openapi.md): The machine-readable REST API description, for code generators and agents.

## Two ways in

|  | MCP server | REST API |
| --- | --- | --- |
| Endpoint | `https://mcp.flightqueue.com/mcp` | `https://flightqueue.com/api/v1` |
| Sign-in | OAuth, required from the first request | API key sent as a Bearer token or `X-API-Key` |
| Best for | Assistants such as Grok Bot, ChatGPT, Claude and Cursor | Your own code, scripts and agents |
| Free access | Free Flight Queue account | Free agent key from `POST /api/agent/register` |
| Paid access | Premium unlocks forecasts, history and live waits | Pro or Enterprise API plan |

Plans, rate limits and daily caps for both are on the [plans and limits](https://flightqueue.com/docs/plans.md) page.

## What you can ask

- How long is the security line at JFK right now?
- Is there an FAA ground stop at Newark?
- When is the quietest time to arrive at LAX?
- Is 75 minutes enough to connect at O’Hare after an international flight?
- Will flight BA117 have Starlink Wi-Fi?
- Which US airlines mishandle the fewest bags?

## Guides by assistant

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

## Airport guides

Terminal, lounge and typical wait range guides for major airports are at [airport guides](https://flightqueue.com/docs/airports/).

## What is covered

- **Coverage:** 8,700+ airports. About 223 have live security-wait feeds; the rest use predictions built from historical patterns and traveller reports, and every value is labelled live or estimated.
- **Data:** security and immigration waits, FAA delays and ground stops, hourly forecasts, typical waits by hour, EU Entry/Exit System border waits, aviation weather, gate walk times, connection checks, baggage rankings and in-flight Wi-Fi odds.
- **Methodology:** how the numbers are sourced and scored is on the [methodology](https://flightqueue.com/methodology) page.

> **Note:** Wait times are estimates, not guarantees. Quote the airport, the minutes and the time a figure applies to, and say whether it is live or estimated.

## Scope

Flight Queue reports queues; it does not run them. The lounge virtual-queue pages at [/lounges](https://flightqueue.com/lounges) are an index of the operators’ own join and reserve links with the date each link was last verified. Flight Queue does not operate a lounge queue, hold a place in one or take bookings.

## Where to start

- Connect an assistant: [Quickstart](https://flightqueue.com/docs/quickstart.md).
- Write code: [REST API](https://flightqueue.com/docs/api.md) and the [endpoint reference](https://flightqueue.com/docs/api/endpoints.md).
- Read the tools an assistant can call: [MCP tools](https://flightqueue.com/docs/mcp/tools.md).
- Let an agent find everything itself: [Agents and crawlers](https://flightqueue.com/docs/agents.md).

**Prompt for an assistant that can read URLs**

```text
Read https://flightqueue.com/setup.md and follow it to set up FlightQueue for me.
```
