seats-aero-mcp
# seats-aero-mcp
An [MCP (Model Context Protocol)](https://modelcontextprotocol.io) server for the [seats.aero](https://seats.aero) Partner API. Lets AI assistants like Claude search for award flight availability in real time.
> **Requires a seats.aero Pro subscription** to get an API key.
## Tools
| Tool | Description |
|------|-------------|
| `search_availability` | Search cached award availability between airports across all cabins and programs |
| `bulk_availability` | Get all cached availability for a specific mileage program |
| `get_trips` | Get detailed flight segments for a specific availability result |
| `get_routes` | List all routes tracked by seats.aero for a given mileage program |
| `live_search` | Real-time search querying the mileage program directly (slower, uses more quota) |
## Setup
### 1. Install dependencies and build
```bash
npm install
npm run build
```
### 2. Configure your API key
Get your API key from your [seats.aero](https://seats.aero) Pro account.
Set it as an environment variable:
```bash
export SEATS_AERO_API_KEY=your_api_key_here
```
Or create a `.env` file (copy from `.env.example`).
### 3. Add to Claude Desktop
Edit `~/Library/Application Support/Claude/claude_desktop_config.json`:
```json
{
"mcpServers": {
"seats-aero": {
"command": "node",
"args": ["/absolute/path/to/seats-aero-mcp/dist/index.js"],
"env": {
"SEATS_AERO_API_KEY": "your_api_key_here"
}
}
}
}
```
Restart Claude Desktop. You should see the seats.aero tools available.
## Usage examples
Once connected, you can ask Claude things like:
- *"Find business class award availability from SFO to Tokyo in June"*
- *"Search for United miles availability from LAX to London next month"*
- *"What routes does Aeroplan track from North America to Europe?"*
- *"Do a live search for ANA first class from JFK to NRT on 2025-08-15 using United miles"*
## Development
```bash
npm run build # compile TypeScript
npm start # run the server
```
## Disclaimer
This project is an independent, unofficial tool and is **not affiliated with, endorsed by, or in any way associated with seats.aero**. All data is retrieved through the seats.aero Partner API using your own credentials.
Use of this software is subject to the [seats.aero Terms of Service](https://seats.aero/terms). You are solely responsible for ensuring your usage complies with their terms, including any restrictions on API usage, rate limits, and permitted use cases.
This software is provided "as is", without warranty of any kind. The author(s) are not liable for any damages, data loss, account suspension, or other consequences arising from the use of this software.
## License
MIT
TDQS
Scored across 5 tools
The three search tools (search_availability, bulk_availability, live_search) share the same domain and could be initially confused, but descriptions draw clear lines: cached vs bulk vs real-time, and airports vs program. get_trips and get_routes are clearly distinct resource lookups.
Three tools follow a verb_noun or verb-first pattern (get_trips, get_routes, search_availability), but bulk_availability and live_search are bare noun phrases with no verb, breaking the pattern. The inconsistency is especially awkward because these two sit right next to the search tools they resemble.
Five tools is lean but each covers a genuinely different access pattern (cached airport search, bulk program pull, live search, trip detail, route discovery). Slightly thin for a data API but nothing is redundant.
The surface covers the core workflow: discover routes, search cached or live availability, and drill into trip/booking detail. The main gap is there's no tool to list valid mileage programs/sources, which both bulk_availability and get_routes require as input, forcing agents to guess identifiers.