Award Flight Daily MCP Server

Award Flight Daily MCP Server

award-flight-daily-mcp•byecriswell7

A FastMCP server that exposes an award flight database of 12.3M records across 25 loyalty programs to AI agents through seven tools.

License: Not specified•Runtime: Awaiting documentation review•Category: search web

WHAT IT DOES

  • •Provides award flight search across the database with filters for origin, destination, dates, cabin, program, direct-only, maximum miles, minimum seats and pagination.
  • •Lists all 25 loyalty programs with statistics and provides deep statistics for a single program.
  • •Returns a calendar view of all dates for a given route with mileage, taxes and seats per program.
  • •Finds best-value sweet spot redemptions and shows credit card to airline transfer partner ratios and transfer speed.

BEST FOR

  • •AI agents that need to search award flight availability and pricing across multiple loyalty programs.
  • •Users planning award travel who want to find best-value routes and check credit card transfer options.

ABOUT AWARD-FLIGHT-DAILY-MCP

Award Flight Daily MCP Server is cataloged as an MCP server attributed to ecriswell7. A FastMCP server that exposes an award flight database of 12.3M records across 25 loyalty programs to AI agents through seven tools. It is categorized under search web. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Award Flight Daily MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

How many loyalty programs and records does the database cover?

The database contains 12.3M award flight records across 25 loyalty programs.

What response formats does the server support?

Tools can return either structured JSON with pagination metadata or human-readable Markdown.

How can the server be run?

It supports stdio mode for local use and HTTP mode for remote use.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 22cb27ff863b · 采集于 2026-11-13 13:29:44 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

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:

  1. afd_search_award_flights - Core search across 12M+ records
  2. afd_list_programs - All 25 programs with statistics
  3. afd_get_program_details - Deep dive on a single program
  4. afd_get_route_availability - Calendar view for a route
  5. afd_find_sweet_spots - Best-value redemptions
  6. afd_check_transfer_partners - Credit card transfer ratios
  7. afd_get_market_stats - Aggregate database statistics

File Structure

mcp_server/
├── __init__.py                 # Package definition
├── config.py                   # Constants: programs, cabins, banks
├── server.py                   # FastMCP server entry point (7 tools registered)
├── db/
│   ├── __init__.py
│   └── queries.py             # DuckDB queries (read-only, parameterized)
├── models/
│   ├── __init__.py
│   ├── inputs.py              # 8 Pydantic input models with validators
│   └── responses.py           # Formatting helpers (JSON/Markdown)
└── tools/
    ├── __init__.py
    ├── search.py              # afd_search_award_flights
    ├── programs.py            # afd_list_programs, afd_get_program_details
    ├── routes.py              # afd_get_route_availability
    ├── sweet_spots.py         # afd_find_sweet_spots
    ├── transfers.py           # afd_check_transfer_partners
    └── analytics.py           # afd_get_market_stats

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

fastmcp>=1.0.0
pydantic>=2.0
duckdb==1.1.3

Running

Stdio mode (local):

python -m mcp_server.server

HTTP mode (remote):

python -m mcp_server.server --http 8001

Tools API

1. Search Award Flights

SearchInput(
    origin="JFK",                      # Required: IATA code(s)
    destination="NRT",                 # Required: IATA code(s)
    date_from="2026-06-01",           # Required: YYYY-MM-DD
    date_to="2026-06-30",             # Required: YYYY-MM-DD
    cabin=CabinClass.BUSINESS,        # Optional: Y/W/J/F (default J)
    source="united,aeroplan",         # Optional: program filter
    direct_only=False,                # Optional: nonstop only
    max_miles=100000,                 # Optional: mileage cap
    min_seats=1,                      # Optional: min seats (default 1)
    limit=50,                         # Optional: results limit (default 50, max 200)
    offset=0,                         # Optional: pagination offset
    response_format=ResponseFormat.JSON # Optional: JSON or Markdown
)

Returns: Paginated flight results with mileage, taxes, seats, airlines, equipment.

2. List Programs

ListProgramsInput(
    response_format=ResponseFormat.JSON
)

Returns: All 25 programs with:

  • Total flights & routes
  • Date range
  • Cabin availability counts (Y/W/J/F)

3. Program Details

ProgramDetailInput(
    program="united",  # Required: program slug
    response_format=ResponseFormat.JSON
)

Returns: Deep stats for one program:

  • Total availability
  • Unique routes & airports
  • Average & minimum mileage by cabin

4. Route Availability

RouteInput(
    origin="JFK",
    destination="NRT",
    cabin=CabinClass.BUSINESS,
    source=None,  # Optional: filter by program
    response_format=ResponseFormat.JSON
)

Returns: All dates for a route with mileage, taxes, seats per program.

5. Find Sweet Spots

SweetSpotInput(
    cabin=CabinClass.BUSINESS,
    origin=None,  # Optional
    destination=None,  # Optional
    limit=25,
    response_format=ResponseFormat.JSON
)

Returns: Best-value routes ranked by minimum mileage cost.

6. Transfer Partners

TransferInput(
    bank="chase",      # Optional: bank slug
    program="united",  # Optional: program slug
    response_format=ResponseFormat.JSON
)

Returns: Credit card → airline transfer mappings with:

  • Transfer ratio (e.g., "1:1")
  • Speed (e.g., "Instant", "1-2 days")

7. Market Stats

MarketStatsInput(
    response_format=ResponseFormat.JSON
)

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:

{
  "total": 1234,
  "count": 50,
  "offset": 0,
  "has_more": true,
  "cabin": "J",
  "results": [
    {
      "id": "...",
      "source": "united",
      "origin": "JFK",
      "destination": "NRT",
      "date": "2026-06-15",
      "mileage": 75000,
      "taxes": 11.20,
      "seats": 2,
      "direct": true,
      "airlines": "United",
      "equipment": "B787",
      "updated_at": "2026-03-26T12:34:56"
    }
  ]
}

Markdown

Human-readable output with formatting:

# Award Flight Search Results

**1234 flights found** | Cabin: Business | Showing 50

## JFK → NRT | 2026-06-15

- **75,000 miles** + $11.20 taxes | united
- Nonstop | 2 seats | United B787

...

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

  1. No monoliths - Each tool in its own module
  2. Separation of concerns - DB queries, models, tools, responses separate
  3. Type safety - Pydantic models on all inputs
  4. Defensive - All parameterized queries, validators on inputs
  5. Fast - Read-only DuckDB, lazy connection, caching via MCP layer
  6. Testable - Pure functions, no side effects

Error Handling

  • Invalid input: Pydantic ValidationError with 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)

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Award Flight Daily MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/award-flight-daily-mcp)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related search web MCP Servers

Alternative and complementary servers in the same category

View all in search web →

An MCP server that merges Google Search Console history with a live first-party crawl of your site to produce a prioritised, evidence-backed technical SEO audit inside Claude, complete with paste-ready fixes.

Repository stats unavailable
Search & Web Research

An MCP server that offers intelligent web search using OpenAI reasoning models, with support for fast iterations and deep research.

94
Search & Web Research