icloud-calendar-mcp-server
Provides tools for listing calendars, and creating, updating, and deleting events on iCloud Calendar via CalDAV.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@icloud-calendar-mcp-server list my events for tomorrow"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
@instacodeio/icloud-calendar-mcp-server
MCP server for iCloud Calendar via CalDAV. Lets Claude (or any MCP client) read and write events on your iCloud calendars.
Published under InstaCode.
What it does
Exposes five tools:
Tool | Purpose |
| List your iCloud calendars |
| Fetch events from a calendar in a date range |
| Create a new event |
| Update an existing event by UID |
| Delete an event by UID |
Related MCP server: icloud-calendar-mcp
Prerequisites
Node.js 18+
An Apple ID with two-factor authentication enabled
An app-specific password generated at https://appleid.apple.com (your normal Apple ID password will not work for CalDAV)
Setup
npm install
npm run buildSet credentials via environment variables (or copy .env.example to .env and load via your runner):
export ICLOUD_USERNAME="you@icloud.com"
export ICLOUD_APP_PASSWORD="xxxx-xxxx-xxxx-xxxx"Test it locally
Use the MCP Inspector to poke at the tools without wiring up a client:
npm run inspectThen in the inspector UI: list tools, call icloud_list_calendars, etc.
Use with Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"icloud-calendar": {
"command": "node",
"args": ["/absolute/path/to/icloud-calendar-mcp-server/dist/index.js"],
"env": {
"ICLOUD_USERNAME": "you@icloud.com",
"ICLOUD_APP_PASSWORD": "xxxx-xxxx-xxxx-xxxx"
}
}
}
}Restart Claude Desktop. The tools should appear under the MCP icon.
Known limitations (v0.1)
Time zones: events are written in UTC. Timezone-aware writes are TODO.
Recurring events: parsed as their master event; recurrence overrides aren't surfaced separately yet.
Reminders/alarms: not yet supported on create/update.
Attendees / invites: not yet supported.
Update/delete by UID does a calendar scan; for very large calendars this is slow. Future improvement: maintain a UID→URL index or use server-side query reports.
Roadmap
Timezone support on create/update
VALARM (reminders) on create/update
icloud_search_eventswith text query (across calendars)icloud_find_free_timehelperCardDAV companion for contacts (
https://contacts.icloud.com)Optional Streamable HTTP transport for hosted use
Publishing
Releases are published to npm via OIDC trusted publishing — no NPM_TOKEN required in CI.
First publish (one-time, manual):
The npm trusted-publisher settings page only appears for packages that already exist on npmjs.com. So v0.1.0 must be published manually from a local machine:
npm login
npm publish --access public
--provenanceis intentionally omitted here. Provenance attestations require a supported OIDC provider (GitHub Actions, GitLab CI, etc.) and will fail locally withAutomatic provenance generation not supported for provider: null. The CI workflow below adds--provenanceautomatically.
After the first publish:
Go to https://www.npmjs.com/package/@instacodeio/icloud-calendar-mcp-server → Settings → Trusted Publishers
Add a publisher with:
Repository owner:
InstaCode(or your GitHub username)Repository name:
icloud-calendar-mcp-serverWorkflow filename:
publish.yml
Subsequent releases (automated):
npm version patch # or minor / major
git push --follow-tagsThe Publish to npm workflow will run on the new v* tag, verify the tag matches package.json, build, and publish with provenance.
License
MIT
Available Tools
5 toolsicloud_create_eventCreate iCloud EventA
Create a new event on the specified calendar.
Args:
calendar: Display name or full CalDAV URL
summary: Event title (required)
start, end: ISO 8601 datetimes
description, location: optional
allDay: boolean (default false)
Returns the created event's uid and CalDAV URL.
Inputs: end (required), start (required), summary (required), calendar (required), +3 more.
icloud_delete_eventDelete iCloud EventADestructiveIdempotent
Delete an event by UID.
Args:
calendar: Display name or full CalDAV URL
uid: Event UID
This is destructive. Confirm with the user before invoking.
Inputs: uid (required), calendar (required).
icloud_list_calendarsList iCloud CalendarsARead-onlyIdempotent
List all calendars in the authenticated iCloud account.
Returns each calendar's display name, URL (used as a stable identifier), color, and timezone if available.
Use this when:
The user asks "what calendars do I have"
You need a calendar identifier to pass to other tools
Disambiguating between calendars with similar names
Inputs: no named parameters.
icloud_list_eventsList iCloud EventsARead-onlyIdempotent
List events from a specific calendar within a time range.
Args:
calendar: Display name (e.g. "Work") or full CalDAV URL
start: ISO 8601 datetime for range start
end: ISO 8601 datetime for range end
Returns an array of events with uid, summary, start, end, location, description, allDay flag. The 'uid' is the stable identifier — use it for update/delete operations.
Inputs: end (required), start (required), calendar (required).
icloud_update_eventUpdate iCloud EventAIdempotent
Update fields on an existing event by UID.
Args:
calendar: Display name or full CalDAV URL where the event lives
uid: Event UID (from icloud_list_events)
Any of: summary, description, location, start, end, allDay (only provided fields are updated)
Returns confirmation with the updated UID.
Inputs: uid (required), calendar (required), end, start, +4 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 5 tools
Each tool targets a distinct operation: creating, deleting, listing calendars, listing events, and updating events. No overlap in functionality.
All tools follow the 'icloud_verb_noun' pattern using lowercase with underscores, ensuring clear and predictable naming.
With 5 tools, the set covers essential CRUD operations for calendar events plus calendar listing, which is appropriate for a focused calendar server.
Core operations (create, read, update, delete) are present, but a direct 'get event by UID' tool is missing, requiring agents to list events and filter. This is a minor gap.
Maintenance
Related MCP Connectors
Read, search and manage iCloud Mail, Calendar and Contacts from Claude and other MCP clients.
Read and send iCloud Mail, manage iCloud Calendar. Needs an approved account at icloud.mcp.visin.ch.
Read and send iCloud Mail, manage iCloud Calendar. Needs an approved account at icloud.mcp.visin.ch.
Claude and ChatGPT, connected to your iCloud Calendar, Mail, Contacts and Reminders.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceAn MCP server that enables interaction with iCloud Calendars via the CalDAV protocol using an app-specific password. It allows users to list, create, update, and delete calendar events through MCP-aware clients like ChatGPT.2MIT
- FlicenseNot gradedqualityBmaintenanceMCP server for iCloud (Apple) Calendar access via CalDAV24-
- FlicenseNot gradedqualityDmaintenanceEnables Claude to interact with iCloud Calendar through CalDAV, allowing users to list, search, create, update, and delete calendar events using natural language.-
- AlicenseAqualityCmaintenanceEnables agents to read, create, update, and delete iCloud Calendar events, including recurring events, via CalDAV.6MIT