Skip to main content
Glama

@striderlabs/mcp-southwest

MCP server for Southwest Airlines — search flights, manage bookings, check in, and manage your Rapid Rewards account via browser automation.

Features

  • Search flights with real-time pricing across all fare classes

  • Compare fares: Wanna Get Away, Wanna Get Away+, Anytime, Business Select

  • Book flights with dollars or Rapid Rewards points

  • Manage reservations: change, cancel, get details

  • No change fees — Southwest never charges them

  • Check in online (opens exactly 24 hours before departure)

  • Get boarding passes with group/position (A/B/C)

  • Early Bird Check-In — auto check-in 36 hours before departure

  • Rapid Rewards — check points balance, tier status, Companion Pass progress

Related MCP server: @striderlabs/mcp-alaska

Prerequisites

Installation

npm install -g @striderlabs/mcp-southwest
# or
npx @striderlabs/mcp-southwest

Setup

Environment Variables

Create a .env file or set these in your environment:

# Required for account-based tools (check-in, Rapid Rewards, points booking)
SW_USERNAME=your_rapid_rewards_number_or_email
SW_PASSWORD=your_password

# Optional
SW_HEADLESS=true   # Set to "false" to see the browser (useful for debugging)

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "southwest": {
      "command": "npx",
      "args": ["@striderlabs/mcp-southwest"],
      "env": {
        "SW_USERNAME": "your_rapid_rewards_number",
        "SW_PASSWORD": "your_password"
      }
    }
  }
}

Or if installed globally:

{
  "mcpServers": {
    "southwest": {
      "command": "mcp-southwest",
      "env": {
        "SW_USERNAME": "your_rapid_rewards_number",
        "SW_PASSWORD": "your_password"
      }
    }
  }
}

Available Tools

search_flights

Search for available Southwest flights.

{
  "originAirport": "DAL",
  "destinationAirport": "LAX",
  "departureDate": "2024-06-15",
  "passengers": 2,
  "tripType": "oneway",
  "fareType": "USD"
}

get_flight_details

Get status and details for a specific flight.

{
  "flightNumber": "WN1234",
  "flightDate": "2024-06-15",
  "originAirport": "DAL",
  "destinationAirport": "LAX"
}

select_flight

Select a flight from search results to proceed with booking.

{
  "flightIndex": 0,
  "fareType": "wanna-get-away"
}

get_fares

Compare fare classes with pricing and benefits.

{
  "originAirport": "HOU",
  "destinationAirport": "MCO",
  "departureDate": "2024-07-04",
  "fareType": "USD"
}

add_early_bird

Add Early Bird Check-In to an existing booking (~$15–25/person/flight).

{
  "confirmationNumber": "ABC123",
  "firstName": "Jane",
  "lastName": "Smith"
}

checkout

Complete a booking with passenger and payment details.

{
  "firstName": "Jane",
  "lastName": "Smith",
  "dateOfBirth": "01/15/1990",
  "gender": "F",
  "email": "jane@example.com",
  "phone": "5551234567",
  "cardNumber": "4111111111111111",
  "cardExpiration": "12/26",
  "cardCvv": "123",
  "cardZip": "75201",
  "cardName": "Jane Smith",
  "addEarlyBird": false
}

get_reservation

Look up a booking by confirmation number.

{
  "confirmationNumber": "ABC123",
  "firstName": "Jane",
  "lastName": "Smith"
}

change_flight

Modify an existing booking (no change fees!).

{
  "confirmationNumber": "ABC123",
  "firstName": "Jane",
  "lastName": "Smith",
  "newDepartureDate": "2024-06-20"
}

cancel_flight

Cancel a reservation. Use confirm: true to actually cancel.

{
  "confirmationNumber": "ABC123",
  "firstName": "Jane",
  "lastName": "Smith",
  "confirm": true
}

check_in

Check in online (available 24 hours before departure).

{
  "confirmationNumber": "ABC123",
  "firstName": "Jane",
  "lastName": "Smith"
}

get_boarding_pass

Retrieve boarding pass with group and position number.

{
  "confirmationNumber": "ABC123",
  "firstName": "Jane",
  "lastName": "Smith",
  "savePath": "~/boarding-pass.pdf"
}

get_rapid_rewards

Check Rapid Rewards points, tier status, and Companion Pass progress.

{}

(Uses SW_USERNAME/SW_PASSWORD env vars)

book_with_points

Search for flights and book using Rapid Rewards points.

{
  "originAirport": "DAL",
  "destinationAirport": "DEN",
  "departureDate": "2024-08-10",
  "passengers": 1
}

Southwest Airlines Fare Classes

Fare

Refundable

Points Multiplier

Boarding

Wanna Get Away

Travel funds

6x base

Standard

Wanna Get Away+

Transferable funds

