LocalFree server, account needed

iCloud Mail MCP server

JulienRabault/icloud-mcp

iCloud Mail over IMAP and SMTP: search all folders, rebuild threads, save attachments, draft replies and file messages by rule, without marking mail as read.

1 GitHub stars

Install iCloud Mail in Claude Code

Claude Code
claude mcp add icloud-mail -e ICLOUD_EMAIL=... -e ICLOUD_APP_PASSWORD=... -- uvx icloud-mail-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "icloud-mail": {
      "command": "uvx",
      "args": [
        "icloud-mail-mcp"
      ],
      "env": {
        "ICLOUD_EMAIL": "...",
        "ICLOUD_APP_PASSWORD": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the iCloud Mail MCP server do?

iCloud Mail over IMAP and SMTP: search all folders, rebuild threads, save attachments, draft replies and file messages by rule, without marking mail as read.

Is the iCloud Mail MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does iCloud Mail run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add iCloud Mail to Claude Code?

Run: claude mcp add icloud-mail -e ICLOUD_EMAIL=... -e ICLOUD_APP_PASSWORD=... -- uvx icloud-mail-mcp

More communication MCP servers

View all