
Southwest
io.github.markswendsen-code由 GitHub 帳號 markswendsen-code 發布v0.1.0更新於 Oct 24, 2026
MCP server for Southwest Airlines - search flights, manage bookings
概覽
讓助理搜尋西南航空航班、比較票價、訂票、更改或取消訂位、辦理登機報到,並查看 Rapid Rewards 帳戶資訊。
- 可以做什麼
- 這個本機 MCP 伺服器透過瀏覽器自動化操作西南航空網站。工具包含 search_flights 與 get_fares,用來查詢各票價艙等的即時價格;get_flight_details 查詢航班狀態;select_flight 與 checkout 完成訂位;book_with_points 以 Rapid Rewards 點數付款。它也透過 get_reservation、change_flight 和 cancel_flight 管理既有行程,支援 check_in 與 get_boarding_pass,可加入 Early Bird Check-In,並讀取 Rapid Rewards 點數、會員等級與 Companion Pass 進度。
- 適用情境
- 適合讓助理查詢西南航空票價與時刻、比較票價艙等,或處理例行行程事務,例如在起飛前 24 小時辦理報到、取得登機證、查看 Rapid Rewards 狀態。也適合在不開啟網站的情況下更改或取消既有訂位。
- 執行需求
- 需要 Node.js 18+,並以 npx playwright install chromium 安裝 Playwright 瀏覽器。以 stdio 在本機執行,僅限桌面端。帳戶相關工具需要 SW_USERNAME 與 SW_PASSWORD,SW_HEADLESS 為選用。登入工作階段儲存在 ~/.config/mcp-southwest/session.json。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Southwest,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
@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
Prerequisites
- Node.js 18+
- Playwright browsers:
npx playwright install chromium
Installation
Setup
Environment Variables
Create a .env file or set these in your environment:
Claude Desktop Configuration
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Or if installed globally:
Available Tools
search_flights
Search for available Southwest flights.
get_flight_details
Get status and details for a specific flight.
select_flight
Select a flight from search results to proceed with booking.
get_fares
Compare fare classes with pricing and benefits.
add_early_bird
Add Early Bird Check-In to an existing booking (~$15–25/person/flight).
checkout
Complete a booking with passenger and payment details.
get_reservation
Look up a booking by confirmation number.
change_flight
Modify an existing booking (no change fees!).
cancel_flight
Cancel a reservation. Use confirm: true to actually cancel.
check_in
Check in online (available 24 hours before departure).
get_boarding_pass
Retrieve boarding pass with group and position number.
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.
Southwest Airlines Fare Classes
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
For development with hot reload:
To see the browser during automation (useful for debugging):
License
MIT © Strider Labs
來源:README.md,提交 9cbed37
工具
0版本歷史
1- v0.1.0最新Sep 16, 2026
評分
已滿足適用檢查項的 40%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。