Apple Calendar MCP Server
Provides native integration with Apple Calendar on macOS via EventKit, enabling CRUD operations on calendar events and calendars through a standardized MCP interface.
README
Apple Events MCP Server

English | 简体中文
A Model Context Protocol (MCP) server providing native integration with Apple Reminders and Calendar on macOS via the EventKit framework. Exposes reminders, lists, subtasks, and calendar events through a standardized interface with full CRUD operations.
Calendar-only fork. This fork intentionally exposes only the calendar tools (
calendar_events,calendar_calendars) so it can run alongside a separate, dedicated Apple Reminders MCP without overlapping. The reminder tools from upstream are not registered — the reminder code paths remain in the tree but are dormant and never surface as MCP tools. Reminder-focused features described below (reminders, lists, subtasks, and the reminder prompt library) refer to upstream and are not exposed here. SeeFORK-NOTES.md.
The EventKit backend is the standalone event Swift CLI, vendored as a git submodule and built into bin/event during pnpm install — no separate brew install required. See docs/migration-to-event-cli.md for the v1.5.0 backend swap and the list of write fields not yet exposed by event.
Table of Contents
- Features
- Prerequisites
- Quick Start
- Configuration
- macOS Permissions
- Usage Examples
- Available MCP Tools
- Structured Prompt Library
- Development
- License
- Contributing
Features
- Full CRUD for reminders, subtasks, reminder lists, and calendar events
- Priority (high/medium/low/none), tags, and checklist subtasks with progress tracking
- Multi-criteria filtering: completion, due-date range, priority, tags, full-text search, recurring, location-based
- Flexible date formats (
YYYY-MM-DD,YYYY-MM-DD HH:mm:ss, ISO 8601) with timezone awareness - Native macOS integration via EventKit — values configured in Reminders.app / Calendar.app round-trip through read responses
- Automatic macOS permission discovery and prompting
- Full Unicode support with comprehensive input validation
Prerequisites
- Node.js 20 or later
- macOS (required for EventKit)
- Xcode Command Line Tools (only when building from source)
- pnpm (recommended)
The published npm package ships a pre-built, universal, code-signed bin/event binary, so npx users need neither Xcode nor a Swift toolchain. Building from a git clone requires the items above.
Quick Start
npx mcp-server-apple-events
Configuration
Add the server to your MCP client. The npx form works for every client below; for a local build, replace command/args with node pointing at dist/index.js.
Cursor
Settings → MCP → Add new global MCP server:
{
"mcpServers": {
"apple-reminders": {
"command": "npx",
"args": ["-y", "mcp-server-apple-events"]
}
}
}
ChatWise
Settings → Tools → "+", then:
- Type:
stdio - ID:
apple-reminders - Command:
mcp-server-apple-events - Args: (empty)
Claude Desktop
Edit claude_desktop_config.json (open it via Settings → Developer Option → Edit Config, or directly at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS / %APPDATA%\Claude\claude_desktop_config.json on Windows):
{
"mcpServers": {
"apple-reminders": {
"command": "npx",
"args": ["-y", "mcp-server-apple-events"]
}
}
}
For a local build of this calendar-only fork, use a distinct server name
(apple-calendar) so it is unambiguous alongside a separate Apple Reminders
MCP:
{
"mcpServers": {
"apple-calendar": {
"command": "node",
"args": ["/absolute/path/to/apple-calendar-mcp/dist/index.js"]
}
}
}
See the official MCP docs for connecting local servers. Restart Claude Desktop completely (quit, not just close) for changes to take effect.
macOS Permissions
The vendored event CLI embeds its own Info.plist (bundle id me.frad.event) declaring all Reminders and Calendar privacy strings, and is spawned through the bundled bin/event-disclaim shim, which disclaims TCC responsibility at spawn time. macOS therefore attributes the permission request to event itself, not the app that launched the MCP server — so the first EventKit call prompts for "event", the grant appears under System Settings > Privacy & Security > Reminders / Calendars as event, and one grant covers every MCP client on the machine (Claude Desktop, Codex Desktop, Cursor, terminal clients, …). See issue #93 for background.
When event detects a notDetermined status it calls requestFullAccessToReminders / requestFullAccessToEvents, which surfaces the system prompt. If the OS ever loses track of permissions, rerun ./check-permissions.sh to re-open the dialogs.
Calendar read errors
If you see Failed to read calendar events, set Calendar to Full Calendar Access under System Settings > Privacy & Security > Calendars, or rerun ./check-permissions.sh (it checks both Reminders and Calendars).
Recovering a stuck TCC state (no prompt ever appears)
If the permission dialog never appears and event is missing from System Settings → Privacy & Security → Reminders / Calendars, your machine is in a stale/misattributed TCC state. The server-side disclaim fix prevents this on a clean machine but cannot clear already-corrupted entries. Recovery:
-
Reset Calendar and Reminders TCC entries globally (per-app reset frequently does not work — the bare form clears all entries, which is what clears the bad state):
tccutil reset Calendar tccutil reset RemindersThis clears Calendar/Reminders access for every app; other apps re-prompt next time.
-
Re-trigger the permission from inside a Claude conversation (Claude Desktop or Claude Code) by asking, e.g., "Use AppleScript to check my Calendar and Reminders." Grant access and the server should work normally. See issue #83.
macOS 26 (Tahoe) could not build module 'Foundation'
If pnpm build fails with could not build module 'Foundation' (or SDK is not supported by the compiler), your Swift toolchain is older than the macOS 26 SDK requires — it needs Swift 6.3 or newer, but the Command Line Tools shipped with early macOS 26 point releases include Swift 6.2.x. pnpm build:event detects this and prints the same remediation; see issue #85. Fix by installing Xcode 26.x from the App Store, or updating Command Line Tools to a Swift 6.3+ version:
softwareupdate --list
sudo softwareupdate -i "Command Line Tools for Xcode-<latest>"
sudo xcode-select --switch /Applications/Xcode.app/Contents/Developer # if full Xcode is installed
xcrun swiftc --version # should report Apple Swift version 6.3 or newer
Usage Examples
Once configured, ask Claude to interact with your Apple Reminders and Calendar. Example prompts:
Create a reminder to "Buy groceries" for tomorrow at 5 PM with tags shopping and errands.
Add a high-priority reminder to "Finish quarterly report" due Friday in my "Work" list.
Create "Grocery shopping" with subtasks: milk, eggs, bread, butter.
Show me all high-priority reminders due today tagged "urgent".
Show subtasks for my "Grocery shopping" reminder and mark "milk" as complete.
Update "Buy groceries" — change the title to "Buy organic groceries" and set priority to high.
Show reminders from my "Work" list, and list all my reminder lists.
Create a calendar event "Team standup" tomorrow from 9:00 to 9:30 in "Work".
Show my calendar events for the next week.
The server processes natural-language requests, interacts with Apple's native Reminders and Calendar apps, and returns formatted results.
Alarms, recurrence rules, and location triggers are read-only via this server — configure them in Reminders.app / Calendar.app. They still appear in read results with visual indicators.
Available MCP Tools
Service-scoped tools mirror Apple Reminders and Calendar domains. All take an action field plus action-specific parameters (the MCP client introspects the full Zod schema; only actions are listed here). Date fields accept YYYY-MM-DD, YYYY-MM-DD HH:mm:ss (local time), or ISO 8601 with timezone.
| Tool | Actions | Notes |
|---|---|---|
reminders_tasks |
read, create, update, delete |
Priority, tags, subtasks. startDate is set via update, not create. Cross-list moves unsupported. |
reminders_subtasks |
read, create, update, delete, toggle, reorder |
Stored in the notes field (human-readable in Reminders.app). |
reminders_lists |
read, create, update, delete |
Rename via name → newName. |
calendar_events |
read, create, update, delete |
All-day inferred from date format. Cross-calendar moves unsupported. span scopes recurring deletes. |
calendar_calendars |
read |
Calendars holding ≥1 event in the (optional) startDate/endDate window. |
Example calls:
{
"action": "create",
"title": "Buy groceries",
"dueDate": "2024-03-25 18:00:00",
"targetList": "Shopping",
"note": "Don't forget milk and eggs",
"priority": 1,
"tags": ["shopping", "errands"],
"subtasks": ["Milk", "Eggs", "Bread"]
}
{ "action": "read", "filterList": "Work", "dueWithin": "today", "filterPriority": "high", "filterTags": ["urgent"] }
{ "action": "update", "id": "reminder-123", "completed": false, "addTags": ["followup"] }
{ "action": "toggle", "reminderId": "reminder-123", "subtaskId": "a1b2c3d4" }
{ "action": "create", "name": "Project Alpha" }
{ "action": "create", "title": "Team standup", "startDate": "2026-05-04 09:00:00", "endDate": "2026-05-04 09:30:00", "targetCalendar": "Work" }
Read response shape
Read responses carry visual indicators: 🔄 recurring, 📍 location-based, 🏷️ has tags, 📋 has subtasks. Example:
- [ ] Buy groceries 🏷️📋
- List: Shopping
- ID: reminder-123
- Priority: high
- Tags: #shopping #errands
- Subtasks (1/3):
- [x] Milk
- [ ] Eggs
- [ ] Bread
- Due: 2024-03-25 18:00:00
The url field is stored in the native url property (visible via the "i" icon in Reminders.app) and also appended to the notes in a structured URLs: block for parsing and multi-URL support. URLs accept any valid URI scheme (http, https, mailto, tel, obsidian, shortcuts, …); file, javascript, data, and similar dangerous schemes are rejected, and http(s) hostnames are checked against an SSRF blocklist.
Read-only fields: alarms, recurrence rules, location triggers, structured locations, calendar
url/availability/isAllDay, and cross-calendar moves are not writable via this server — they round-trip from values configured in Reminders.app / Calendar.app. See docs/migration-to-event-cli.md for the full dropped-field table and workarounds.
Structured Prompt Library
The server ships a prompt registry exposed via the MCP ListPrompts / GetPrompt endpoints. Each template shares a mission, context inputs, numbered process, constraints, output format, and quality bar so downstream assistants get predictable scaffolding.
- daily-task-organizer — optional
today_focus; produces a same-day execution blueprint, balances priority work with recovery, auto-creates calendar time blocks for due-today reminders. - smart-reminder-creator — optional
task_idea; generates an optimally scheduled reminder structure. - reminder-review-assistant — optional
review_focus(e.g.overdueor a list name); audits and optimizes existing reminders. - weekly-planning-workflow — optional
user_ideas; guides a Monday-through-Sunday reset with time blocks tied to existing lists.
Prompts are constrained to native Apple Reminders capabilities and ask for missing context before irreversible actions. Run pnpm test -- src/server/prompts.test.ts after amending prompt copy.
Development
pnpm install # postinstall builds bin/event from vendor/event on macOS
pnpm build # TypeScript + vendored event CLI
pnpm test # Jest suite: repositories, schemas, build script, prompt templates
pnpm exec biome check # lint + format
The CLI entry point walks up to ten directories to find package.json, so the server can start from nested paths (e.g. dist/ or editor task runners) without losing bin/event. Keep the manifest reachable within that depth if you customize the folder layout.
Scripts
pnpm build— TypeScript + vendoredeventCLI (required before running from source)pnpm build:ts— TypeScript onlypnpm build:event— vendoredeventCLI only (swift build -c release→bin/event)pnpm build:release— build plus notarization (release packaging)pnpm test/pnpm test:ci— Jest suite / with coveragepnpm lint— Biome format/fix + TypeScript type checkpnpm check— lint + tests with coverage
License
MIT
Contributing
Contributions welcome! Please read the contributing guidelines first.
推荐服务器
Baidu Map
百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。
Playwright MCP Server
一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。
Magic Component Platform (MCP)
一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。
Audiense Insights MCP Server
通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。
VeyraX
一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。
graphlit-mcp-server
模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。
Kagi MCP Server
一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。
e2b-mcp-server
使用 MCP 通过 e2b 运行代码。
Neon MCP Server
用于与 Neon 管理 API 和数据库交互的 MCP 服务器
Exa MCP Server
模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。