when-free
概览
作者提供的说明(英文原文)
Which days and times am I free? Reads your calendar feeds and answers with the slots you can offer.
PopNx MCP 的三大支柱
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
- 用户评价i暂无评价评价功能将在后续阶段与账户功能一起开放
- 我们的基础检查i1 项中通过 1 项依据公开信息检查;尚未扫描代码
- 使用情况i非常新↓ 22/周 · ★ –
它能帮你做什么
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
- 连接方式: 在你的电脑上运行
- 传输方式: stdio
- 分类: 文档、表格与办公
- 你需要填写:WHENFREE_CALENDARS
安装
选择你使用的 AI 应用,然后复制设置。
安装之前
- 基础检查:1 项中通过 1 项
- 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
- 需要你自己填写:
WHENFREE_CALENDARS,WHENFREE_TZ
标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。
你需要
- PyPI已安装 Python 的 uv(用于 uvx 命令)
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"when-free": {
"command": "uvx",
"args": [
"when-free",
"mcp"
],
"env": {
"WHENFREE_CALENDARS": "your-value",
"WHENFREE_TZ": "your-value"
}
}
}
}在终端中运行这条命令
claude mcp add when-free --env WHENFREE_CALENDARS=your-value --env WHENFREE_TZ=your-value -- uvx when-free mcp运行前请先填写空着的值。
或者自己复制设置
粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"when-free": {
"command": "uvx",
"args": [
"when-free",
"mcp"
],
"env": {
"WHENFREE_CALENDARS": "your-value",
"WHENFREE_TZ": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
或者自己复制设置
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"when-free": {
"type": "stdio",
"command": "uvx",
"args": [
"when-free",
"mcp"
],
"env": {
"WHENFREE_CALENDARS": "your-value",
"WHENFREE_TZ": "your-value"
}
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
需要你填写的值
- Private iCal addresses of your calendars, comma-separated. Optional if you saved them with `whenfree add`.
WHENFREE_TZenvTime zone for answers, like Europe/London. Default: the computer's.
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它能做什么
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
基础检查i
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月9日
- ✓ 通过
作者与仓库一致
注册名称已通过 GitHub 账户 YauhenBichel 验证,该账户拥有此仓库
- … 尚未检查
仍在维护
我们还没有从 GitHub 读取这个仓库
- … 尚未检查
有许可证
我们还没有从 GitHub 读取这个仓库
- – 不适用
端点有响应
它在你的电脑上运行,没有互联网端点
- – 不适用
使用 OAuth 登录
在你的电脑上运行,改用本地设置
- … 尚未检查
工具描述中没有隐藏指令
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与“文档、表格与办公”中的其他服务器比较i
- 星标数多于此分类中其他 3604 个服务器的 0%
- 发布到注册中心的时间比此分类中其他 3604 个服务器的 50% 更新
- 基础检查结果等于或优于此分类中其他 3604 个服务器的 100%
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
常见问题
when-free 安全吗?
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
它需要哪些密钥或代码?
你需要填写:WHENFREE_CALENDARS
它在我的电脑上运行还是在云端?
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
它还在维护吗?
GitHub 仓库最后更新于–,最新版本(0.4.1)于31天前进入注册中心。
哪些应用可以使用它?
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Python (uv)。
有什么可以替代它?
同一分类中有:Agent-Native Calendar, Excel MCP Server, MCP Server for Excel
替代选择
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:↓ 每周下载量i★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
Excel MCP Server
Create and edit Excel files with AI: charts, PivotTables, formulas. No Excel needed.
MCP Server for Excel
Excel automation for AI - Sheets, Power Query, DAX, VBA, Tables, Ranges and more. Windows only.
作者的 README
打开 README
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
when-free
Someone asks when you're free. This reads your calendar and gives you the answer, ready to paste.
- Paste the message, get the slots. It reads "Tuesday or Wednesday next week, between 10am and 4pm" and answers for exactly those days and hours.
- Works with Google, Outlook and iCloud calendars, or any
.icsfile. Several calendars at once. - Private. It runs on your computer, needs no account and no API key, and never changes your calendar.
- Works from your AI tools too: Claude, Cursor and other MCP clients, Open WebUI, n8n, Shortcuts, scripts.
- And on your other devices: phones, tablets and watches, Home Assistant (and Alexa, Google Home, Siri through it), and the menu bar or status bar of macOS, Linux and Windows.
Contents
Try it · Add your calendar · Everyday use · Reading a message · Use it from other tools · Other devices · Privacy · Settings · What counts as busy · Limits · Problems · Where it is listed
Try it in a minute
With uv, nothing to install first:
uvx when-free demo
To keep it (needs Python 3.11 or newer):
uv tool install when-free # or: pipx install when-free
whenfree demo
Using Claude Desktop? You can skip all of this: install the one-click extension.
whenfree demo makes up a calendar for next week and answers a recruiter's message from it. It reads none of your data and saves nothing:
> Hi! Thanks for applying. Could you share a few times on Tuesday, Wednesday or Thursday next week,
between 10am and 4pm? The interview takes about an hour.
Free between 10:00 and 16:00 (Europe/London), slots of 60+ minutes, 15-minute buffer around events:
- Tue 13 Oct: 11:45–12:45, 14:15–16:00
- Wed 14 Oct: 12:15–14:15
- Thu 15 Oct: 13:15–14:45
Add your calendar
- Copy your calendar's private address. It's a link that ends in
.ics:
| Calendar | Where to find it |
|---|---|
| Google Calendar | Settings → click your calendar on the left → *Integrate calendar* → Secret address in iCal format |
| Outlook | Settings → Calendar → Shared calendars → *Publish a calendar* → the ICS link |
| iCloud | Calendar → the share icon next to the calendar → *Public Calendar* (a webcal:// link is fine) |
| Anything else | Any .ics link, or an exported .ics file |
- Run `whenfree add` and paste it. The address isn't shown while you paste. It's checked first, and saved only if it works:
$ whenfree add
Paste the address and press Enter (it is not shown): Added 'personal': 412 events, 9 block time in the next 14 days. Saved in /Users/you/.config/when-free/config.toml, readable only by you. Now run: whenfree
- Run `whenfree`. You'll see your free time for the next working days.
On a Mac, pbpaste | whenfree add takes the address straight from the clipboard.
Keep the address secret. It works like a password: anyone who has it can read that calendar. Give it to
whenfree addand to nothing else, so not to a chat, a shell command or a repository. If it leaks, reset it in your calendar's settings.
Google Calendar, step by step
Do this in a browser, because the phone app doesn't show the address.
- Open Google Calendar settings: the gear icon, then Settings.
- In the left column, under Settings for my calendars, click the calendar you want. The one with your own name is where invitations arrive.
- Scroll down to Integrate calendar and copy Secret address in iCal format. It ends in
basic.ics. Don't take "Public address in iCal format", which only works for a calendar you've made public. - Run
whenfree addand paste it when asked.
No "Secret address"? Work and school accounts can have it switched off. Export the calendar instead (Settings → Import & export → Export), unzip it, and run whenfree add ~/calendars/work.ics. An export is a snapshot, so export again when your calendar changes.
More than one calendar
A slot counts as free only if it's free in every calendar you add.
whenfree add --name work # a second calendar: asks for its address
whenfree add ~/calendars/family.ics # an exported file instead of an address whenfree check # can every calendar be read?
They're kept in ~/.config/when-free/config.toml, one [[calendar]] block each, with a name and a url or path. You can edit that file by hand. whenfree init creates an empty one.
Everyday use
| You want | Run | |
|---|---|---|
| Your free time over the next working days | whenfree | |
| The days and hours a message asks about | `pbpaste \ | whenfree --message - (Mac clipboard) or whenfree --message invite.txt` |
| Next week's afternoons | whenfree --days "next week" --hours afternoon | |
| Specific days | whenfree --days "Thu 15 Oct, Fri 16 Oct" | |
| A date range | whenfree --from 2026-10-12 --to 2026-10-16 | |
| Only slots long enough for a 90-minute meeting | whenfree --min 90 | |
| To see what blocks each day | whenfree --busy | |
| The answer in another time zone | whenfree --tz America/New_York | |
| JSON for a script | whenfree --format json | |
| To copy the answer | `whenfree ... \ | pbcopy` (only the slot lines are copied) |
Only the slot lines go to standard output. The context goes to standard error, so | pbcopy copies exactly what you'd paste into a reply.
Reading a message
--message finds the days and hours in ordinary text. It understands:
- Dates written in any common way:
Thu 1 Oct·Thursday the 1st of October·Monday, October 5th·5 October·2026-10-05·Wednesday 30th - Hours:
between 10:00am and 4:00pm·10:00–16:00·9-5pm·2 to 4 pm - Words, when there's no date (here, today is Thursday 1 Oct):
| Written | Read as |
|---|---|
today · tomorrow · the day after tomorrow | Thu 1 · Fri 2 · Sat 3 Oct |
Thursday or Friday | the coming ones, today included: Thu 1, Fri 2 Oct |
this Tuesday · next Tuesday | Tuesday of this week (already past, so left out and named) · Tuesday of next week, Tue 6 Oct |
next week · this week · the week after next | that week's working days, from today on |
Tuesday or Wednesday next week | Tue 6, Wed 7 Oct |
any afternoon · Friday morning · evening | 12:00–17:00 · 09:00–12:00 · 17:00–20:00, unless hours are given |
It always tells you how it read the dates, so you can check them against the message. A few rules keep it from guessing:
- Explicit dates win. A heading like "Next week:" above "Wednesday 30th, Thursday 1st" doesn't add a whole week.
- "Good morning" is a greeting, not a time.
- Days already past are left out and named, never dropped silently. "Wednesday 30th" means the nearest Wednesday that's a 30th, so a message from last week reads as last week.
- Words count from today. For an older message that says "tomorrow", give the days yourself with
--days.
when-free never connects to your mailbox. You paste the message, pipe it in, or save it to a file.
Let your own language model read the message
If you run a model yourself, it can do the reading instead. Add this to the settings file:
[extract]
command = ["ollama", "run", "llama3.2"] # the prompt is sent on standard input
command = ["my-cli", "ask", "{prompt}"] # or placed where {prompt} is
The command receives the message and must print JSON: {"days": ["2026-10-05"], "hours": "10:00-16:00", "minutes": 60}. If it fails, pattern matching is used instead. Nothing runs unless you configure it, and --no-extract skips it for one run. The message goes to whatever that command talks to, so use a local model for private text.
Use it from other tools
Every way gives the same answer, only reads, and leaves event titles out unless asked.
| Your tool | Use | Set up |
|---|---|---|
| Claude Desktop | One-click extension | double-click |
| Claude Code, with a skill that knows when to use it | Plugin | two commands |
| Claude Code, Cursor, VS Code, any MCP client | MCP server | one line |
| Raycast, a right-click on a message (macOS) | Recipes | a few minutes |
| Open WebUI, n8n, Shortcuts, Raycast, anything that calls a URL | Local HTTP server | whenfree serve |
| Your own agent with function calling | Schema and call | two commands |
| Python | The library | import whenfree |
Claude Code plugin
The plugin bundles the MCP server with a skill that tells Claude when to use it: when you ask about your availability, paste a message asking when you can meet, or before it proposes a time.
/plugin marketplace add YauhenBichel/when-free
/plugin install when-free@when-free
Then add your calendar once, if you have not yet: uvx when-free add.
MCP: Claude, Cursor and other assistants
claude mcp add when-free -- uvx when-free mcp # Claude Code
For Cursor and other MCP clients, add this to their server list. uvx fetches when-free the first time, so there's nothing to install:
{
"mcpServers": { "when-free": { "command": "uvx", "args": ["when-free", "mcp"] } } }
If you installed it with uv tool install, use "command": "whenfree", "args": ["mcp"] instead. It's also listed in the MCP registry as io.github.YauhenBichel/when-free, on mcprush and in the M8ven Trust Index.
Then just ask: *"Here's the recruiter's message. Which of those times can I do?"* The assistant calls free_slots and answers from your real calendar.
| Tool | What it does |
|---|---|
free_slots | Free time per day. Takes days, or from and to, or a message, plus hours, min_minutes, buffer_minutes, timezone, weekends, all_day_busy, include_busy |
check_calendars | Whether each calendar can be read, with event counts. No details, no addresses |
If a tool can't do its job, the assistant gets an error it can read ("could not read the calendar 'work'"), never a guess.
HTTP: Open WebUI, n8n, Shortcuts and scripts
whenfree serve # http://127.0.0.1:8765, only reachable from this computer
curl -H "Authorization: Bearer $(cat ~/.config/when-free/token)" \
'http://127.0.0.1:8765/free_slots?days=next%20week&hours=afternoon'
- `
只显示了开头部分;其余内容请在仓库中阅读