# Airline shopping portals API and MCP server for AI agents (/sites/airline_portals)

An API for Airline shopping portals: let Claude, ChatGPT or your own code read Airline shopping portals through 3 functions, over MCP, HTTP, Node or Python. No Airline shopping portals API key needed.

- Site: https://shopping.mileageplus.com
- Functions: 3
- 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.

- Airline shopping portals only, one tool per function: `https://api.bowmark.ai/mcp/site/airline_portals` (name it `bowmark-airline-portals`)
- 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-airline-portals https://api.bowmark.ai/mcp/site/airline_portals`
- Codex: `codex mcp add bowmark-airline-portals --url https://api.bowmark.ai/mcp/site/airline_portals`
- Cursor, VS Code and other clients: add `{ "url": "https://api.bowmark.ai/mcp/site/airline_portals" }` under the name `bowmark-airline-portals` 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

- `getStoreRate`: Reads one store's rate on an airline shopping portal: headline miles/points per dollar, any boosted rate and its normal rate, per-category rates…
- `listBonusOffers`: Lists the stores an airline shopping portal is paying a boosted (elevated) rate at right now, with the boosted and normal rates.
- `searchStores`: Searches one airline shopping portal's stores (United MileagePlus, Delta SkyMiles, Southwest Rapid Rewards, Alaska/Atmos) by name and returns each…

## Call one

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

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

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

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