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 分