Sparkflights

io.github.Sparkflights-com由 GitHub 帳號 Sparkflights-com 發布v1.1.2更新於 Nov 7, 2026

Search flight fares by city, month, cabin and price, and watch a route for new deals.

已驗證Streamable HTTP可網頁執行位置與生活網頁搜尋與抓取

概覽

AI 產生的概覽

搜尋 Sparkflights 已收集的機票價格,查看某筆價格的日期與航班,並提供航線訂閱表單連結。

可以做什麼
  • 依城市或機場、出發月份、艙等、地區與最高價格搜尋已收集的機票價格,並依每英里成本排序
  • 查看單筆價格的行程、去程與回程航班,以及其價格頁列出的日期組合與價格
  • 取得某條航線的訂閱表單連結,已預填兩個城市與艙等
適用情境
當使用者想查詢兩地之間、指定月份、艙等或預算的機票優惠,或想了解某筆價格的具體日期與航班,或希望有新價格時收到通知時使用。
執行需求
遠端 streamable HTTP 端點;無需安裝、無需帳號與 API 金鑰。在網站上儲存航線訂閱需要免費的 Sparkflights 帳號。
安裝前請注意
這些工具只讀取資料。結果並非即時票價搜尋:空結果代表目前沒有符合的價格,並不表示沒有航班。訂票在連結的 Sparkflights 價格頁完成;此伺服器不售票也不收款。儲存訂閱需要帳號,新優惠會透過電子郵件或瀏覽器通知發送。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Sparkflights,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Web executable,透過 Streamable HTTP。 遠端服務在工作區中設定後即可從網頁執行環境執行。

交給代理程式安裝

把這段提示詞貼上到 Claude Code、Codex、Cursor 等代理程式,或 SourceWeft 對話中。代理程式會讀取該伺服器的安裝指南,先向你展示發布者、端點和登入方式,經你同意後再把它新增到你的客戶端。金鑰不會寫進任何命令。

閱讀 https://sourceweft.com/mcp/io.github.Sparkflights-com%2Fsparkflights/install.md,並按其中說明把這個 MCP 伺服器接入我的客戶端。修改任何設定之前,先告訴我它的發布者、端點和登入方式,等我確認。不要把 API 金鑰寫進命令或我會提交的檔案;問我金鑰應從哪裡取得。

檢視代理程式所依據的安裝指南

其他 MCP 客戶端

把它新增到你客戶端的 mcpServers 設定中。

{
  "mcpServers": {
    "sparkflights": {
      "type": "http",
      "url": "https://www.sparkflights.com/mcp/search"
    }
  }
}

README

Sparkflights MCP server

Search the flight fares Sparkflights has found, from Claude, ChatGPT, Cursor, VS Code or any other MCP client, and watch a route for new ones.

https://www.sparkflights.com/mcp/search

The server is hosted — nothing to install. Searching needs no account; to save a route watch you sign in with Google, Microsoft or email. It uses streamable HTTP.

[Fare cards shown in Claude]

Tools

search_deals and get_deal only read fares. watch_route saves a watch to your account.

  • search_deals finds fares by origin and destination (an airport code such as JFK, or a city such as New York), departure month, cabin, region and maximum price. Results are ranked by cost per mile.
  • get_deal returns one fare's itinerary, flights and the date pairs its fare page lists, with their prices.
  • watch_route saves a fare watch for the route — every airport of both cities, in the cabin you name. The first time you save one your client signs you in; new deals on the route then come by email and browser notification.

Each fare links to its Sparkflights fare page, where you book it.

Sparkflights is not a live fare search. An empty result means no fare matches right now, not that no flights exist. Sparkflights does not sell tickets or take payments.

Add it to your client

Claude (claude.ai or Claude Desktop): Settings → Connectors → Add custom connector, then paste the URL above.

Claude Code:

sh
claude mcp add --transport http sparkflights https://www.sparkflights.com/mcp/search

Cursor (~/.cursor/mcp.json):

json
{  "mcpServers": {    "sparkflights": {      "url": "https://www.sparkflights.com/mcp/search"    }  }}

VS Code (.vscode/mcp.json):

json
{  "servers": {    "sparkflights": {      "type": "http",      "url": "https://www.sparkflights.com/mcp/search"    }  }}

ChatGPT: turn on developer mode, then add a custom MCP server with the URL above.

Other clients: mcp.json has the standard mcpServers entry.

Try asking

  • Find flight deals from New York to London
  • Are there any business class flight deals from San Francisco?
  • Flights from Chicago in March under $500
  • Any flight deals to Tokyo?
  • Find flight deals from Los Angeles, then show me the dates and flights for the first one
  • Watch Chicago to Lisbon for me

Links

Publishing

server.json is published to the MCP Registry by .github/workflows/publish-mcp.yml when a v* tag is pushed. Bump version in server.json before tagging.

來源:README.md,提交 654ea15

工具

3

get_deal

Get a flight deal

One Sparkflights fare by the numeric id from search_deals: its itinerary, the price text of its fare page, its outbound and return flights, the date pairs its fare page lists with their prices, and its url, route_url and feed_url. A fare that is no longer live returns an error naming its route page.

輸入參數id必填

search_deals

Search flight deals

Search flight fares Sparkflights has already found, ranked by cost per mile against each market's limit. Not a live fare search: an empty result means no current fare matches. Each deal has the price text of its Sparkflights fare page; url, the fare page; route_url, the route page, which lists the route's live fares and price history; and feed_url, the route's JSON feed of new fares. A search naming an origin or destination also returns fares when its deals are fewer than limit: the cheapest current fares for that place, as Google's flight explorer showed them, each with its price, dates, airline, seen_at (when it was seen) and route_url, its route page. A fare has no id or fare page yet.

輸入參數sortcabinlimitoriginlow_costmax_pricedestinationdepart_monthorigin_regioninclude_budgetdestination_region

watch_route

Watch a route

The Sparkflights page that saves a fare watch for a route: url opens the watch form with both cities and the cabin filled in. A watch covers every airport of both cities. Saving it needs a free Sparkflights account.

輸入參數cabinorigin必填destination必填

版本歷史

3
  1. v1.1.2最新Nov 7, 2026
  2. v1.1.1Nov 7, 2026
  3. v1.0.0Oct 29, 2026

評分

已滿足適用檢查項的 100%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通必需25 分
  • 已宣告認證方式必需10 分
  • 已列出工具必需15 分
  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分