# CalDAV calendars [Health: Active]

**Category:** 🏢 Workplace & Productivity  
**Repository:** https://github.com/ni-c/caldav-mcp  
**GitHub Stars:** 4  
**npm Downloads (last month):** 3893  
**Views:** 0  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/caldav-calendars

## Description
Read and write CalDAV calendars: events, tasks and journal entries over the open standard

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

```json
"mcpServers": {
  "caldav-calendars": {
    "command": "npx",
    "args": ["-y","@ni-c/caldav-mcp"],
    "env": {
      "CALDAV_URL": "",
      "CALDAV_USERNAME": "",
      "CALDAV_PASSWORD": "",
      "CALDAV_TOKEN": ""
    }
  }
}
```

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

## Documentation

## What CalDAV calendars does

CalDAV calendars connects MCP clients to a CalDAV server and account, supporting calendar events, tasks, and journal entries. It works with CalDAV installations and services including Nextcloud, Radicale, Baikal, SOGo, Fastmail, mailbox.org, and iCloud. Calendar access stays on the configured CalDAV endpoint rather than passing through a vendor API.

The server supports both read and write workflows. An agent can inspect available calendars, view scheduled items, locate an open time, create or modify events, work with tasks and dated notes, and answer an invitation. A read-only mode can expose only retrieval tools.

Recurring items receive special handling: the server expands recurrence rules locally into individual occurrences. Each occurrence gets its own identifier, allowing one instance to be moved without changing the rest of the series. Returned timestamps include an explicit offset, the IANA time zone used by the entry, and whether the item is an all-day entry.

## How it works

An MCP client communicates with the server over stdio, and the server communicates with the configured CalDAV service using WebDAV over HTTPS. The account can be limited to selected calendars, or it can use every calendar visible to that account by default.

Before changing an item, the server reads the resource as stored and sends the complete resource back on update. It includes the resource's ETag with each write, so a modification made by another process is reported instead of silently replaced. Properties outside the server's model remain untouched because the original resource is not rebuilt from scratch.

Calendar text such as summaries, descriptions, locations, and organizer names is treated as untrusted content. The server removes invisible characters and fences single-entry content so calendar data cannot imitate control instructions.

## Setup and configuration

Run with Node.js 24 or newer, or use Docker. A CalDAV server and account are required. Set `CALDAV_URL` to the server root or to a specific calendar collection. Authenticate with either `CALDAV_USERNAME` and `CALDAV_PASSWORD`, or `CALDAV_TOKEN`; the password is removed from the environment after it is read. Hosted providers may require an app-specific password. Google Calendar is not supported because its CalDAV access requires OAuth and password authentication has been deprecated.

`CALDAV_CALENDARS` restricts access to named calendars. `CALDAV_TIMEZONE` supplies an IANA time zone for timestamps without offsets. `CALDAV_USER_EMAIL` helps invitation responses identify the account's attendee line, and `CALDAV_MAX_EVENTS` controls the default listing limit from 1 to 500.

Use `CALDAV_READ_ONLY=true` to register only read tools. `CALDAV_ALLOW_TOOLS` and `CALDAV_DENY_TOOLS` control which tools load; setting the allow variable to `essential` selects a curated seven-tool set. `CALDAV_INSECURE_TLS=true` permits self-signed certificates on the configured host. `CALDAV_ALLOW_PLAINTEXT=true` permits non-loopback HTTP URLs, including unencrypted credentials, and should be used only deliberately.

## Tools and capabilities

- List calendars available to the configured account.
- Retrieve calendar entries and inspect scheduled content.
- Expand recurring events into individual occurrences.
- Find an available time slot.
- Create and modify calendar events.
- Manage tasks and dated journal entries.
- Respond to event invitations.
- Select an essential subset or explicitly allow and deny tools.

## Limitations and notes

The server has a maximum of 22 tools, while the `essential` setting registers seven. Recurrence expansion happens locally because CalDAV servers differ in their support for server-side expansion. All-day entries and timestamps without an offset depend on the configured time-zone behavior.

Writes preserve properties they do not model only by retaining the original resource; they do not add editing support for attendees, attachments, reminders, or vendor-specific fields. A resource that cannot be read in full is refused for writing. Credentials sent to a plaintext non-loopback URL are unencrypted, and self-signed TLS is disabled by default.

The project is tested against Radicale and Baikal with sabre/dav in continuous integration.

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

