Command Palette

Search for a command to run...

UnylyUnyly
Browse all

@Striderlabs/ American

FreeNot checked

Enables AI agents to search flights, manage bookings, check in, retrieve boarding passes, and access AAdvantage rewards on American Airlines' website via Playwr

GitHubEmbed

About

Enables AI agents to search flights, manage bookings, check in, retrieve boarding passes, and access AAdvantage rewards on American Airlines' website via Playwright browser automation.

README

MCP server for American Airlines — let AI agents search flights, manage bookings, check in, retrieve boarding passes, and access AAdvantage rewards on aa.com via Playwright browser automation.

Built by Strider Labs.

Features

  • Flight Search — Search AA flights by origin, destination, dates, and cabin class
  • Flight Details — Get connection info, aircraft type, baggage policy, and fare rules
  • Flight Selection — Select outbound and return flights into a booking session
  • Seat Maps — View available seats including Main Cabin Extra, Preferred, and First Class
  • Seat Selection — Choose specific seats by seat number
  • Baggage — Add checked bags to a booking
  • Checkout — Complete bookings with a confirmation gate
  • Reservations — Look up existing reservations by record locator
  • Modify Trips — Initiate flight changes on existing bookings
  • Cancellations — Cancel reservations with a confirmation gate
  • Check-In — Online check-in starting 24 hours before departure
  • Boarding Passes — Retrieve digital boarding passes after check-in
  • AAdvantage — Check miles balance, elite status, and earning milestones
  • Upgrades — Request upgrades using miles, systemwide certificates, or elite status

Installation

npm install -g @striderlabs/mcp-american
npx playwright install chromium

Or run directly with npx:

npx @striderlabs/mcp-american

Claude Desktop Setup

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "american": {
      "command": "npx",
      "args": ["-y", "@striderlabs/mcp-american"]
    }
  }
}

Config file locations:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Authentication

This server uses browser automation and stores session cookies locally. To authenticate:

  1. Call the login tool — it opens aa.com in a browser window
  2. Log in manually with your AAdvantage credentials
  3. Call status to verify and save the session

Sessions are saved to ~/.striderlabs/american/ and reused across invocations. You typically only need to log in once until the session expires.

Tools

Tool Description
status Check login status and session info
login Open aa.com for manual login
logout Clear saved session and cookies
search_flights Search AA flights by route, date, cabin
get_flight_details Get detailed info on a search result
select_flight Choose outbound/return flight for booking
get_seat_map View available seats and fees
select_seats Choose seats by seat number
add_bags Add checked baggage
checkout Complete booking (requires confirm: true)
get_reservation Look up reservation by record locator
modify_trip Change flights on existing reservation
cancel_trip Cancel reservation (requires confirm: true)
check_in Online check-in (opens 24h before departure)
get_boarding_pass Retrieve digital boarding passes
get_aadvantage Check miles, elite status, milestones
upgrade_request Request upgrade using miles or elite status

Example Workflow

User: Search for flights from DFW to JFK next Friday

Agent:
1. search_flights { origin: "DFW", destination: "JFK", departureDate: "2025-07-11" }
2. get_flight_details { flightId: "0" }
3. select_flight { outboundFlightId: "0" }
4. get_seat_map {}
5. select_seats { seats: ["14A"] }
6. add_bags { bags: 1 }
7. checkout {}  → preview
8. checkout { confirm: true }  → booking confirmed

Safety Gates

Destructive or financial actions require explicit confirmation:

  • checkout — pass confirm: true only after user confirms the purchase
  • cancel_trip — pass confirm: true only after user confirms the cancellation

Without confirm: true, these tools return a preview instead of taking action.

Environment Variables

Optional — credentials can be provided via environment variables for automated workflows:

Variable Description
AA_USERNAME AAdvantage number or email
AA_PASSWORD Account password

When set, the server will attempt auto-login on first use.

Session Storage

Cookies and session info are stored at:

~/.striderlabs/american/
├── cookies.json    # Browser session cookies
└── session.json    # Account info cache

To reset authentication: call logout or delete this directory.

Development

git clone https://github.com/markswendsen-code/mcp-american
cd mcp-american
npm install
npx playwright install chromium
npm run build
npm start

License

MIT — Strider Labs

from github.com/markswendsen-code/mcp-american

Installing @Striderlabs/ American

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/markswendsen-code/mcp-american

FAQ

Is @Striderlabs/ American MCP free?

Yes, @Striderlabs/ American MCP is free — one-click install via Unyly at no cost.

Does @Striderlabs/ American need an API key?

No, @Striderlabs/ American runs without API keys or environment variables.

Is @Striderlabs/ American hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install @Striderlabs/ American in Claude Desktop, Claude Code or Cursor?

Open @Striderlabs/ American on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Playwright

Browser automation, scraping, screenshots

Microsoftby Microsoft

Puppeteer

Browser automation and web scraping.

modelcontextprotocolby modelcontextprotocol

opentabs-dev/opentabs

Plugin-based MCP server + Chrome extension that gives AI agents access to web applications through the user's authenticated browser session. 100+ plugins with a

opentabs-devby opentabs-dev

robhunter/agentdeals

1,500+ developer infrastructure deals, free tiers, and startup programs across 54 categories. Search deals, compare vendors, plan stacks, and track pricing chan

robhunterby robhunter

hlydecker/ucsc-genome-mcp

MCP server to interact with the UCSC Genome Browser API, letting you find genomes, chromosomes, and more.

hlydeckerby hlydecker

34892002/bilibili-mcp-js

A MCP server that supports searching for Bilibili content. Provides LangChain integration examples and test scripts.

34892002by 34892002

achiya-automation/safari-mcp

Native Safari browser automation for AI agents with 80+ tools. No Chrome dependency, optimized for Apple Silicon with 60% less CPU overhead.

achiya-automationby achiya-automation

agent-infra/mcp-server-browser

Browser automation capabilities using Puppeteer, both support local and remote browser connection.

bytedanceby bytedance

aparajithn/agent-scraper-mcp

Web scraping MCP server for AI agents. 6 tools: clean content extraction, structured scraping with CSS selectors, full-page screenshots via Playwright, link ext

aparajithnby aparajithn

apireno/DOMShell

Browse the web using filesystem commands (ls, cd, grep, click). 38 MCP tools map Chrome's Accessibility Tree to a virtual filesystem via a Chrome Extension.

apirenoby apireno

Compare @Striderlabs/ American with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All browse MCPs