# CalDAV MCP Server [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/lukegskw/caldav-mcp  
**GitHub Stars:** 9  
**npm Downloads (last month):** 591  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/caldav-mcp-server

## Description
A TypeScript MCP server for iCloud Calendar with native multi-VALARM support.

## Tools
Capabilities this server exposes over MCP:

- **list_calendars** — List calendars available in the configured iCloud account. Use this first to obtain the opaque calendar_id required by list_events and create_event; writable is a best-effort capability indicator.
- **list_events** — List events that overlap the start-inclusive, end-exclusive interval and expand recurring series into occurrences, across at most 366 days. Use list_calendars first to obtain calendar_id and use get_event instead for one known event. Continue with next_cursor and unchanged query filters when more results are available.
- **get_event** — Read one event by resource_id, preferably from a previous result, or by the calendar_id and uid pair. Use list_events for range searches. Request raw iCalendar only for controlled diagnostics because it may contain sensitive calendar data.
- **create_event** — Create a new event in a writable iCloud calendar and return the stored representation; existing events are not changed. Use list_calendars first to obtain calendar_id, and use update_event when the event already exists. Timed values require matching offsets and timezones, all-day end dates are exclusive, recurrence rules omit the RRULE: prefix, and travel_minutes sets Apple Calendar travel time for timed events.
- **update_event** — Modify an existing event or entire recurring series; individual expanded occurrences are not supported. Target it by resource_id or by calendar_id with uid. Omitted patch fields are preserved, null clears nullable fields, an empty alarms array removes alarms, and expected_etag can prevent a stale write.
- **delete_event** — Permanently delete an event or entire recurring series; individual expanded occurrences are not supported. Target it by resource_id or by calendar_id with uid, and supply expected_etag when available to prevent deleting a concurrently changed event.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "caldav-mcp-server": {
    "command": "npx",
    "args": ["--yes","@lukegskw/caldav-mcp@latest"],
    "env": {
      "CALDAV_USERNAME": "",
      "CALDAV_PASSWORD": ""
    }
  }
}
```

**Requires environment variables:** `CALDAV_USERNAME`, `CALDAV_PASSWORD` — the values above are empty placeholders; fill in real credentials before running (see the repository for what each one is for).

## Documentation

## What CalDAV MCP Server MCP server does

CalDAV MCP Server MCP server exposes calendar operations for one configured iCloud account. It discovers available calendars and returns structured calendar details such as an opaque calendar identifier, display name, description, timezone, and best-effort write status.

The server supports timed, all-day, and recurring events. Event listings cover a semi-open time interval and expand recurring occurrences into individual results. Events can contain zero, one, or multiple display alarms, including the Apple-specific alarm extensions expected by iCloud Calendar.

Read and write operations use opaque CalDAV resource identifiers and ETags rather than assuming an event UID is also a server filename. Updates preserve omitted fields and unknown iCalendar data, including Apple extensions, time zones, recurrence exceptions, and alarms that are not included in a patch.

## How it works

The server connects to iCloud Calendar through CalDAV and keeps calendar resources in memory. It does not use an application database or telemetry. Raw iCalendar is excluded from normal event responses and can be requested explicitly for controlled diagnostics.

The six MCP tools are:

- `list_calendars` discovers calendars for the configured account.
- `list_events` returns events in a requested interval, with recurring occurrences expanded.
- `get_event` reads an event by resource ID or by calendar ID and UID.
- `create_event` creates an event and reads back the stored representation.
- `update_event` patches an event or complete recurring series.
- `delete_event` removes an event or complete recurring series.

Event listing is limited to a 366-day range. The default page size is 100 and the maximum is 500. Pagination cursors are opaque and do not represent a fixed snapshot if events change during traversal.

## Setup and configuration

CalDAV MCP Server MCP server requires an iCloud account with Calendar enabled, two-factor authentication, and an Apple app-specific password. Configure the account with `CALDAV_USERNAME` and `CALDAV_PASSWORD`. Keep the MCP client configuration private because it contains the app-specific password.

For Claude Desktop, the project provides an `.mcpb` extension that does not require a separate Node.js installation. Other stdio clients can run the package with `npx` and Node.js 22 or newer. Docker images are also available, while building from source requires pnpm and Node.js 22.13 or newer.

The server supports stdio and Streamable HTTP transports. The README gives setup examples for Claude Desktop, Gemini CLI, and Claude Code; other clients can use the server if they support one of those transports.

## Tools and capabilities

Recurring event creation accepts an RFC 5545 recurrence rule without the `RRULE:` prefix. Partial updates preserve omitted values, `null` removes nullable fields, and an empty alarm list removes all alarms. Updates and deletions can require an expected ETag to avoid overwriting a newer version.

Raw iCalendar can be included only when requested with `include_raw_ical: true`. Logs and errors redact credentials, raw calendar content, and CalDAV paths.

## Limitations and notes

iCloud Calendar is the only provider officially supported and manually validated. The server is an independent project and is not affiliated with Apple. Deleting or updating one isolated expanded recurrence is not supported; recurrence mutations apply to the complete series. Pagination should not be treated as a consistent snapshot while the underlying calendar is changing.

_Full upstream README: https://allmcps.com/mcp/caldav-mcp-server/readme_

