# Quickstart

Connect the MCP server in a few minutes, then get an API key and make your first REST API call.

> **Note:** Sign-in is required. Airport Lounge List uses OAuth 2.1 from the first request, so your client opens a browser to sign in to a free account. You can create one at [airportloungelist.com/users/sign_up](https://airportloungelist.com/users/sign_up) or during the first sign-in.

## Connect the MCP server

The server URL is the same for every client:

```text
https://mcp.airportloungelist.com/mcp
```

### Grok Bot

**Step 1: Ask Grok Bot to add the server**

Grok Bot adds MCP servers from the chat. Send this message:

```text
Add a custom MCP server called airport-lounge-list at https://mcp.airportloungelist.com/mcp
```

**Step 2: Approve the card and sign in**

Approve the connector card, then sign in to Airport Lounge List when the browser opens.

On grok.com, open [grok.com/connectors](https://grok.com/connectors), choose **New Connector**, then **Custom**, paste the server URL and sign in. On a Grok Business or Enterprise plan a team admin adds the connector in the xAI console first.

### ChatGPT

**Step 1: Turn on developer mode**

In ChatGPT open **Settings**, then **Connectors**, then **Advanced settings**, and enable **Developer mode**. Custom connectors are available on some plans only, and the menu names change, so check OpenAI's current help if you do not see them.

**Step 2: Create the connector**

Choose **Create**, name it Airport Lounge List, and paste the server URL. Set authentication to OAuth.

```text
https://mcp.airportloungelist.com/mcp
```

**Step 3: Sign in and enable it in a chat**

Sign in to Airport Lounge List when ChatGPT opens the consent screen, then enable the connector from the tools menu of a new chat.

### Claude

**Claude on the web and Claude Desktop.** Open **Settings**, then **Connectors**, choose **Add custom connector**, and paste the server URL. Sign in when Claude asks.

```text
https://mcp.airportloungelist.com/mcp
```

**Claude Desktop with a config file.** Open **Settings**, then **Developer**, then **Edit Config**, and add the server to `claude_desktop_config.json`. `mcp-remote` handles the OAuth sign-in and needs Node.js. Restart Claude Desktop afterwards.

```json
{
  "mcpServers": {
    "airport-lounge-list": {
      "command": "npx",
      "args": ["-y", "mcp-remote", "https://mcp.airportloungelist.com/mcp"]
    }
  }
}
```

**Claude Code.** Run this in your terminal, then run `/mcp` inside Claude Code and choose **Authenticate**.

```bash
claude mcp add airport-lounge-list --transport http https://mcp.airportloungelist.com/mcp
```

To also install the Airport Lounge List skills, add the plugin instead:

```bash
claude plugin marketplace add Airport-Lounge-List/mcp-server && claude plugin install airport-lounge-list@airport-lounge-list
```

### Cursor

**One-click install.** [Add Airport Lounge List to Cursor](cursor://anysphere.cursor-deeplink/mcp/install?name=airport-lounge-list&config=eyJ1cmwiOiJodHRwczovL21jcC5haXJwb3J0bG91bmdlbGlzdC5jb20vbWNwIn0%3D). Cursor opens a browser to sign in when you approve it.

**Or edit mcp.json.** Add the server to `~/.cursor/mcp.json`, or to `.cursor/mcp.json` in a project:

```json
{
  "mcpServers": {
    "airport-lounge-list": {
      "url": "https://mcp.airportloungelist.com/mcp"
    }
  }
}
```

### Other MCP clients

Any client that supports remote MCP servers over Streamable HTTP and OAuth with dynamic client registration works with the server URL above.

- **VS Code:** [Add Airport Lounge List to VS Code](https://vscode.dev/redirect/mcp/install?name=airport-lounge-list&config=%7B%22url%22%3A%22https%3A%2F%2Fmcp.airportloungelist.com%2Fmcp%22%2C%22type%22%3A%22http%22%7D).
- **Windsurf:** open **Windsurf Settings**, then **Cascade**, then **MCP**, choose **Add custom server**, and paste the config below.
- **Clients without remote support:** run `npx -y mcp-remote https://mcp.airportloungelist.com/mcp` as a local stdio server.

```json
{
  "mcpServers": {
    "airport-lounge-list": {
      "serverUrl": "https://mcp.airportloungelist.com/mcp"
    }
  }
}
```

## Check it works

Ask your agent:

```text
What lounges are at DXB, and which terminal is each in?
```

The agent should call `get_airport_lounges` and list the lounges with terminal and access details. If it cannot see the tools, restart the client. If it reports `401`, sign in again from the client's connector settings.

## Get an API key

The REST API uses an API key. Keys come with the Enterprise plan ($99 per month); there is no free API key. The MCP server does not use this key.

**Step 1: Sign in**

Sign in or create an account at [airportloungelist.com/users/sign_up](https://airportloungelist.com/users/sign_up).

**Step 2: Subscribe**

Open the [Enterprise pricing page](https://airportloungelist.com/commercial_subscriptions/pricing.md) and choose **Subscribe Now**. You pay through Stripe Checkout.

**Step 3: Copy your key**

After checkout your key is shown on the success page. You can find it later on your subscription page at [airportloungelist.com/commercial_subscriptions](https://airportloungelist.com/commercial_subscriptions).

## Make your first API call

Search for lounges by name, airport, city or country. Send the key in the `X-API-Key` header:

**curl**

```curl
curl -H "X-API-Key: $LOUNGE_API_KEY" \
  "https://airportloungelist.com/api/v1/lounges/search?q=Plaza%20Premium"
```

**JavaScript**

```JavaScript
const response = await fetch(
  "https://airportloungelist.com/api/v1/lounges/search?q=" + encodeURIComponent("Plaza Premium"),
  { headers: { "X-API-Key": process.env.LOUNGE_API_KEY } }
);
const { count, lounges } = await response.json();
console.log(count, lounges[0]);
```

**Python**

```Python
import os
import requests

response = requests.get(
    "https://airportloungelist.com/api/v1/lounges/search",
    params={"q": "Plaza Premium"},
    headers={"X-API-Key": os.environ["LOUNGE_API_KEY"]},
    timeout=10,
)
response.raise_for_status()
data = response.json()
print(data["count"], data["lounges"][0])
```

The response is JSON with `query`, `count` and a `lounges` array of up to 50 lounges in name order. Continue with the [REST API overview](https://airportloungelist.com/docs/api.md) and the [endpoint reference](https://airportloungelist.com/docs/api/reference.md).

---
Source: https://airportloungelist.com/docs/quickstart
