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 分