Icloud MCP logo

Icloud MCP

Manage iCloud Mail with search, mailbox organization, bulk cleanup, flags, read status, and safe previews through MCP.

Install Icloud MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "icloud-mcp-4": {
      "command": "npx",
      "args": [
        "-y",
        "icloud-mcp"
      ],
      "env": {
        "IMAP_USER": "YOUR_VALUE_HERE",
        "IMAP_PASSWORD": "YOUR_VALUE_HERE"
      }
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Values are written into the snippet above so you can paste it as is. They never leave your browser.

Claude Code command
claude mcp add --env IMAP_USER=YOUR_VALUE_HERE --env IMAP_PASSWORD=YOUR_VALUE_HERE --transport stdio icloud-mcp-4 -- npx -y icloud-mcp

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 86 tools correctly ().

Overview

icloud-mcp connects MCP clients to iCloud Mail and also supports iCloud Contacts, Calendar, and Reminders. Its mail tools cover mailbox inspection, message search, reading, flags, read status, folder management, and bulk actions such as moving or deleting messages. Destructive operations can run in dry-run mode, while bulk moves use copy, verification, and deletion with a persistent manifest. Use it from Claude Desktop, Claude Code, Grok Bot, or another client using stdio or Streamable HTTP when an agent needs to manage iCloud data.

Use cases

  • Search iCloud Mail by sender, date, domain, or read status
  • Preview and clean up large groups of messages
  • Organize messages into iCloud Mail folders
  • Monitor a long-running bulk move
  • Manage iCloud calendar, contact, and reminder data

Key features

  • IMAP mail search, reading, and mailbox summaries
  • Bulk move, delete, flag, and read-status operations
  • Dry-run previews for destructive changes
  • Copy-verify-delete moves with persistent manifests
  • CardDAV contacts and CalDAV calendars
  • stdio and Streamable HTTP transports

Tools86

What Icloud MCP lets your agent do. Expand a tool for its parameters.

Verified live~11.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

What it can do

From the 86 tools this server returned when we ran it.

Can delete or modify data · 16Makes changes · 22Handles credentials · 1Makes network requests · 4Read-only tools · 49
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceNot published
Package age273 days
Maintainers1

Observed 2026-11-25 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 11d ago via OSV.dev · icloud-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads848Package downloads in the last 30 days.
Last commit25d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed86Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Icloud MCP works

What icloud-mcp does

icloud-mcp exposes iCloud productivity data through the Model Context Protocol. Mail is the most extensively described area: agents can inspect accounts and folders, summarize inboxes, find messages by sender or date, search targeted fields, read complete messages, and count matching messages before changing them.

Mail organization tools handle individual and bulk operations. An agent can create, rename, or delete mailboxes, move or delete messages, change flags, mark messages read or unread, remove older mail, and empty the trash. Bulk filters can target senders, subject patterns, dates, read state, domains, and other search criteria. The server also supports Contacts through CardDAV, calendars through CalDAV, and Reminders.

How it works

The server communicates with iCloud Mail over IMAP and uses SMTP for sending, replying, forwarding, and saving drafts. Contacts use CardDAV, and calendars use CalDAV. It can serve a local MCP client over stdio or run remotely over Streamable HTTP.

Bulk moves use a copy-verify-delete process with fingerprint checks and a persistent manifest. Long-running moves can be inspected with get_move_status, which reports progress, chunk states, and failures. Bulk deletion is processed in groups of up to 500 messages with per-chunk timeouts.

Operations that change or remove data support dryRun: true where applicable. A dry run returns a list of intended changes and counts without applying them. The server also maintains local rule, digest, session, move-manifest, and audit files in the user's home directory.

Setup and configuration

Use Node.js 20 or newer and an iCloud account with an app-specific password. Install the package globally with npm install -g icloud-mcp, or let npx -y icloud-mcp fetch it when the MCP client starts. A diagnostic command can check connectivity before adding the server to a client configuration.

The standard credentials are IMAP_USER and IMAP_PASSWORD. If either is absent, the server can retrieve the missing value from the macOS Keychain; ICLOUD_MCP_KEYCHAIN_SERVICE changes the default Keychain service name, and IMAP_PASS is an alternate password variable when IMAP_PASSWORD is unset. Multiple accounts can be configured with numbered IMAP_ACCOUNT_N_* variables for IMAP and SMTP hosts, credentials, and account names.

ICLOUD_MCP_REMINDER_LIST selects the Reminders list used by digest tools. ICLOUD_MCP_TOOL_PROFILE defaults to full; setting it to remote-safe exposes a restricted set of read, search, draft, calendar, reminder, flag, and read-status tools. Remote deployments should use ICLOUD_MCP_SEND_MODE=drafts and the remote-safe profile so connected clients cannot send mail. Remote access requires the host Mac to remain awake and online.

Tools and capabilities

  • Inspect configured accounts, inbox statistics, sender rankings, unread senders, folders, and move progress.
  • Read paginated inbox results or retrieve complete messages by UID.
  • Search and count messages using keywords and filters such as date, sender, domain, and read status.
  • Move, delete, flag, or mark messages individually or in bulk.
  • Create, rename, delete, and empty iCloud Mail folders, with an empty-folder requirement for folder deletion.
  • Work with iCloud Contacts, CalDAV calendars, and Reminders, including calendar bulk operations and conflict checks.

Limitations and notes

An app-specific iCloud password is required. Remote mode is intended for drafts rather than sending mail when configured with the recommended restricted profile. Local state and audit data are written outside the repository; the audit log records tool metadata and counts rather than message bodies, subjects, arguments, or error text. The server is an independent project and is not affiliated with Anthropic or xAI.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Icloud MCP

icloud-mcp is an MCP server that connects AI clients to iCloud Mail, Contacts, Calendar, and Reminders. Its main tools search, read, summarize, move, delete, flag, and mark iCloud emails, while also supporting mailbox management and calendar, contact, and reminder workflows.

Install it with npm or run it through npx. Use `npm install -g icloud-mcp`, or configure an MCP client to launch `npx -y icloud-mcp` with `IMAP_USER` and `IMAP_PASSWORD` set to an iCloud address and app-specific password.

Yes, icloud-mcp works with Claude Desktop over a local stdio connection. Add an MCP server entry that launches `npx -y icloud-mcp`, provide the iCloud credential environment variables, then fully restart Claude Desktop.

Pass `dryRun: true` to the bulk deletion tool. The response reports the messages and counts that would be affected without changing the mailbox; `count_emails` can also estimate the matching total before a bulk move or delete.

Yes, it supports Streamable HTTP for remote deployments. The server runs on a Mac behind the configured tunnel and access policy, and the Mac must stay awake and online; remote setups should use drafts-only sending and the `remote-safe` tool profile.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewIcloud MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/icloud-mcp-4?style=directory)](https://allmcps.com/mcp/icloud-mcp-4)
HTML Embed
<a href="https://allmcps.com/mcp/icloud-mcp-4"><img src="https://allmcps.com/api/badge/icloud-mcp-4?style=directory" alt="Icloud MCP on AllMCPs" /></a>