Apple MCP

Apple MCP

Enables AI agents to access iCloud Calendar, Reminders, and Mail with configurable scope and read-only modes.

Category
Visit Server

README

Apple MCP

Model Context Protocol server for Apple iCloud. Gives your AI agents access to your Calendar, Reminders, and Mail — filtered through a scope engine so they only see what you want them to see.

Supports stdio and HTTP transport. Works anywhere, not just macOS. 37 tools, zero stubs.

What It Does

Connects your AI tools (Claude Desktop, Continue.dev, Cursor, or any MCP client) to your iCloud account. Three services, each independently toggleable:

  • Calendar (12 tools) — list, create, update, delete events and calendars. Search by keyword, check availability, recurrence support.
  • Reminders (15 tools) — full CRUD. Alarms, hashtags, URL attachments, recurrence rules, sync cursors.
  • Mail (10 tools) — multi-account IMAP. Search, read, send, reply, move, flag, delete emails.

All access is gated through a scope engine. Configure which calendars, reminder lists, mail folders, and mail accounts are visible. Put a service in read-only mode if you only want your agent to see data, not change it.

Quick Start

Generate an App-Specific Password

You need an app-specific password, not your main Apple Account password.

  1. Go to account.apple.com
  2. Sign in → Sign-In and Security → App-Specific Passwords
  3. Click "Generate an app-specific password"
  4. Name it "Apple MCP" so you know what it's for
  5. Copy the password (format: xxxx-xxxx-xxxx-xxxx)

You can revoke this password at any time from the same page.

Run with Docker

docker run -p 8080:8080 \
  -e APPLE_ID=you@icloud.com \
  -e APPLE_APP_SPECIFIC_PASSWORD=xxxx-xxxx-xxxx-xxxx \
  ghcr.io/thetaroot/apple-mcp:latest

Run with pip

pip install apple-mcp
apple-mcp --transport http

Or stdio transport for local MCP clients:

apple-mcp --transport stdio

Using with Claude Desktop

Add this to your claude_desktop_config.json:

{
  "mcpServers": {
    "apple": {
      "command": "python",
      "args": ["-m", "apple_mcp", "--transport", "stdio"],
      "env": {
        "APPLE_ID": "you@icloud.com",
        "APPLE_APP_SPECIFIC_PASSWORD": "xxxx-xxxx-xxxx-xxxx",
        "APPLE_CALENDAR_NAMES": "Work",
        "APPLE_REMINDER_LISTS": "Work Tasks",
        "APPLE_MAIL_MODE": "read_only"
      }
    }
  }
}

Using with Cursor or Continue.dev

Point your MCP client to the HTTP endpoint:

{
  "mcpServers": {
    "apple": {
      "url": "http://localhost:8080/mcp",
      "headers": {}
    }
  }
}

The HTTP transport uses the standard MCP Streamable HTTP protocol (spec 2025-03-26).

Configuration

All configuration via environment variables.

Authentication (required)

Variable Description
APPLE_ID Your iCloud email address
APPLE_APP_SPECIFIC_PASSWORD App-specific password (shared for all services)

For better security, use per-service passwords instead:

Variable Description
APPLE_CALENDAR_PASSWORD Password for calendar only
APPLE_REMINDERS_PASSWORD Password for reminders only
APPLE_MAIL_PASSWORD Password for mail only

Service Toggles

Variable Default Description
APPLE_ENABLE_CALENDAR true Enable calendar tools
APPLE_ENABLE_REMINDERS true Enable reminder tools
APPLE_ENABLE_MAIL true Enable mail tools

Calendar Scope

Variable Description
APPLE_CALENDAR_NAMES Comma-separated calendar names to allow
APPLE_CALENDAR_EXCLUDE Comma-separated calendar names to block
APPLE_CALENDAR_MODE read_write (default) or read_only

Reminder Scope

Variable Description
APPLE_REMINDER_LISTS Comma-separated list names to allow
APPLE_REMINDER_EXCLUDE Comma-separated list names to block
APPLE_REMINDER_MODE read_write or read_only

Mail Scope

Variable Description
APPLE_MAIL_FOLDERS Comma-separated folder names to allow
APPLE_MAIL_EXCLUDE_FOLDERS Comma-separated folder names to block
APPLE_MAIL_MODE read_write or read_only

External Mail Accounts

APPLE_MAIL_ACCOUNTS='[
  {"type": "icloud", "email": "you@icloud.com", "folders_allow": ["INBOX", "Sent"]},
  {"type": "external", "email": "luis@company.com", "imap_host": "mail.company.com",
   "imap_port": 993, "smtp_host": "mail.company.com", "smtp_port": 587,
   "password_env": "MAIL_PWD_WORK", "folders_allow": ["INBOX", "Sent"]}
]'
MAIL_PWD_WORK=your-external-mail-password

Tools Reference

Calendar — 12 tools

All functional, no stubs. Recurrence support via recurrence parameter (RRULE string). Change tracking via get_changes (ctag-based).

Reminders — 15 tools

All functional, no stubs. Recurrence support: create, list, and delete recurrence rules. Sync cursor support via get_changes.

Mail — 10 tools

All functional, no stubs. Reply support via SMTP with In-Reply-To headers. Full HTML body returned by get.

Health Check

curl http://localhost:8080/health
# {"status":"ok","version":"1.1.0","tools_registered":37}

Requirements

  • Python 3.12 or later
  • An Apple Account with two-factor authentication enabled
  • An app-specific password (generated at account.apple.com)

License

MIT

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured