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

License

Apache-2.0

Metadata

Release files for icloud-calendar-mcp 3.3.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.3.0
File Size Uploaded Provenance Actions
icloud_calendar_mcp-3.3.0.tar.gz 7.3 kB With provenance Details for icloud_calendar_mcp-3.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 13.5 kB

Release files / icloud_calendar_mcp-3.3.0.tar.gz

Download URL icloud_calendar_mcp-3.3.0.tar.gz
Size 7.3 kB
Tags Source
SHA-256 checksum
How to use checksums
26710efacecc8469757b6de1de5baf42a8a47b236c0f1a2fe8263c81d5ff8d11
BLAKE2b-256 checksum
How to use checksums
91a32446480d0e298342a73bc8e530d0be7db31299549837276a54dd4333e8f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 12, 2026.

Transparency log

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

Download URL icloud_calendar_mcp-3.3.0-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d9c47c18f0598c19070e026ea59abbf62d6ed6912a942cc4f5896028f275633
BLAKE2b-256 checksum
How to use checksums
d69c28104021e5cd7a4506e929b9deb4ddf061467197a8bea5d9ceac754757e5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Nov 12, 2026.

Transparency log

Security for icloud-calendar-mcp 3.3.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for icloud_calendar_mcp-3.3.0.tar.gz

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 Nov 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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