PirateFly Flight Deals
這班機票現在價格划算嗎?根據500多條航線90天觀察票價,提供票價判定與便宜航班優惠。遠端伺服器,無需API金鑰。
託管 MCP 伺服器
npx add-mcp 'https://piratefly.com/mcp'可安裝到 Claude Code、Codex、Cursor 等客戶端
文件
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
| Tool | Answers |
|---|---|
flight_price_verdict | Buy now or wait? Verdict, percentile of today's cheapest fare against its own history, median, all-time low, sample size. |
cheapest_months | Which departure months are cheapest for this route, by observed median price. |
when_to_book | How 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