Skip to main content

iCloud Calendar MCP Server

PyPI License Tests Security

An MCP (Model Context Protocol) server for iCloud Calendar access via CalDAV.

Installation

# Using uvx (recommended)
uvx icloud-calendar-mcp

# Using pip
pip install icloud-calendar-mcp
icloud-calendar-mcp

Requirements

  • Java 21+ must be installed
  • iCloud credentials (Apple ID + App-Specific Password)

Setup

1. Get an App-Specific Password

  1. Go to appleid.apple.com
  2. Sign in and go to Security > App-Specific Passwords
  3. Generate a new password for "iCloud Calendar MCP"

2. Set Environment Variables

export ICLOUD_USERNAME="your-apple-id@icloud.com"
export ICLOUD_PASSWORD="your-app-specific-password"

3. Configure Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "icloud-calendar": {
      "command": "uvx",
      "args": ["icloud-calendar-mcp"],
      "env": {
        "ICLOUD_USERNAME": "your-apple-id@icloud.com",
        "ICLOUD_PASSWORD": "your-app-specific-password"
      }
    }
  }
}

Available Tools

Tool Description
list_calendars List all available calendars
get_events Get events from a calendar
create_event Create a new calendar event
update_event Update an existing event
delete_event Delete an event

Security

This server is designed with security as a primary concern:

  • App-Specific Passwords - Never use your main Apple ID password
  • Environment Variables Only - Credentials loaded from environment only
  • Input Validation - All inputs validated with SSRF protection
  • Rate Limiting - 60 reads/min, 20 writes/min
  • Error Sanitization - No credentials leaked in error messages
  • OWASP MCP Top 10 - Full compliance with 282 security tests
  • ReDoS Protection - All regex patterns tested against DoS
  • Unicode Security - Protection against encoding attacks
  • No Third-Party Data - Data only transmitted to iCloud CalDAV

Test Coverage

  • 843 total tests
  • 282 security tests covering OWASP MCP Top 10
  • ReDoS, Unicode, SSRF, injection protection

Links

License

Apache-2.0

Release files for icloud-calendar-mcp 3.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for icloud-calendar-mcp 3.2.0
File Size Uploaded
icloud_calendar_mcp-3.2.0.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for icloud-calendar-mcp 3.2.0
File Interpreter ABI Platform
icloud_calendar_mcp-3.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 13.5 kB

Release files / icloud_calendar_mcp-3.2.0.tar.gz

Download URL icloud_calendar_mcp-3.2.0.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
593a59c71d8dd2a8ec2576dcea6a9853c3c63338df1e2b073ea3bfcdfe49b2d8
BLAKE2b-256 checksum
How to use checksums
c04bed8f042e7b569bb989dce83196890ebeb3f8e6622079ce3ebdcfca782699
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 14, 2026.

Transparency log

Release files / icloud_calendar_mcp-3.2.0-py3-none-any.whl

Download URL icloud_calendar_mcp-3.2.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
546dc5d58318e99ae72d07e35dca64ae3878584a18aae24cda6ab38761d6c273
BLAKE2b-256 checksum
How to use checksums
1ffd37676abe67e14fffd86bbbb9c51ad801e48b2413b90b7f20f7049c7649b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

3.2.0 This release

2 release files

3.1.0

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.0.0

2 release files

1.0.2

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page