展示HN:旅行黑客工具包 – 使用人工智能进行积分搜索和行程规划
Show HN: Travel Hacking Toolkit – Points search and trip planning with AI

原始链接: https://github.com/borski/travel-hacking-toolkit

## AI驱动的旅行黑客工具包 该工具包利用AI(OpenCode & Claude Code)优化旅行计划,使用积分、里程和奖励航班。它通过搜索25多个奖励计划、比较现金价格和检查忠诚度余额来自动寻找最佳优惠——所有这些都通过简单的AI提示完成,例如“帮我查找飞往东京的商务舱机票”。 该工具包通过引导脚本(`setup.sh`)轻松设置,安装依赖项并配置API密钥。它包含5个可立即使用的免费“MCP服务器”(Skiplagged, Kiwi, Trivago, Ferryhopper, Airbnb),提供实时数据。完全功能需要Seats.aero(奖励航班搜索)和SerpAPI(现金价格)等服务的密钥。 主要功能包括“技能”——markdown文件,教AI如何使用旅行API——以及一个专注于回答“积分 vs. 现金?”的工作流程。该工具包提供航空公司联盟、酒店连锁和积分价值评估数据,以帮助决策。 可在以下网址找到该工具包和说明:[https://github.com/borski/travel-hacking-toolkit](https://github.com/borski/travel-hacking-toolkit)

## 旅行黑客工具包摘要 Borski 创建了一个人工智能驱动的“旅行黑客工具包”(可在 GitHub 上找到:[https://github.com/borski/travel-hacking-toolkit](https://github.com/borski/travel-hacking-toolkit)),旨在简化决定使用积分或现金预订旅行的复杂过程。该工具包利用 Claude Code 和 OpenCode,访问 25 多个里程计划、现金价格比较(Google Flights 等)、忠诚度余额(AwardWallet)、酒店搜索、渡轮航线,甚至通过 6 个 MCP 服务器发现独特的目的地(Atlas Obscura)。 它旨在自动化当前在众多标签页中手动完成的任务,整合诸如转账比例和积分估值等数据。该工具包设置简单——6 个服务器中的 5 个不需要 API 密钥——并利用与各种人工智能平台兼容的纯 Markdown “技能”。 虽然一些评论员质疑积分/里程计划的价值,认为其复杂且收益递减,但创建者强调该工具能够节省大量现金(展示了一张最近的商务舱预订,每人节省 2200 美元),并欢迎贡献以扩展其功能。它定位为面向积极参与旅行黑客活动的人群的解决方案,不一定适用于对这种做法持怀疑态度的人。
相关文章

原文

AI-powered travel hacking with points, miles, and award flights. Drop-in skills and MCP servers for OpenCode and Claude Code.

Ask your AI to find you a 60,000-mile business class flight to Tokyo. It'll search award availability across 25+ programs, compare against cash prices, check your loyalty balances, and tell you the best play.

git clone https://github.com/borski/travel-hacking-toolkit.git
cd travel-hacking-toolkit
./scripts/setup.sh

The setup script walks you through everything: picks your tool (OpenCode, Claude Code, or both), creates your API key config files, installs dependencies, and optionally installs skills system-wide.

The 5 free MCP servers (Skiplagged, Kiwi, Trivago, Ferryhopper, Airbnb) work immediately with zero API keys. For the full experience, add at minimum:

Key Why Free Tier
SEATS_AERO_API_KEY Award flight search. The main event. No (Pro ~$8/mo)
SERPAPI_API_KEY Cash price comparison for "points or cash?" decisions Yes (100 searches/mo)

Then launch your tool:

# OpenCode
opencode

# Claude Code
claude --strict-mcp-config --mcp-config .mcp.json

The --strict-mcp-config flag tells Claude Code to load MCP servers from the config file directly. This is more reliable than auto-discovery (known issue).

MCP Servers (real-time tools)

Server What It Does API Key
Skiplagged Flight search with hidden city fares None (free)
Kiwi.com Flights with virtual interlining (creative cross-airline routing) None (free)
Trivago Hotel metasearch across booking sites None (free)
Ferryhopper Ferry routes across 33 countries, 190+ operators None (free)
Airbnb Search Airbnb listings, property details, pricing. Patched with geocoding fix and property type filter. None (free)
LiteAPI Hotel search with live rates and booking LiteAPI

