Availability

io.github.theluckystrike由 GitHub 账号 theluckystrike 发布v0.22.5更新于 Oct 24, 2026

Read .ics calendar exports: free-busy, availability windows, double bookings, conflicts.

已验证STDIO仅桌面效率与工作流文件与存储

概览

AI 生成的概览

一个本地 MCP 服务器,读取导出的 .ics 日历文件,回答日程、空闲/忙碌、时间冲突和可计费会议等问题。

可以做什么
从路径、粘贴文本或(Pro)公开订阅链接导入 .ics,并列出或删除已存日历及其事件数和来源。按任意日期范围列出和搜索事件,重复日程会展开并按本地时区排序。计算合并后的忙碌时段与工作时间内空闲间隙,并找出所有日历之间每一对重叠事件。显示下一个即将开始的事件,并把选定事件或整个时间窗导出为新的 .ics 文件。把一场会议转换为时间记录工具的条目参数,并可离线查看或激活 Pro 许可证。
适用场景
适合已有日历导出文件、希望助手分析日程的场景:有什么安排、何时空闲、工作与个人日历之间哪些会议冲突、哪些已结束会议应当计费。它面向离线的本地分析,而不是实时日历同步。
运行要求
作为本地进程在用户机器上运行(仅桌面端),可通过 .mcpb 安装包安装,或用 Node.js 从源码构建;说明中称 npm 包尚未发布。无需账号、OAuth 或同步。可选的 Pro 许可证密钥通过 MCP_LICENSE_KEY 环境变量提供,或激活一次。
安装前请注意
导入是快照,会复制到本地数据目录,日历变动后需重新导入。Pro 功能(不限日历数与时间窗、URL/webcal 导入、超过 50 条事件的导出)需一次性付费。传入 url 时服务器会抓取该地址,但会拒绝回环、私有和云元数据地址。它会写出新的 .ics 文件,但从不修改所读取的日历。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Availability,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

mcp-calendar

Your calendar app can show you next Tuesday. It cannot tell you where your week actually went, which two things you said yes to at the same time, or how many billable hours last month's meetings were worth. This server reads the .ics file your calendar already exports and answers those questions: events in any window with recurring series expanded properly, merged busy blocks and the real free gaps inside your working hours, every double booking across work and personal calendars at once, a clean .ics of just the events you picked, and the exact time entry for a meeting you should have billed. No account is connected, nothing is synced, and the calendar file stays on your machine as plain text.

Built by theluckystrike.

In the official MCP Registry (io.github.theluckystrike/calendar-ics-reader-events-freebusy-conflicts).

Listed on the AI Product Index - live remote endpoint at mcp.zovo.one/s/calendar, free tier, no signup.

[calendar demo]

Import the .ics your calendar exports, then ask what is on, when you are free, and what clashes, zero setup, all local.

60-second install

npm publish for @theluckystrike/mcp-calendar is pending. Until then, the .mcpb one-click bundle or a clone+build is the working path, both are verified below.

One-click (.mcpb): download calendar.mcpb from the latest release and double-click it in Claude Desktop: https://github.com/theluckystrike/mcp-servers/releases/latest

(claude_desktop_config.json):

json
{  "mcpServers": {    "calendar": {      "command": "npx",      "args": ["-y", "@theluckystrike/mcp-calendar"]    }  }}

Claude Code:

sh
claude mcp add calendar -- npx -y @theluckystrike/mcp-calendar

(.cursor/mcp.json):

json
{  "mcpServers": {    "calendar": {      "command": "npx",      "args": ["-y", "@theluckystrike/mcp-calendar"]    }  }}

The npx form above starts working the moment the package is published. Until then, use the .mcpb bundle above, or build from source with exactly these four commands:

sh
git clone https://github.com/theluckystrike/mcp-servers.git && cd mcp-serversnpm installnpm run build -w packages/mcp-license -w servers/timezone -w servers/calendar

Then point your client's command at node with one arg: the absolute path to servers/calendar/dist/index.js.

To run in Pro mode set MCP_LICENSE_KEY in the same config block, or call license_activate once with your key.

Getting the .ics out of your calendar

AppWhere
Google CalendarSettings -> Import & export -> Export. You get a zip; import the .ics inside it.
Apple CalendarFile -> Export -> Export...
Outlook (desktop)File -> Save Calendar, format iCalendar (.ics)
Outlook / Microsoft 365 (web)Settings -> Calendar -> Shared calendars -> Publish, then use the ICS link (Pro)
Anything elseAny published feed URL ending in .ics, or webcal:// (Pro)

Then: ics_import {path: "~/Downloads/[email protected]", name: "work"}

Tools

