Repository avatar
Other Tools
v0.2.0
active

bigflightdeals-mcp

io.github.carsonroell-debug/bigflightdeals-mcp

Cheap Fri-Sun weekend flights from Toronto, Montreal, Vancouver. Cached CAD fares, read-only.

Documentation

BigFlightDeals MCP: cheap weekend flights for Claude

"What's the cheapest weekend trip from Toronto in December?"

Winnipeg (YWG): C$180, Fri 2026-12-11 → Sun 2026-12-13, nonstop outbound (F8). [Check this fare] Prices are cached observations from BigFlightDeals, not live fares. BigFlightDeals may earn a commission from qualifying bookings.

That's a real answer from the live feed on 2026-11-26, produced by node demo.mjs.

Ask Claude for a weekend getaway from Toronto, Montreal or Vancouver and get real cached fares in CAD, with weekdays, dates, stops and a booking link. It never makes up a price.

  • No API key, no account, read-only. It reads the public BigFlightDeals feed (refreshed daily) and can't book, pay or change anything.
  • Built for weekends. It understands Fri→Sun, Saturday-Sunday, "one day off" and long weekends. It counts weekdays for you, so Claude doesn't get Friday wrong.
  • Ships its own know-how. Five Agent Skills served over MCP (SEP-2640) teach Claude how to answer: cheapest weekend in a month, best nonstop, under a budget, compare cities. The same skills appear as slash commands in hosts that support MCP prompts.
  • Honest by construction. It drops stale fares, fails closed on suspicious links, says when it's using a fallback snapshot, and puts the cached-price warning and affiliate disclosure on every answer.

Install

Needs Node.js 20+.

git clone https://github.com/carsonroell-debug/bigflightdeals-mcp.git
cd bigflightdeals-mcp && npm install

Claude Code

claude mcp add bigflightdeals -- node /absolute/path/to/bigflightdeals-mcp/server.mjs

Then ask: "cheapest weekend trip from Toronto in December", or run the prompt /mcp__bigflightdeals__cheapest-weekend.

Claude Desktop

Settings → Developer → Edit Config, then add to claude_desktop_config.json:

{
  "mcpServers": {
    "bigflightdeals": {
      "command": "node",
      "args": ["/absolute/path/to/bigflightdeals-mcp/server.mjs"]
    }
  }
}

On Windows use a path like "C:\\Users\\you\\bigflightdeals-mcp\\server.mjs". Restart Claude Desktop. The prompts appear under the + menu.

Try it

Say to ClaudeWhat happens
"Cheapest weekend trip from Toronto in December"One best Fri→Sun fare plus up to four other destinations
"Best nonstop weekend out of Montreal"Cheapest fares with a nonstop outbound flight
"Where can I go from Vancouver for under $250?"Every destination under the cap, one line each
"Is it cheaper to fly out of Toronto or Montreal this weekend?"Side-by-side table across origins
"Can I fly to Halifax from Toronto?"Checks the covered routes; says so honestly if not

Or see it end to end without Claude: npm run demo (optional args: node demo.mjs YUL 2027-01).

What's inside

Tools (both read-only):

ToolDoes
search_flight_dealsFilter by origin, destination, month or date window, nights, weekend shape (time_off), nonstop outbound, max CAD price, one-per-destination. Cheapest first. Each deal has weekdays, nights, stops, link and a one-line summary.
list_deal_routesWhich routes currently have fresh fares: destination names and codes, fare count, cheapest price and departure months. Resolves "Halifax" to YHZ.

Skills (skills/list, skills/get, and resources/read at skill://<name>/SKILL.md): find-cheap-weekend-flights (router), cheapest-weekend-this-month, best-nonstop-weekend, weekend-under-budget, compare-weekend-origins.

Prompts: cheapest-weekend, nonstop-weekend, weekend-under-budget, compare-origins, weekend-trip. Each one embeds its skill, so it works in hosts that don't speak the skills extension yet.

Honesty and freshness

  • Fares are cached observations, not live prices. Every result says so; confirm on the booking page.
  • Freshness is checked twice. The feed's last_seen must be within max_age_hours (default 72). So must the Aviasales URL's search_date; that date has no documented time or timezone, so the check uses its earliest possible start. Missing or future dates are excluded. Passing both checks still doesn't prove a fare is available.
  • Nonstop means outbound only. The feed records stops on the outbound flight only, and the skills say so.
  • If the live feed can't be fetched, the server uses a pinned snapshot in feed/deals.json and says so in the response (source, feed_notice). The snapshot ages out under the 72-hour window.
  • Affiliate disclosure. Booking links go through Travelpayouts (marker 605276), and BigFlightDeals may earn a commission from qualifying bookings. Every result carries this disclosure.
  • Operators can point at a local feed with BFD_FEED_PATH=/abs/path/deals.json. Callers can't supply a URL.

Develop

npm test

That runs the unit tests (search, feed, routes), the skills and prompts tests over stdio, and the stdio smoke test. npm run demo runs a live end-to-end query.

About the skills extension: the TypeScript MCP SDK (1.29.0) has no skills support yet, so skills.mjs implements SEP-2640 on the SDK's generic request handlers. Entries carry frontmatter and resources with sha256 digests and sizes, the server declares capabilities.extensions["io.modelcontextprotocol/skills"], and unknown skills return -32602. The optional resources/directory/read is not implemented (directoryRead is not declared).

upstream/ holds copies of the BigFlightDeals site's time-off matcher and link validator, pinned to site commit 468644e, so the server matches the site's behaviour exactly.

MIT licensed.