8x base

Standard

Anytime

Full refund

10x base

Priority (A1–A15)

Business Select

Full refund

12x base

Guaranteed A1–A15

Southwest Boarding System

Southwest uses open seating — no assigned seats. Passengers board in groups:

  • Group A (A1–A60): Early Bird / Business Select / Anytime priority

  • Group B (B1–B60): General boarding

  • Group C (C1–C60): Last to board

Check-in order determines boarding position. Check in exactly at the 24-hour mark for the best position.

Session Persistence

Login sessions are saved to ~/.config/mcp-southwest/session.json to avoid re-authenticating on every run.

Development

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

For development with hot reload:

npm run dev

To see the browser during automation (useful for debugging):

SW_HEADLESS=false npm run dev

License

MIT © Strider Labs

Available Tools

13 tools
add_early_birdA

Add Early Bird Check-In to an existing reservation. Southwest automatically checks you in 36 hours before departure for a better boarding position (~$15-25 per person per flight).

Inputs: confirmationNumber (required), firstName (required), lastName (required).

book_with_pointsB

Search for flights and book using Rapid Rewards points. Shows points pricing for all fare classes. Requires logged-in account.

Inputs: originAirport (required), destinationAirport (required), departureDate (required), returnDate, +4 more.

cancel_flightA

Cancel a Southwest reservation. Wanna Get Away fares receive travel funds (valid 12 months). Anytime/Business Select fares are fully refundable.

Inputs: confirmationNumber (required), firstName (required), lastName (required), confirm.

change_flightC

Modify an existing Southwest booking. Southwest never charges change fees — you only pay/receive credit for fare differences.

Inputs: confirmationNumber (required), firstName (required), lastName (required), newDepartureDate, +3 more.

check_inA

Check in online for a Southwest flight. Check-in opens exactly 24 hours before departure. Returns boarding group (A/B/C) and position number.

Inputs: confirmationNumber (required), firstName (required), lastName (required).

checkoutA

Complete a flight booking by entering passenger information and payment details. Use after selecting a flight with select_flight.

Inputs: firstName (required), lastName (required), dateOfBirth (required), gender (required), +9 more.

get_boarding_passA

Retrieve boarding pass with boarding group and position (e.g. A32, B15). Optionally saves as PDF. Must be checked in first.

Inputs: confirmationNumber (required), firstName (required), lastName (required), savePath.

get_faresC

Compare all Southwest fare classes (Wanna Get Away, Wanna Get Away+, Anytime, Business Select) with prices and benefits for a route.

Inputs: originAirport (required), destinationAirport (required), departureDate (required), passengers, +1 more.

get_flight_detailsA

Get detailed information about a specific Southwest flight including status, stops, duration, gate, and aircraft type.

Inputs: flightNumber (required), flightDate (required), originAirport (required), destinationAirport (required).

get_rapid_rewardsC

Check Rapid Rewards account balance, tier status (A-List, A-List Preferred), and Companion Pass progress.

Inputs: username, password.

get_reservationA

Look up an existing Southwest reservation by confirmation number and passenger name. Returns flight details, fare type, and booking status.

Inputs: confirmationNumber (required), firstName (required), lastName (required).

search_flightsB

Search for available Southwest Airlines flights between two airports. Returns flights with fare options (Wanna Get Away, Anytime, Business Select) and pricing.

Inputs: originAirport (required), destinationAirport (required), departureDate (required), returnDate, +3 more.

select_flightA

Select a flight from search results with a specific fare type. Use after search_flights to proceed with booking.

Inputs: flightIndex (required), fareType (required), isReturn.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    TDQS

    A3.8/5.0

    Scored across 13 tools

    Disambiguation5/5

    Each tool has a clearly distinct purpose targeting specific actions in the Southwest Airlines booking and management workflow, with no overlap or ambiguity. For example, search_flights, select_flight, and checkout form a sequential booking process, while tools like get_boarding_pass and check_in serve distinct post-booking functions.

    Naming Consistency5/5

    All tool names follow a consistent verb_noun pattern using snake_case, such as search_flights, get_reservation, and cancel_flight. This uniformity makes the tool set predictable and easy to navigate for an agent, with no deviations in naming conventions.

    Tool Count5/5

    With 13 tools, the server is well-scoped for its domain of Southwest Airlines flight operations, covering booking, modification, check-in, and account management. Each tool serves a specific, necessary function without redundancy, making the count appropriate for the comprehensive workflow.

    Completeness5/5

    The tool set provides complete coverage of the Southwest Airlines domain, including search, booking, payment, reservation management, check-in, boarding, cancellations, changes, and account features like points and rewards. There are no obvious gaps, ensuring agents can handle end-to-end scenarios without dead ends.

    Related MCP Connectors

    Related MCP Servers