ToolWhat it does
ics_importRead a .ics file (path), pasted contents (text) or a public feed (url, Pro) and keep it locally under a name. Importing the same name again replaces it.
calendars_listEvery imported calendar: name, source, event count, size, when it was imported.
events_listEvery event between two dates with recurring series expanded to real occurrences, sorted, in your own time zone. Each row carries an id.
events_searchEvents whose title, description, location, organizer or attendees contain a phrase.
free_busyMerged busy blocks and the free gaps inside your working hours, day by day. Events marked free/transparent do not count as busy.
conflictsEvery pair of events that overlap, with the overlap in minutes -- across all calendars, so a client call clashing with a school run is caught. A longer window is shortened to the free 31 days and answered, never refused.
next_eventThe next thing that has not started, and how long until it does.
event_exportWrite chosen events (by id, or a whole window) to a new .ics you can send. Times in UTC, so it lands correctly in any client.
event_to_time_entryTurn one meeting into the exact arguments for the time-tracker's entry_add, so a call becomes billable time without retyping it.
ics_forgetRemove one calendar and its local copy.
license_status / license_activateShow the tier; activate a Pro key offline.

Resource calendar://today gives today's schedule in one read. Prompt plan_my_day walks the whole loop: what is on, what clashes, where the free stretches are, and which finished meetings to bill.

What the parser handles

Written against real exports, not just the spec: line folding (CRLF, bare LF and bare CR, and folds that Exchange places inside a multi-byte character, which are rejoined on the bytes before decoding), \n \, \; \\ escaping, whole-day events with an exclusive DTEND, DURATION instead of DTEND, TZID and UTC times, floating times, RRULE for HOURLY, DAILY, WEEKLY, MONTHLY and YEARLY with COUNT, UNTIL (inclusive), INTERVAL, BYDAY including ordinals (2MO, -1FR), BYMONTHDAY, BYMONTH and BYSETPOS, EXDATE, RDATE, RECURRENCE-ID overrides (the moved instance replaces the original instead of appearing twice), STATUS:CANCELLED, TRANSP:TRANSPARENT, and VALARM blocks inside an event. An event it cannot read is skipped and counted rather than costing you the rest of the file.

FREQ=MINUTELY and FREQ=SECONDLY are deliberately not expanded: one such rule fills any window with thousands of occurrences and buries the rest of the week. Those events are listed at their first occurrence and the reason is said out loud. A rule with no COUNT and no UNTIL is expanded only as far as the window you asked for.

Exports written by this server keep whole-day events as DATE values, so a holiday leaves as the same day it arrived rather than a timed block on the day before in your machine's zone.

VTIMEZONE is deliberately ignored. A file's inline DST rules are only as fresh as the app that wrote it; the TZID is kept and every offset is computed from the ICU data inside your Node build instead, which is what keeps a weekly Warsaw 10:00 meeting at 10:00 local across the March clock change.

Free vs Pro

FreePro ($19 one-time)
Calendars kept2unlimited
Window per questionup to 31 daysany window
conflicts over a longer windowanswered for the first 31 days, cap namedany window
Events per export50unlimited
Import from a URL or webcal feed--yes
Everything elsefullfull

Get Pro, or $39 for every server in the suite, lifetime.

Privacy

Everything is local. The calendar file you import is copied to ${XDG_DATA_HOME:-~/.local/share}/mcp-servers/calendar/ and read from there; deleting that directory resets the server. There is exactly one network call in the whole server, and only when you pass a url yourself: it fetches that address once, with a 12-second timeout, a 5 MB cap, and a refusal on loopback, private and cloud-metadata addresses. Nothing is uploaded, no account is linked, and licence keys verify offline.

Pairs with

  • mcp-timezone, this server reads its time zone and .ics engine from it: convert a meeting time, find slots across countries, write an invite.
  • mcp-time-tracker, event_to_time_entry hands it a finished meeting; it tracks and reports the hours.
  • mcp-invoice, turn those tracked hours into a numbered invoice.
  • office-suite, several servers behind one install, one config entry.

FAQ

No. There is no OAuth, no token and no sync. You export a file (or paste a public feed URL on Pro) and it is read locally. That also means an import is a snapshot: re-import when the calendar has moved on.

Yes, and that is most of the code. A weekly series is expanded on the wall clock, so a Warsaw 10:00 meeting stays 10:00 through the DST change rather than drifting to 11:00. Monthly on the 31st skips February instead of rolling into March, UNTIL includes the occurrence that falls exactly on it, and a single moved instance replaces the original.

It is not: RFC 5545 makes DTEND exclusive for a whole-day event, so 1--3 June means the 1st and the 2nd. This server follows the spec, which is what your calendar app does too.

It writes .ics files with event_export, which you can import anywhere. It never modifies the calendar it read.

5 MB, which is a few thousand events. Export a narrower date range if a full history is bigger than that.

Use these docs as an MCP server

Any MCP client (Claude, Cursor, Windsurf, VS Code) can read this repository's documentation directly via GitMCP - no install:

来源:servers/calendar/README.md,提交 1bd9d69

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

2
  1. v0.22.5最新Oct 14, 2026
  2. v0.21.0Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分