iCloud Calendar MCP Server
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
- Go to appleid.apple.com
- Sign in and go to Security > App-Specific Passwords
- 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
Metadata
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| icloud_calendar_mcp-3.2.0.tar.gz | 7.2 kB | With provenance | Details for icloud_calendar_mcp-3.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| icloud_calendar_mcp-3.2.0-py3-none-any.whl | Python 3 | none | any | Details for icloud_calendar_mcp-3.2.0-py3-none-any.whl |
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 logRelease 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 logSecurity for icloud-calendar-mcp 3.2.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.
Attestation for icloud_calendar_mcp-3.2.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 Aug 14, 2026.
Transparency logA 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.