Leave Hacker

app.leavehacker由 leavehacker.app 發布官方發布者v1.1.0更新於 Nov 5, 2026

Which days of annual leave to book around bank holidays for the most days off, and cheap flights.

已驗證Streamable HTTP可網頁執行位置與生活效率與工作流

概覽

AI 產生的概覽

遠端 MCP 伺服器,幫助理算出國定假日前後該請哪幾天特休、規劃整年休假,並尋找適合假期的便宜機票。

可以做什麼
  • 查詢某地區某年或某日期區間的銀行假日與國定假日,含星期與補假日
  • 找出每個假期或假期組合前後該請的假,依最划算排序,並依特休額度規劃整年休假
  • 查詢英國學校假期與地方議會公布的學期日期,含期中假與教師進修日
  • 尋找從某出發機場出發、符合某段假期的來回機票
  • 草擬向主管申請該段假期休假的簡短訊息
適用情境
適合有人問復活節、聖誕或銀行假日前後該請哪幾天假、想依特休額度規劃整年休假、需要學校學期日期,或想找符合假期的便宜機票時使用。主要面向英國、愛爾蘭、澳洲與美國使用者,其他國家則透過國定假日資料來源涵蓋。
執行需求
需連線 leavehacker.app 的遠端 streamable HTTP 端點;未宣告任何套件、API 金鑰或環境變數。助理需提供地區代碼、日期、數字、機場代碼,可選地方議會或郵遞區號前半段。
安裝前請注意
機票價格為快取票價,可能變動;標示為 sample 的結果僅為範例價格,訂票連結為聯盟連結,Leave Hacker 可能獲得佣金。未指定地方議會時的學校日期為典型日期而非官方日期,學院制、教會與私立學校可自行訂定。伺服器要求不要傳送姓名、雇主、學校名稱、完整地址與行事曆資訊,並稱不儲存任何資料。

安裝

在 SourceWeft 中

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

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

交給代理程式安裝

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

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

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

其他 MCP 客戶端

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

{
  "mcpServers": {
    "leave-hacker": {
      "type": "http",
      "url": "https://leavehacker.app/mcp"
    }
  }
}

工具

6

get_bank_holidays

Bank holidays

List the bank holidays (UK, from gov.uk) or public holidays (other countries, from Nager.Date) for a region in a year or between two dates, with weekdays and substitute days. Use it for questions like "When are the bank holidays in Scotland in 2027?". Ranges can be up to three years.

輸入參數tofromyearregionnext_working_day_off

best_days_to_book

Best days to book

Find the days of annual leave to book around each public holiday (or cluster, such as Christmas and New Year) to get the most days off in a row: "book 4 days, get 10 off" options, cheapest first, with the exact dates. Use for "Which days should I book around Easter 2027 in Scotland?". Filter by holiday name (Easter, Christmas, Early May, Spring, Summer, St Patrick...). Past days are skipped. For parents in the UK, school: parent keeps leave inside the school holidays, using the council's published term dates when you pass council.

輸入參數tofromyearregionschoolcouncilholidayworkdaysus_holidaysmax_leave_daysus_holiday_idsnext_working_day_off

plan_leave_year

Plan a leave year

Plan a whole leave year: the set of breaks that turns the person's annual leave allowance into the most days off, using every bank holiday, with the dates to book for each break and the totals. Handles any leave year start date, part-time working days, three plan styles and school holidays (parents: breaks only in school holidays; school staff: the holidays themselves), from the council's published term dates when you pass council and typical dates otherwise. Use for "Plan my 28 days of leave for 2027, I have kids at school in Leeds".

輸入參數yearstyleregionschoolcouncilworkdaysallowancedays_usedus_holidaysus_holiday_idsleave_year_startingleave_year_start_day另有 2 個

get_school_holidays

School holidays

School holiday dates in the UK for a calendar year (half terms, Easter, summer, Christmas, and training days). With council, that council's published term dates, each school year with the council's source link and the date Leave Hacker last checked it; for a school year it hasn't published, and without a council, TYPICAL dates, which are the usual pattern and not official (Northern Ireland: the Department of Education's dates). Every holiday says which it is. Academies and independent schools can set their own, so tell the person to check their school's.

輸入參數yearregioncouncil

find_trips

Find cheap flights for a break

Find the cheapest return flights from a departure airport that fit a break, one per destination, cheapest first, with booking links. Prices are cached airline fares in the departure country's currency (GBP, EUR, AUD or USD) and can change; if the result says sample, they are example prices only. Links go through leavehacker.app/go and are affiliate links: Leave Hacker may earn a commission if you book, at no extra cost to you. Say so when you share them. Use for "Find cheap flights from Manchester that fit the May bank holiday weekend" (work out the break's dates with best_days_to_book first).

輸入參數limitdepart必填origin必填return必填

leave_request_message

Leave request message

Write the short, polite message asking a manager for the leave days of a break, in the same words as the Leave Hacker app. Pass the dates to book; the break's first and last day are worked out from the weekends (and bank holidays, if you pass region) either side unless you pass them.

輸入參數regionbreak_endbreak_startdates_to_book必填

版本歷史

2
  1. v1.1.0最新Nov 5, 2026
  2. v1.0.0Oct 26, 2026

評分

已滿足適用檢查項的 83%

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

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

    請宣告包含 README 的 GitHub 儲存庫,或在 OAuth 受保護資源後設資料中提供 resource_documentation。

  • 授權條款不適用

    託管服務按其提供方的條款使用,因此這裡不要求授權條款。此檢查項不計入百分比。