
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 分
请在仓库或注册中心条目中声明许可证。