Skills (API knowledge for your AI)

Skill What It Does API Key
duffel Real-time flight search across airlines via Duffel API Duffel
seats-aero Award flight availability across 25+ mileage programs Seats.aero Pro/Partner
awardwallet Loyalty program balances, elite status, history AwardWallet Business
serpapi Google Flights cash prices, hotels, destination discovery SerpAPI
rapidapi Secondary prices via Google Flights Live + Booking.com RapidAPI
atlas-obscura Hidden gems near any destination None (free)
scandinavia-transit Trains, buses, ferries in Norway/Sweden/Denmark Entur + Trafiklab
wheretocredit Mileage earning rates by airline and booking class across 50+ FF programs None (free)

Skills are markdown files that teach your AI how to call travel APIs. They contain endpoint documentation, curl examples, useful jq filters, and workflow guidance. Both OpenCode and Claude Code support skills natively.

The skills/ directory is the canonical source. The setup script either:

  • Copies them to your tool's global skills directory (~/.config/opencode/skills/ or ~/.claude/skills/)
  • Or creates project-level symlinks so they load when you work from this directory

MCP (Model Context Protocol) servers give your AI real-time tools it can call directly. The configs are in:

  • opencode.json for OpenCode
  • .mcp.json for Claude Code

Skiplagged, Kiwi.com, Trivago, Ferryhopper, and Airbnb need no setup at all. LiteAPI is also a remote server but needs an API key configured in your settings.

The Travel Hacking Workflow

The core question: "Should I burn points or pay cash?"

  1. Search award availability — Seats.aero across 25+ programs
  2. Search cash prices — SerpAPI (Google Flights) or Skiplagged
  3. Estimate portal value — Portal rates are dynamic now. Chase "Points Boost" (June 2025) offers 1.5 to 2.0cpp on select bookings, not a flat rate. Amex/Capital One ~1.0cpp. Check the actual portal for your specific booking.
  4. Compare — Lower number wins
  5. Check balances — AwardWallet confirms you have enough
  6. Book it — Use booking links from Seats.aero or Duffel
"Find me the cheapest business class award from SFO to Tokyo in August"
"Compare points vs cash for a round trip JFK to London next March"
"What are my United miles and Chase UR balances?"
"Find hidden gems near Lisbon"
"How do I get from Oslo to Bergen by train?"
travel-hacking-toolkit/
├── AGENTS.md -> CLAUDE.md          # OpenCode project instructions (symlink)
├── CLAUDE.md                       # Project instructions and workflow guidance
├── opencode.json                   # OpenCode MCP server config
├── .mcp.json                       # Claude Code MCP server config
├── .env.example                    # API key template (OpenCode)
├── .claude/
│   ├── settings.local.json.example # API key template (Claude Code)
│   └── skills -> ../skills         # Symlink to skills
├── .opencode/
│   └── skills -> ../skills         # Symlink to skills
├── data/
│   ├── alliances.json              # Airline alliance membership + booking relationships
│   ├── hotel-chains.json           # Hotel chains, sub-brands, loyalty programs, reverse lookup
│   ├── partner-awards.json         # Which programs book which airlines (alliance + bilateral)
│   ├── points-valuations.json      # Points/miles valuations from 4 sources (floor/ceiling)
│   ├── sweet-spots.json            # High-value award redemptions + booking windows
│   └── transfer-partners.json      # Credit card transfer partners + ratios
├── skills/
│   ├── duffel/SKILL.md             # Real-time flight search
│   ├── seats-aero/SKILL.md         # Award flight search
│   ├── awardwallet/SKILL.md        # Loyalty balances
│   ├── serpapi/SKILL.md            # Cash prices + hotels
│   ├── rapidapi/SKILL.md           # Secondary price source
│   ├── atlas-obscura/              # Hidden gems (+ Node.js scraper)
│   │   ├── SKILL.md
│   │   ├── ao.mjs
│   │   └── package.json
│   └── scandinavia-transit/        # Nordic trains/buses/ferries
│       └── SKILL.md
├── scripts/
│   └── setup.sh                    # Interactive installer
└── LICENSE                         # MIT

Built on these excellent projects:

MIT

联系我们 contact @ memedata.com