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。

  • 许可证不适用

    托管服务按其提供方的条款使用,因此这里不要求许可证。此检查项不计入百分比。