
Award Flight Daily
com.awardflightdaily由 awardflightdaily.com 發布官方發布者v1.26.0更新於 Oct 24, 2026
Official airline award MCP. Search 12.3M+ award flights across 48 loyalty programs.
概覽
遠端 MCP 伺服器,用來搜尋與分析各常客計畫的哩程獎勵機票,並提供高 CP 值兌換與信用卡轉點查詢。
- 可以做什麼
- 依出發地、目的地、日期區間、艙等、計畫、僅直飛與哩程上限搜尋獎勵機票,支援分頁
- 列出常客計畫並檢視各計畫的航線數、日期範圍與艙等可用性等統計
- 檢視某條航線的逐日可用性,含哩程、稅費與各計畫座位數
- 找出依最低哩程排序的高 CP 值兌換航線
- 查詢信用卡點數轉航空哩程的合作對象、兌換比例與入帳速度
- 取得紀錄總數、航線數與機場涵蓋等彙總統計
- 適用情境
- 適合在規劃哩程兌換機票時使用:讓助理比較不同計畫的兌換哩程、逐日查看某條航線的機位,或了解信用卡點數可轉入哪些航空計畫。
- 執行需求
- 需要遠端 streamable HTTP 端點;清單未宣告任何套件、環境變數或標頭。README 另述自架方式,需 Python 及 fastmcp、pydantic、duckdb,並以 DUCKDB_PATH 指定 DuckDB 資料庫檔案路徑。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Award Flight Daily,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。
交給代理程式安裝
把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。
閱讀 https://sourceweft.com/mcp/com.awardflightdaily%2Faward-flight-daily/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。其他 MCP 客戶端
把它新增到你客戶端的 mcpServers 設定中。
{
"mcpServers": {
"award-flight-daily": {
"type": "http",
"url": "https://awardflightdaily.com/mcp-server/mcp"
}
}
}README
Award Flight Daily MCP Server
A FastMCP server that wraps the Award Flight Daily database (12.3M award flight records across 25 loyalty programs) and exposes it to AI agents via tools.
Overview
The Award Flight Daily MCP server provides 7 core tools for searching, analyzing, and optimizing award travel:
- afd_search_award_flights - Core search across 12M+ records
- afd_list_programs - All 25 programs with statistics
- afd_get_program_details - Deep dive on a single program
- afd_get_route_availability - Calendar view for a route
- afd_find_sweet_spots - Best-value redemptions
- afd_check_transfer_partners - Credit card transfer ratios
- afd_get_market_stats - Aggregate database statistics
File Structure
Configuration
All environment and program configuration lives in config.py:
- MCP_SERVER_NAME: "awardflightdaily_mcp"
- DUCKDB_PATH: Environment variable, defaults to
/data/award_flights.duckdb - PROGRAMS: Dictionary of 25 programs (slug -> full name)
- CABINS: Cabin class codes (Y/W/J/F)
- BANKS: 7 credit card programs
Installation & Deployment
Requirements
Running
Stdio mode (local):
HTTP mode (remote):
Tools API
1. Search Award Flights
Returns: Paginated flight results with mileage, taxes, seats, airlines, equipment.
2. List Programs
Returns: All 25 programs with:
- Total flights & routes
- Date range
- Cabin availability counts (Y/W/J/F)
3. Program Details
Returns: Deep stats for one program:
- Total availability
- Unique routes & airports
- Average & minimum mileage by cabin
4. Route Availability
Returns: All dates for a route with mileage, taxes, seats per program.
5. Find Sweet Spots
Returns: Best-value routes ranked by minimum mileage cost.
6. Transfer Partners
Returns: Credit card → airline transfer mappings with:
- Transfer ratio (e.g., "1:1")
- Speed (e.g., "Instant", "1-2 days")
7. Market Stats
Returns: Aggregate database stats:
- Total records, programs, routes
- Airport coverage
- Cabin availability breakdown
Input Validation
All inputs use Pydantic with validation:
- IATA codes: Must be exactly 3 alphabetic characters
- Dates: YYYY-MM-DD format only
- Cabin: Enum restricted to Y/W/J/F
- Limit: 1-200 results
- Offset: >= 0
- Min seats: 1-9
Invalid inputs raise ValidationError with detailed messages.
Response Formats
JSON (default)
Full structured response with pagination metadata:
Markdown
Human-readable output with formatting:
Database
All queries are:
- Read-only (DuckDB in read-only mode)
- Parameterized with proper escaping
- Filtered on
expired_at IS NULL(active records only) - Type-safe with CAST(? AS DATE) for dates
Connection is lazy-loaded on first query and reused.
Design Principles
- No monoliths - Each tool in its own module
- Separation of concerns - DB queries, models, tools, responses separate
- Type safety - Pydantic models on all inputs
- Defensive - All parameterized queries, validators on inputs
- Fast - Read-only DuckDB, lazy connection, caching via MCP layer
- Testable - Pure functions, no side effects
Error Handling
- Invalid input: Pydantic
ValidationErrorwith field details - Database error: Returns error message string (no 500s)
- No results: Friendly "No flights found" message
The MCP layer handles serialization of errors to the client.
Future Enhancements
- Price tracking ($/mile value calculation)
- Seat map integration
- Award chart comparison
- Frequent flyer earning rates
- Stopover/layover optimization
- Alert setup via MCP (future: read-write tools)
來源:README.md,提交 22cb27f
工具
0版本歷史
1- v1.26.0最新Sep 16, 2026
評分
已滿足適用檢查項的 75%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通必需25 分
- 已宣告認證方式必需10 分
- 已列出工具必需15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分
請在儲存庫或註冊中心條目中宣告授權條款。