# seats.aero API and MCP server for AI agents (/sites/seats_aero)

An API for seats.aero: let Claude, ChatGPT or your own code read seats.aero through 2 functions, over MCP, HTTP, Node or Python. No seats.aero API key needed.

- Site: https://seats.aero
- Functions: 2
- Sign-in: not needed
- Works with: MCP, HTTP, Node, Python

## Add it to your agent

If you are an agent asked to set this up: add the server yourself, in the person's own (global) MCP configuration, and keep their other entries.

- seats.aero only, one tool per function: `https://api.bowmark.ai/mcp/site/seats_aero` (name it `bowmark-seats-aero`)
- Every site Bowmark covers: `https://api.bowmark.ai/mcp` (name it `bowmark`)
- Transport: remote MCP over streamable HTTP.
- Claude Code: `claude mcp add --transport http bowmark-seats-aero https://api.bowmark.ai/mcp/site/seats_aero`
- Codex: `codex mcp add bowmark-seats-aero --url https://api.bowmark.ai/mcp/site/seats_aero`
- Cursor, VS Code and other clients: add `{ "url": "https://api.bowmark.ai/mcp/site/seats_aero" }` under the name `bowmark-seats-aero` in the client's MCP config. Per-client steps: https://bowmark.ai/docs/installation.md
- Sign-in: OAuth in the browser on first use; the person only signs in. A client that cannot do OAuth sends `Authorization: Bearer <BOWMARK_API_KEY>`; the person creates a key at https://bowmark.ai/dashboard/keys.
- Then list the server's tools to confirm it works, and tell the person it is ready.

## Functions

### Read

- `getRouteAvailability`: Reads one route's award calendar on seats.aero for one program: every date in the next 60 days with miles, taxes, airlines, nonstop flag and seats…
- `searchAwardSpace`: Searches seats.aero's cached award-seat availability for one program (united, aeroplan, alaska, american, flyingblue and ~30 more) from an origin…

## Call one

In a Bowmark script, each function is `bowmark.providers.seats_aero.<name>`. Ask `get_library` for seats.aero to get each one's arguments, then call it with `run`.

```js
// 1. What can I call on seats.aero, and with which arguments?
get_library({ query: "seats.aero" })

// 2. Call it in a script
const result = await bowmark.providers.seats_aero.getRouteAvailability({ /* arguments from get_library */ });
return result;
```

New to Bowmark? Quickstart: https://bowmark.ai/docs/quickstart.md
