# Flight Seatmap in Cursor

Add the MCP server to Cursor to query seat maps while you build, or hand Cursor the OpenAPI spec and let it write a client for the HTTP API.

## What you can ask Cursor to do

| Ask Cursor | Tool it calls |
| --- | --- |
| "Fetch the seat map for AF7 on 2026-12-12 and write a TypeScript type for the response." | `get_seatmap` |
| "Fetch the live seat map for LH400 on 2026-12-20 and save it as a test fixture." | `search_flight` |
| "Look up Lufthansa's airline facts and add them to the seed data." | `get_airline_info` |
| "Get the reviews for seat 12A on SQ321 so I can mock the review list." | `get_seat_reviews` |

Every tool, its inputs and its access rules are in the [MCP tools reference](https://flightseatmap.com/docs/mcp/tools).

## Connect Flight Seatmap to Cursor

**MCP server URL (Streamable HTTP, OAuth sign-in)**

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

Use the [one-click install link](cursor://anysphere.cursor-deeplink/mcp/install?name=flightseatmap&config=eyJ1cmwiOiJodHRwczovL21jcC5mbGlnaHRzZWF0bWFwLmNvbS9tY3AifQ==), or add the server to `.cursor/mcp.json` in a project, or `~/.cursor/mcp.json` for every project. Cursor is registered as a native OAuth client, so sign-in returns to the Cursor app.

**mcp.json**

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

For code that calls the API rather than the MCP server, give Cursor the spec: `https://flightseatmap.com/openapi.json`. The free lookup API needs no account and no key, and the pay-per-call API is described in [Authentication and payment](https://flightseatmap.com/docs/api/authentication).

**Free lookup API**

```bash
curl "https://flightseatmap.com/api/chatgpt/seatmap/AF7"
```

## Example prompts for Cursor

- "Using the Flight Seatmap OpenAPI spec at https://flightseatmap.com/openapi.json, write a typed client for the seat map endpoints."
- "Add a seat map lookup to this app. Use the Flight Seatmap MCP tools to inspect a real response first."
- "Write tests for the airline facts we use, based on a real response for KLM."

## Keep reading

- [Quickstart](https://flightseatmap.com/docs/quickstart): every supported client and a first API call
- [MCP server](https://flightseatmap.com/docs/mcp): OAuth, scopes and rate limits
- [Plans and limits](https://flightseatmap.com/docs/plans): what Free, Trip Pass, Frequent Flyer and Enterprise include
- [Pricing](https://flightseatmap.com/pricing): current prices
- [Endpoint reference](https://flightseatmap.com/docs/api/reference): parameters and curl, JavaScript and Python examples

---

Source: https://flightseatmap.com/cursor
