PirateFly Flight Deals

Giá chuyến bay này hiện có tốt không? Đánh giá giá vé và ưu đãi chuyến bay giá rẻ từ 90 ngày theo dõi giá trên hơn 500 tuyến đường. Máy chủ từ xa, không cần khóa API.

Máy chủ MCP được lưu trữ

npx add-mcp 'https://piratefly.com/mcp'

Cài vào Claude Code, Codex, Cursor và nhiều công cụ khác

Tài liệu

piratefly-mcp

Is this flight price good right now? An MCP server that answers buy or wait for a route, from 90 days of observed fares — not from today's snapshot.

Powered by Piratefly, which records flight prices every day and keeps the history. No API key, no account, no ticket selling.

Install

The server is live over MCP Streamable HTTP — no install, no API key:

claude mcp add --transport http piratefly https://piratefly.com/mcp

Any MCP client with remote HTTP support: point it at https://piratefly.com/mcp.

The stdio bridge in bin/ exists for clients that only speak stdio, and runs the same endpoint:

node bin/piratefly-mcp.mjs

Prefer the remote endpoint: it needs nothing installed.

Tools

ToolAnswers
flight_price_verdictBuy now or wait? Verdict, percentile of today's cheapest fare against its own history, median, all-time low, sample size.
cheapest_monthsWhich departure months are cheapest for this route, by observed median price.
when_to_bookHow many days before departure this route has historically been cheapest.

Each takes origin and destination — city name or IATA code ("Milan", "MXP").

Ask your assistant: "Is €480 a good price for Milan to Tokyo in March?"

Want to see the data first? Every watched route has a public price-history page, e.g. Paris → Milan or London → Barcelona. The full daily dataset is open: flight-fare-history.

What it is not

Not a flight search engine, and it does not sell anything. It judges a price against the history of that route, and answers only for routes Piratefly actually watches.

How it works

The package is a ~50-line, zero-dependency stdio bridge: it forwards JSON-RPC messages to the hosted server at https://piratefly.com/mcp. Override with PIRATEFLY_MCP_URL.

MIT licensed. Data: Piratefly flight price history — https://piratefly.com/?src=github-mcp