Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words

Apple Icloud MCP

by chrischallversion 0.5.0i★ 0iRuns on your computerRepository ↗
Registry nameio.github.chrischall/apple-icloud-mcp

How to install

What it does

Unofficial: Apple Music, iCloud Calendar/Contacts/Mail, Apple Maps and WeatherKit, no Mac needed

  • Connects Runs on your computer
  • Account or key Needs APPLE_KEY_ID, APPLE_PRIVATE_KEY, APPLE_MUSIC_USER_TOKEN, APPLE_MUSIC_WEB_USER_TOKEN, ICLOUD_APP_PASSWORD, MCP_CONFIRM_SECRET
  • Category Travel, maps & weather

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity9/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score21/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: 5 (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Apple Icloud MCP. Follow https://mcp.popnx.com/i/chrischall-apple-icloud-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

You need a Apple Icloud MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Apple Icloud MCP for Claude on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "apple-icloud": { "command": "npx", "args": [ "-y", "apple-icloud-mcp" ], "env": { "APPLE_KEY_ID": "your-value", "APPLE_PRIVATE_KEY": "your-value", "APPLE_MUSIC_USER_TOKEN": "your-value", "APPLE_MUSIC_WEB_USER_TOKEN": "your-value", "ICLOUD_APP_PASSWORD": "your-value", "MCP_CONFIRM_SECRET": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For APPLE_KEY_ID, APPLE_PRIVATE_KEY, APPLE_MUSIC_USER_TOKEN, APPLE_MUSIC_WEB_USER_TOKEN, ICLOUD_APP_PASSWORD, MCP_CONFIRM_SECRET, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Apple Icloud MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Apple Icloud MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  4. Paste these settings and save the file

    {
      "mcpServers": {
        "apple-icloud": {
          "command": "npx",
          "args": [
            "-y",
            "apple-icloud-mcp"
          ],
          "env": {
            "APPLE_KEY_ID": "your-value",
            "APPLE_PRIVATE_KEY": "your-value",
            "APPLE_MUSIC_USER_TOKEN": "your-value",
            "APPLE_MUSIC_WEB_USER_TOKEN": "your-value",
            "ICLOUD_APP_PASSWORD": "your-value",
            "MCP_CONFIRM_SECRET": "your-value"
          }
        }
      }
    }

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Quit Claude and open it again

  6. Try it

    Use Apple Icloud MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Apple Icloud MCP or shows a Apple Icloud MCP tool in the answer, you are connected

25 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • APPLE_TEAM_ID Your Apple Developer Team ID (10 characters). Needed for Apple Music (official API), Apple Maps and WeatherKit.
  • APPLE_PRIVATE_KEY_PATH Local installs only: a path to the .p8 file instead of APPLE_PRIVATE_KEY.
  • APPLE_MUSIC_KEY_ID Optional per-service override of APPLE_KEY_ID for Apple Music (pair with APPLE_MUSIC_PRIVATE_KEY).
  • APPLE_MUSIC_PRIVATE_KEY Optional per-service override of APPLE_PRIVATE_KEY for Apple Music.
  • APPLE_MAPS_KEY_ID Optional per-service override of APPLE_KEY_ID for Apple Maps.
  • APPLE_MAPS_PRIVATE_KEY Optional per-service override of APPLE_PRIVATE_KEY for Apple Maps.
  • APPLE_WEATHERKIT_KEY_ID Optional per-service override of APPLE_KEY_ID for WeatherKit.
  • APPLE_WEATHERKIT_PRIVATE_KEY Optional per-service override of APPLE_PRIVATE_KEY for WeatherKit.
  • APPLE_WEATHERKIT_SERVICE_ID WeatherKit only: the Services ID registered for WeatherKit (e.g. com.example.weather).
  • APPLE_MUSIC_DEVELOPER_TOKEN Optional: a pre-minted Apple Music developer token (JWT) instead of signing one from the key above.
  • APPLE_MUSIC_WEB_DEVELOPER_TOKEN Optional override for the web-player developer token (normally read automatically from music.apple.com).
  • APPLE_MUSIC_STOREFRONT Two-letter Apple Music storefront (e.g. us, gb). Default: your account's storefront, else us.
  • ICLOUD_USERNAME Your Apple ID email, for iCloud Calendar, Contacts and Mail.
  • ICLOUD_MAIL_ADDRESS Your @icloud.com address, only if your Apple ID email is not an iCloud address (needed for Mail).
  • ICLOUD_DEFAULT_CALENDAR Calendar new events go to when none is named (default: the first writable event calendar).
  • APPLE_WRITE_MODE "none" = read-only tools; "additive" = also create/append, never modify, delete or send; "all" = everything (default). Unrecognized values fail closed to "none".
  • APPLE_SERVICES Comma-separated services to enable (music, calendar, contacts, mail, maps, weather, itunes). Default: all.
  • DISPLAY_TZ IANA time zone (e.g. America/New_York) for displayed times and for dates you give without an offset. Set this on a hosted server, which runs in UTC.
  • APPLE_UNITS "metric" (default) or "imperial" units for weather (Maps distances always show both).
  • APPLE_STATE_CACHE Set to false to write nothing under $MCP_DATA_DIR/.apple-icloud-mcp: no web-player token or iCloud discovery cache, and the rejected-password latch and spent confirmation tokens then last only as lon…
  • APPLE_REQUEST_TIMEOUT_MS Per-request timeout in milliseconds (default 30000).
  • APPLE_DEBUG_LOG Set to 1 to log every upstream request line to stderr (credentials redacted).
  • MCP_CONFIRM_MODE How confirm-gated writes (send mail, deletes, removing tracks, invitations) behave on a client with no prompt, like claude.ai: "ask-user" (default: preview + confirmToken, the model must get your OK)…
  • MCP_CONFIRM_ELICITATION "off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can prompt but never does (the gated call hangs, e.g. opencode 2.0.x). Any ot…
  • MCP_CONFIRM_TTL_SECONDS Lifetime of a confirmToken in seconds (default 600).

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Apple Icloud MCP yet

Apple Icloud MCP runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Apple Icloud MCP

  • You need a Apple Icloud MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • You need a Apple Icloud MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Apple Icloud MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)
  • You need a Apple Icloud MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

B · Others in Travel, maps & weather that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

You need a Apple Icloud MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Apple Icloud MCP for Claude Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user apple-icloud --env APPLE_KEY_ID=your-value --env APPLE_PRIVATE_KEY=your-value --env APPLE_MUSIC_USER_TOKEN=your-value --env APPLE_MUSIC_WEB_USER_TOKEN=your-value --env ICLOUD_APP_PASSWORD=your-value --env MCP_CONFIRM_SECRET=your-value -- npx -y apple-icloud-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For APPLE_KEY_ID, APPLE_PRIVATE_KEY, APPLE_MUSIC_USER_TOKEN, APPLE_MUSIC_WEB_USER_TOKEN, ICLOUD_APP_PASSWORD, MCP_CONFIRM_SECRET, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Apple Icloud MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Apple Icloud MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  4. Paste this command and press Enter

    claude mcp add --scope user apple-icloud --env APPLE_KEY_ID=your-value --env APPLE_PRIVATE_KEY=your-value --env APPLE_MUSIC_USER_TOKEN=your-value --env APPLE_MUSIC_WEB_USER_TOKEN=your-value --env ICLOUD_APP_PASSWORD=your-value --env MCP_CONFIRM_SECRET=your-value -- npx -y apple-icloud-mcp

    Replace “your-value” with your key before pressing Enter

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Type /mcp in Claude Code

    You should see Apple Icloud MCP listed as connected

  6. Try it

    Use Apple Icloud MCP and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Apple Icloud MCP or shows a Apple Icloud MCP tool in the answer, you are connected

25 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • APPLE_TEAM_ID Your Apple Developer Team ID (10 characters). Needed for Apple Music (official API), Apple Maps and WeatherKit.
  • APPLE_PRIVATE_KEY_PATH Local installs only: a path to the .p8 file instead of APPLE_PRIVATE_KEY.
  • APPLE_MUSIC_KEY_ID Optional per-service override of APPLE_KEY_ID for Apple Music (pair with APPLE_MUSIC_PRIVATE_KEY).
  • APPLE_MUSIC_PRIVATE_KEY Optional per-service override of APPLE_PRIVATE_KEY for Apple Music.
  • APPLE_MAPS_KEY_ID Optional per-service override of APPLE_KEY_ID for Apple Maps.
  • APPLE_MAPS_PRIVATE_KEY Optional per-service override of APPLE_PRIVATE_KEY for Apple Maps.
  • APPLE_WEATHERKIT_KEY_ID Optional per-service override of APPLE_KEY_ID for WeatherKit.
  • APPLE_WEATHERKIT_PRIVATE_KEY Optional per-service override of APPLE_PRIVATE_KEY for WeatherKit.
  • APPLE_WEATHERKIT_SERVICE_ID WeatherKit only: the Services ID registered for WeatherKit (e.g. com.example.weather).
  • APPLE_MUSIC_DEVELOPER_TOKEN Optional: a pre-minted Apple Music developer token (JWT) instead of signing one from the key above.
  • APPLE_MUSIC_WEB_DEVELOPER_TOKEN Optional override for the web-player developer token (normally read automatically from music.apple.com).
  • APPLE_MUSIC_STOREFRONT Two-letter Apple Music storefront (e.g. us, gb). Default: your account's storefront, else us.
  • ICLOUD_USERNAME Your Apple ID email, for iCloud Calendar, Contacts and Mail.
  • ICLOUD_MAIL_ADDRESS Your @icloud.com address, only if your Apple ID email is not an iCloud address (needed for Mail).
  • ICLOUD_DEFAULT_CALENDAR Calendar new events go to when none is named (default: the first writable event calendar).
  • APPLE_WRITE_MODE "none" = read-only tools; "additive" = also create/append, never modify, delete or send; "all" = everything (default). Unrecognized values fail closed to "none".
  • APPLE_SERVICES Comma-separated services to enable (music, calendar, contacts, mail, maps, weather, itunes). Default: all.
  • DISPLAY_TZ IANA time zone (e.g. America/New_York) for displayed times and for dates you give without an offset. Set this on a hosted server, which runs in UTC.
  • APPLE_UNITS "metric" (default) or "imperial" units for weather (Maps distances always show both).
  • APPLE_STATE_CACHE Set to false to write nothing under $MCP_DATA_DIR/.apple-icloud-mcp: no web-player token or iCloud discovery cache, and the rejected-password latch and spent confirmation tokens then last only as lon…
  • APPLE_REQUEST_TIMEOUT_MS Per-request timeout in milliseconds (default 30000).
  • APPLE_DEBUG_LOG Set to 1 to log every upstream request line to stderr (credentials redacted).
  • MCP_CONFIRM_MODE How confirm-gated writes (send mail, deletes, removing tracks, invitations) behave on a client with no prompt, like claude.ai: "ask-user" (default: preview + confirmToken, the model must get your OK)…
  • MCP_CONFIRM_ELICITATION "off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can prompt but never does (the gated call hangs, e.g. opencode 2.0.x). Any ot…
  • MCP_CONFIRM_TTL_SECONDS Lifetime of a confirmToken in seconds (default 600).

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

You need a Apple Icloud MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Apple Icloud MCP for Cursor on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "apple-icloud": { "command": "npx", "args": [ "-y", "apple-icloud-mcp" ], "env": { "APPLE_KEY_ID": "your-value", "APPLE_PRIVATE_KEY": "your-value", "APPLE_MUSIC_USER_TOKEN": "your-value", "APPLE_MUSIC_WEB_USER_TOKEN": "your-value", "ICLOUD_APP_PASSWORD": "your-value", "MCP_CONFIRM_SECRET": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For APPLE_KEY_ID, APPLE_PRIVATE_KEY, APPLE_MUSIC_USER_TOKEN, APPLE_MUSIC_WEB_USER_TOKEN, ICLOUD_APP_PASSWORD, MCP_CONFIRM_SECRET, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Apple Icloud MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Apple Icloud MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  4. Fill in your key

    In the Apple Icloud MCP settings, APPLE_KEY_ID, APPLE_PRIVATE_KEY, APPLE_MUSIC_USER_TOKEN, APPLE_MUSIC_WEB_USER_TOKEN, ICLOUD_APP_PASSWORD, MCP_CONFIRM_SECRET is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in Cursor in Agent mode

  6. Try it

    Use Apple Icloud MCP and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Apple Icloud MCP or shows a Apple Icloud MCP tool in the answer, you are connected

25 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • APPLE_TEAM_ID Your Apple Developer Team ID (10 characters). Needed for Apple Music (official API), Apple Maps and WeatherKit.
  • APPLE_PRIVATE_KEY_PATH Local installs only: a path to the .p8 file instead of APPLE_PRIVATE_KEY.
  • APPLE_MUSIC_KEY_ID Optional per-service override of APPLE_KEY_ID for Apple Music (pair with APPLE_MUSIC_PRIVATE_KEY).
  • APPLE_MUSIC_PRIVATE_KEY Optional per-service override of APPLE_PRIVATE_KEY for Apple Music.
  • APPLE_MAPS_KEY_ID Optional per-service override of APPLE_KEY_ID for Apple Maps.
  • APPLE_MAPS_PRIVATE_KEY Optional per-service override of APPLE_PRIVATE_KEY for Apple Maps.
  • APPLE_WEATHERKIT_KEY_ID Optional per-service override of APPLE_KEY_ID for WeatherKit.
  • APPLE_WEATHERKIT_PRIVATE_KEY Optional per-service override of APPLE_PRIVATE_KEY for WeatherKit.
  • APPLE_WEATHERKIT_SERVICE_ID WeatherKit only: the Services ID registered for WeatherKit (e.g. com.example.weather).
  • APPLE_MUSIC_DEVELOPER_TOKEN Optional: a pre-minted Apple Music developer token (JWT) instead of signing one from the key above.
  • APPLE_MUSIC_WEB_DEVELOPER_TOKEN Optional override for the web-player developer token (normally read automatically from music.apple.com).
  • APPLE_MUSIC_STOREFRONT Two-letter Apple Music storefront (e.g. us, gb). Default: your account's storefront, else us.
  • ICLOUD_USERNAME Your Apple ID email, for iCloud Calendar, Contacts and Mail.
  • ICLOUD_MAIL_ADDRESS Your @icloud.com address, only if your Apple ID email is not an iCloud address (needed for Mail).
  • ICLOUD_DEFAULT_CALENDAR Calendar new events go to when none is named (default: the first writable event calendar).
  • APPLE_WRITE_MODE "none" = read-only tools; "additive" = also create/append, never modify, delete or send; "all" = everything (default). Unrecognized values fail closed to "none".
  • APPLE_SERVICES Comma-separated services to enable (music, calendar, contacts, mail, maps, weather, itunes). Default: all.
  • DISPLAY_TZ IANA time zone (e.g. America/New_York) for displayed times and for dates you give without an offset. Set this on a hosted server, which runs in UTC.
  • APPLE_UNITS "metric" (default) or "imperial" units for weather (Maps distances always show both).
  • APPLE_STATE_CACHE Set to false to write nothing under $MCP_DATA_DIR/.apple-icloud-mcp: no web-player token or iCloud discovery cache, and the rejected-password latch and spent confirmation tokens then last only as lon…
  • APPLE_REQUEST_TIMEOUT_MS Per-request timeout in milliseconds (default 30000).
  • APPLE_DEBUG_LOG Set to 1 to log every upstream request line to stderr (credentials redacted).
  • MCP_CONFIRM_MODE How confirm-gated writes (send mail, deletes, removing tracks, invitations) behave on a client with no prompt, like claude.ai: "ask-user" (default: preview + confirmToken, the model must get your OK)…
  • MCP_CONFIRM_ELICITATION "off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can prompt but never does (the gated call hangs, e.g. opencode 2.0.x). Any ot…
  • MCP_CONFIRM_TTL_SECONDS Lifetime of a confirmToken in seconds (default 600).

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

You need a Apple Icloud MCP key (create it on the maker’s site) · Install Node.js on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Apple Icloud MCP for VS Code on this computer, in this order: 1) Check Node.js with node -v. If it is missing, tell me to install it from https://nodejs.org/en/download; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "apple-icloud": { "type": "stdio", "command": "npx", "args": [ "-y", "apple-icloud-mcp" ], "env": { "APPLE_KEY_ID": "your-value", "APPLE_PRIVATE_KEY": "your-value", "APPLE_MUSIC_USER_TOKEN": "your-value", "APPLE_MUSIC_WEB_USER_TOKEN": "your-value", "ICLOUD_APP_PASSWORD": "your-value", "MCP_CONFIRM_SECRET": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For APPLE_KEY_ID, APPLE_PRIVATE_KEY, APPLE_MUSIC_USER_TOKEN, APPLE_MUSIC_WEB_USER_TOKEN, ICLOUD_APP_PASSWORD, MCP_CONFIRM_SECRET, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Apple Icloud MCP tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install Node.js (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    node -v
    • A version number such as v26.13.1 = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: Open the official download page, pick the LTS version and the click-through installer: .pkg on Mac · .msi on Windows. Double-click and follow it to the end. No curl command needed

    Open the Node.js download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: node -v

    Install once; it works for everything that needs Node.js

  2. Sign up and create a Apple Icloud MCP key

    Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.

    How to get a key is in the maker’s README below

  3. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  4. Fill in your key

    In the Apple Icloud MCP settings, APPLE_KEY_ID, APPLE_PRIVATE_KEY, APPLE_MUSIC_USER_TOKEN, APPLE_MUSIC_WEB_USER_TOKEN, ICLOUD_APP_PASSWORD, MCP_CONFIRM_SECRET is empty; add your key and save

    Paste the key only into the app’s field, never into a chat or to anyone

  5. Open the AI chat in VS Code in Agent mode

  6. Try it

    Use Apple Icloud MCP and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Apple Icloud MCP or shows a Apple Icloud MCP tool in the answer, you are connected

25 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • APPLE_TEAM_ID Your Apple Developer Team ID (10 characters). Needed for Apple Music (official API), Apple Maps and WeatherKit.
  • APPLE_PRIVATE_KEY_PATH Local installs only: a path to the .p8 file instead of APPLE_PRIVATE_KEY.
  • APPLE_MUSIC_KEY_ID Optional per-service override of APPLE_KEY_ID for Apple Music (pair with APPLE_MUSIC_PRIVATE_KEY).
  • APPLE_MUSIC_PRIVATE_KEY Optional per-service override of APPLE_PRIVATE_KEY for Apple Music.
  • APPLE_MAPS_KEY_ID Optional per-service override of APPLE_KEY_ID for Apple Maps.
  • APPLE_MAPS_PRIVATE_KEY Optional per-service override of APPLE_PRIVATE_KEY for Apple Maps.
  • APPLE_WEATHERKIT_KEY_ID Optional per-service override of APPLE_KEY_ID for WeatherKit.
  • APPLE_WEATHERKIT_PRIVATE_KEY Optional per-service override of APPLE_PRIVATE_KEY for WeatherKit.
  • APPLE_WEATHERKIT_SERVICE_ID WeatherKit only: the Services ID registered for WeatherKit (e.g. com.example.weather).
  • APPLE_MUSIC_DEVELOPER_TOKEN Optional: a pre-minted Apple Music developer token (JWT) instead of signing one from the key above.
  • APPLE_MUSIC_WEB_DEVELOPER_TOKEN Optional override for the web-player developer token (normally read automatically from music.apple.com).
  • APPLE_MUSIC_STOREFRONT Two-letter Apple Music storefront (e.g. us, gb). Default: your account's storefront, else us.
  • ICLOUD_USERNAME Your Apple ID email, for iCloud Calendar, Contacts and Mail.
  • ICLOUD_MAIL_ADDRESS Your @icloud.com address, only if your Apple ID email is not an iCloud address (needed for Mail).
  • ICLOUD_DEFAULT_CALENDAR Calendar new events go to when none is named (default: the first writable event calendar).
  • APPLE_WRITE_MODE "none" = read-only tools; "additive" = also create/append, never modify, delete or send; "all" = everything (default). Unrecognized values fail closed to "none".
  • APPLE_SERVICES Comma-separated services to enable (music, calendar, contacts, mail, maps, weather, itunes). Default: all.
  • DISPLAY_TZ IANA time zone (e.g. America/New_York) for displayed times and for dates you give without an offset. Set this on a hosted server, which runs in UTC.
  • APPLE_UNITS "metric" (default) or "imperial" units for weather (Maps distances always show both).
  • APPLE_STATE_CACHE Set to false to write nothing under $MCP_DATA_DIR/.apple-icloud-mcp: no web-player token or iCloud discovery cache, and the rejected-password latch and spent confirmation tokens then last only as lon…
  • APPLE_REQUEST_TIMEOUT_MS Per-request timeout in milliseconds (default 30000).
  • APPLE_DEBUG_LOG Set to 1 to log every upstream request line to stderr (credentials redacted).
  • MCP_CONFIRM_MODE How confirm-gated writes (send mail, deletes, removing tracks, invitations) behave on a client with no prompt, like claude.ai: "ask-user" (default: preview + confirmToken, the model must get your OK)…
  • MCP_CONFIRM_ELICITATION "off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can prompt but never does (the gated call hangs, e.g. opencode 2.0.x). Any ot…
  • MCP_CONFIRM_TTL_SECONDS Lifetime of a confirmToken in seconds (default 600).

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Apple Icloud MCP💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user apple-icloud --env APPLE_KEY_ID=your-value --env APPLE_PRIVATE_KEY=your-value --env APPLE_MUSIC_USER_TOKEN=your-value --env APPLE_MUSIC_WEB_USER_TOKEN=your-value --env ICLOUD_APP_PASSWORD=your-value --env MCP_CONFIRM_SECRET=your-value -- npx -y apple-icloud-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "apple-icloud": {
      "command": "npx",
      "args": [
        "-y",
        "apple-icloud-mcp"
      ],
      "env": {
        "APPLE_KEY_ID": "your-value",
        "APPLE_PRIVATE_KEY": "your-value",
        "APPLE_MUSIC_USER_TOKEN": "your-value",
        "APPLE_MUSIC_WEB_USER_TOKEN": "your-value",
        "ICLOUD_APP_PASSWORD": "your-value",
        "MCP_CONFIRM_SECRET": "your-value"
      }
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "apple-icloud": {
      "command": "npx",
      "args": [
        "-y",
        "apple-icloud-mcp"
      ],
      "env": {
        "APPLE_KEY_ID": "your-value",
        "APPLE_PRIVATE_KEY": "your-value",
        "APPLE_MUSIC_USER_TOKEN": "your-value",
        "APPLE_MUSIC_WEB_USER_TOKEN": "your-value",
        "ICLOUD_APP_PASSWORD": "your-value",
        "MCP_CONFIRM_SECRET": "your-value"
      }
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "apple-icloud": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "apple-icloud-mcp"
      ],
      "env": {
        "APPLE_KEY_ID": "your-value",
        "APPLE_PRIVATE_KEY": "your-value",
        "APPLE_MUSIC_USER_TOKEN": "your-value",
        "APPLE_MUSIC_WEB_USER_TOKEN": "your-value",
        "ICLOUD_APP_PASSWORD": "your-value",
        "MCP_CONFIRM_SECRET": "your-value"
      }
    }
  }
}

Values you fill in

  • APPLE_TEAM_ID env
    Your Apple Developer Team ID (10 characters). Needed for Apple Music (official API), Apple Maps and WeatherKit.
  • APPLE_KEY_ID secret required env
    Key ID of a private key created in Certificates, Identifiers & Profiles → Keys with Media Services (MusicKit), MapKit JS and/or WeatherKit enabled.
  • APPLE_PRIVATE_KEY secret required env
    Contents of that key's .p8 file (PEM; one-line values with \n escapes and base64 are accepted).
  • APPLE_PRIVATE_KEY_PATH env
    Local installs only: a path to the .p8 file instead of APPLE_PRIVATE_KEY.
  • APPLE_MUSIC_KEY_ID secret env
    Optional per-service override of APPLE_KEY_ID for Apple Music (pair with APPLE_MUSIC_PRIVATE_KEY).
  • APPLE_MUSIC_PRIVATE_KEY secret env
    Optional per-service override of APPLE_PRIVATE_KEY for Apple Music.
  • APPLE_MAPS_KEY_ID secret env
    Optional per-service override of APPLE_KEY_ID for Apple Maps.
  • APPLE_MAPS_PRIVATE_KEY secret env
    Optional per-service override of APPLE_PRIVATE_KEY for Apple Maps.
  • APPLE_WEATHERKIT_KEY_ID secret env
    Optional per-service override of APPLE_KEY_ID for WeatherKit.
  • APPLE_WEATHERKIT_PRIVATE_KEY secret env
    Optional per-service override of APPLE_PRIVATE_KEY for WeatherKit.
  • APPLE_WEATHERKIT_SERVICE_ID env
    WeatherKit only: the Services ID registered for WeatherKit (e.g. com.example.weather).
  • APPLE_MUSIC_DEVELOPER_TOKEN secret env
    Optional: a pre-minted Apple Music developer token (JWT) instead of signing one from the key above.
  • APPLE_MUSIC_USER_TOKEN secret required env
    Music User Token for your library (official API), from a one-time MusicKit sign-in: `npx apple-icloud-mcp music-auth`. Without the Apple Developer key, ask the owner for a developer token (music-auth…
  • APPLE_MUSIC_WEB_USER_TOKEN secret required env
    Opt-in web-player mode (no developer account needed; unlocks rename/delete/remove/reorder): the media-user-token cookie from a signed-in music.apple.com tab.
  • APPLE_MUSIC_WEB_DEVELOPER_TOKEN secret env
    Optional override for the web-player developer token (normally read automatically from music.apple.com).
  • APPLE_MUSIC_STOREFRONT env
    Two-letter Apple Music storefront (e.g. us, gb). Default: your account's storefront, else us.
  • ICLOUD_USERNAME env
    Your Apple ID email, for iCloud Calendar, Contacts and Mail.
  • ICLOUD_APP_PASSWORD secret required env
    An app-specific password from appleid.apple.com → Sign-In and Security → App-Specific Passwords (NOT your Apple ID password).
  • ICLOUD_MAIL_ADDRESS env
    Your @icloud.com address, only if your Apple ID email is not an iCloud address (needed for Mail).
  • ICLOUD_DEFAULT_CALENDAR env
    Calendar new events go to when none is named (default: the first writable event calendar).
  • APPLE_WRITE_MODE env
    "none" = read-only tools; "additive" = also create/append, never modify, delete or send; "all" = everything (default). Unrecognized values fail closed to "none".
  • APPLE_SERVICES env
    Comma-separated services to enable (music, calendar, contacts, mail, maps, weather, itunes). Default: all.
  • DISPLAY_TZ env
    IANA time zone (e.g. America/New_York) for displayed times and for dates you give without an offset. Set this on a hosted server, which runs in UTC.
  • APPLE_UNITS env
    "metric" (default) or "imperial" units for weather (Maps distances always show both).
  • APPLE_STATE_CACHE env
    Set to false to write nothing under $MCP_DATA_DIR/.apple-icloud-mcp: no web-player token or iCloud discovery cache, and the rejected-password latch and spent confirmation tokens then last only as lon…
  • APPLE_REQUEST_TIMEOUT_MS env
    Per-request timeout in milliseconds (default 30000).
  • APPLE_DEBUG_LOG env
    Set to 1 to log every upstream request line to stderr (credentials redacted).
  • MCP_CONFIRM_MODE env
    How confirm-gated writes (send mail, deletes, removing tracks, invitations) behave on a client with no prompt, like claude.ai: "ask-user" (default: preview + confirmToken, the model must get your OK)…
  • MCP_CONFIRM_ELICITATION env
    "off" never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE flow. Set it for a client that says it can prompt but never does (the gated call hangs, e.g. opencode 2.0.x). Any ot…
  • MCP_CONFIRM_TTL_SECONDS env
    Lifetime of a confirmToken in seconds (default 600).
  • MCP_CONFIRM_SECRET secret required env
    Signing key for confirmTokens. Random per process by default; set it so a token issued just before a restart or redeploy still works (spent tokens are recorded on disk, so none can be replayed).

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
350/wk
Connection
Runs on your computer
Latest versioni
0.5.0
Published to registryi
Nov 12, 2026
Code last changedi
Nov 15, 2026
Maker
chrischall
Packages
npm: apple-icloud-mcp
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account chrischall, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 4 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for apple-icloud-mcp@0.5.0

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/chrischall-apple-icloud-mcp.svg)](https://mcp.popnx.com/en/servers/chrischall-apple-icloud-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Travel, maps & weatheri

  • More stars than 0% of the other 2002 servers in this category
  • Published to the registry more recently than 84% of the other 2002 servers in this category
  • Basic checks equal to or better than 99% of the other 2002 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Apple Icloud MCP safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

You need to fill in: APPLE_KEY_ID, APPLE_PRIVATE_KEY, APPLE_MUSIC_USER_TOKEN, APPLE_MUSIC_WEB_USER_TOKEN, ICLOUD_APP_PASSWORD, MCP_CONFIRM_SECRET

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 4 days ago, and the latest version (0.5.0) reached the registry 7 days ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Node.js on your computer.

What can I use instead?

In the same category: Mu, Award Travel Finder, Killbottleneck, Whimsical, HasData Google Maps

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

Mu

News, web search, mail, markets, weather, places, files, calendar, contacts. 67 tools, one endpoint.

by microGrowing★ 440Updated 4 months ago

Runs in the cloud✓ micro.mu

Whimsical

Create and edit flowcharts, mind maps, wireframes, and docs in Whimsical, or search your workspace.

by WhimsicalCodeEarly★ 11Updated 2 months ago

Runs in the cloud✓ service owner · whimsical.com

HasData Google Maps

Google Maps places, reviews, contributor history, photos and posts as JSON. No Google Cloud.

by HasDataEarly↓ 107/wk★ 10Updated 2 months ago

Computer or cloud✓ service owner · hasdata.com
Compared with similar ones
This one
Apple Icloud MCP
MuAward Travel FinderKillbottleneckWhimsicalHasData Google Maps
Runs whereInstalls on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installInstalls on your computerRuns in the cloud, nothing to installCloud or install on your computer
Needs a keyYesNoNoYesNoYes
Add with + in ClaudeNoNoNoNoYesNo
Basic checks3/34/43/33/34/45/5
LicenseMITAGPL-3.0MITMITMITMIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

apple-icloud-mcp

A Model Context Protocol server that connects Claude to Apple's web services: Apple Music (your playlists, library and the catalog), iCloud Calendar, Contacts and Mail, Apple Maps, WeatherKit, and the iTunes Search API.

It talks to Apple over the network through Apple's own web APIs and standard protocols (CalDAV, CardDAV, IMAP/SMTP), so — unlike Mac-only Apple integrations such as apple-swift-mcp — it runs anywhere: Linux, Windows, a container, or hosted on mcp-host as a claude.ai connector. The two complement each other: apple-swift-mcp drives the Mac's own apps (Calendar, Reminders, Contacts, Mail, Messages, Notes, Photos, Maps, and Music.app playlists), while apple-icloud-mcp reaches Apple's web services from anywhere and adds the Apple Music catalog, WeatherKit and iTunes.

[!NOTE]

Unofficial. This project is not affiliated with, endorsed by or sponsored by Apple Inc. Apple, iCloud,

Apple Music, Apple Maps and WeatherKit are trademarks of Apple Inc., used here only to name the services it

connects to.

[!WARNING]

AI-developed project. This codebase was entirely built and is actively maintained by

Claude Code. No human has audited the implementation. Review all code

and tool permissions before use.

[!IMPORTANT]

Not yet verified against a live Apple account. Every request shape comes from Apple's documentation or

Apple's own web client and is covered by tests against faithful fakes, but the build environment had no

Apple credentials. The first real run is the real verification — run apple_healthcheck first, and see

docs/APPLE-API.md for what each call relies on.

What you can do

  • *"Make a playlist called Road Trip 2026 with twenty upbeat 80s songs"*
  • *"Add the top 5 songs from Taylor Swift's latest album to my Workout playlist"*
  • *"Remove duplicates from my Chill playlist and sort it by artist"* (web-player mode)
  • *"What have I been listening to on heavy rotation?"* / *"Show my Apple Music Replay for this year"*
  • *"What's on my calendar next week?"* / *"Find me a free hour on Thursday afternoon"*
  • *"Move my dentist appointment to Friday at 3pm"*
  • *"What's Jane's phone number?"* / *"Add Bob Lee from Acme with bob@acme.com to my contacts"*
  • *"Any unread email from my landlord?"* / *"Reply to the last message from Sam saying I'll be there"*
  • *"How long will it take to drive to the airport at 5pm?"* / *"Coffee shops near Union Square"*
  • *"Will it rain in Chicago tomorrow?"*
  • *"Find the podcast Hard Fork and list its latest episodes"* / *"What are the top albums in the UK right now?"*

Services and what each needs

Every service is optional: each one switches on when its credentials are present, and apple_healthcheck tells you which are working.

ServiceWhat you getCredentialCost
Apple Music (official API)Catalog search, charts, your library, playlists (create, add tracks, folders), history, recommendations, Replay, ratings, favoritesApple Developer key + a Music User TokenApple Developer Program ($99/yr) + Apple Music subscription
Apple Music (web-player mode, opt-in, unofficial)Everything above plus rename/delete playlists, remove/reorder/sort/dedupe tracks, move to folders, remove from libraryThe media-user-token cookie from music.apple.comApple Music subscription only
iCloud Calendar (CalDAV)List/search events (recurring ones expanded), create/update/delete with correct time zones and recurrence, free-time finderApple ID + app-specific passwordFree
iCloud Contacts (CardDAV)Search, read, create, update (per-email/phone edits), delete, groupsApple ID + app-specific passwordFree
iCloud Mail (IMAP/SMTP)List mailboxes, search, read (without marking read), send and reply, flag, moveApple ID + app-specific passwordFree
Apple Maps (Maps Server API)Geocode, reverse geocode, place search, directions, ETAs, signed map-image URLsApple Developer keyFree up to 25,000 calls/day
WeatherKitCurrent conditions, hourly/daily forecast, next-hour precipitation, severe-weather alertsApple Developer key + Services IDFree up to 500,000 calls/month
iTunes Search + chartsSearch/lookup songs, albums, podcasts (with episodes), apps, books, audiobooks; top chartsNoneFree

Requirements

  • Node.js 22 or later (the hosted runner uses Node 26).
  • Whatever the services you want need (table above).

Acknowledgement of Terms

By using this MCP server, you acknowledge and agree to the following:

1. It accesses your own Apple accounts only, with credentials you supply. It cannot reach anyone else's data, and on a shared deployment each person's Apple ID stays in their own process.

2. Apple's terms govern your use, just as they govern your direct use of Apple's services — in particular the Apple Media Services Terms, the iCloud Terms and Conditions and, for the developer-key services, the Apple Developer Program License Agreement. The iCloud Terms say you may not *"interfere with or disrupt the Service (including accessing the Service through any automated means, like scripts or web crawlers)"*. The iCloud paths here use the mechanism Apple provides for third-party apps — app-specific passwords over CalDAV, CardDAV and IMAP/SMTP — at the pace of a person using an assistant. Apple Music web-player mode is different: it uses Apple's private web-player API with your browser session, which Apple has said may be blocked at any time. It is off unless you turn it on. Terms read by the maintainer 2026-09-26.

3. Personal use only. This project is not affiliated with, endorsed by, or sponsored by Apple Inc. "Apple", "Apple Music", "iCloud" and related marks are Apple's. Do not share your credentials, and do not use this to bulk-extract data.

4. Writes are real. Creating a calendar event with attendees makes iCloud email them invitations; sending mail sends it; deleting a playlist or contact deletes it. Those actions ask for confirmation first (see Confirmation), and APPLE_WRITE_MODE can remove write tools entirely.

5. You accept full responsibility for the consequences, technical (rate limits, a locked account after repeated failed sign-ins) and otherwise.

This is the maintainer's good-faith summary, not legal advice, and it does not modify or supersede Apple's actual terms.

Installation

Claude Code
claude mcp add apple -- npx -y apple-icloud-mcp

then set the variables for the services you want (see Setting up credentials) in the server's env, for example in .mcp.json:

{

"mcpServers": { "apple": { "command": "npx", "args": ["-y", "apple-icloud-mcp"], "env": { "ICLOUD_USERNAME": "you@icloud.com", "ICLOUD_APP_PASSWORD": "abcd-efgh-ijkl-mnop", "DISPLAY_TZ": "America/New_York" } } } }

Claude Desktop

Install the .mcpb bundle from the latest release and fill in the settings it asks for, or add the same npx entry to claude_desktop_config.json.

From source
git clone https://github.com/chrischall/apple-icloud-mcp.git && cd apple-icloud-mcp

npm install && npm run build cp .env.example .env # fill in what you need npm run dev

Setting up credentials

iCloud Calendar, Contacts and Mail — an app-specific password
  1. Sign in at appleid.apple.com → Sign-In and Security → App-Specific Passwords → generate one (two-factor authentication must be on).
  2. Set ICLOUD_USERNAME (your Apple ID email) and ICLOUD_APP_PASSWORD (the xxxx-xxxx-xxxx-xxxx password). Your normal Apple ID password does not work here.
  3. If your Apple ID is not an @icloud.com / @me.com address, also set ICLOUD_MAIL_ADDRESS to your iCloud Mail address (Mail only).

Changing your Apple ID password revokes every app-specific password — the usual reason a working setup suddenly returns "credentials rejected". After a definitive rejection the server stops sending that password — for 24 hours or until you change it, across restarts too (it records a digest of the rejected pair, never the password) — because repeated failed sign-ins can lock an Apple ID.

Reminders are not available: since iOS 13, iCloud Reminders no longer sync over CalDAV (see Not supported).

Apple Developer key — Apple Music (official), Apple Maps, WeatherKit

These three need a paid Apple Developer Program membership.

  1. In Certificates, Identifiers & Profiles, create the identifiers for the services you want: a Media ID (Apple Music), a Maps ID (Apple Maps), and a Services ID for WeatherKit.
  2. Under Keys, create a key and tick Media Services (MusicKit), MapKit JS and/or WeatherKit. One key can carry all three. Download the .p8 (you only get one chance).
  3. Set APPLE_TEAM_ID, APPLE_KEY_ID and APPLE_PRIVATE_KEY (the .p8 contents — multi-line PEM, a one-line value with \n escapes, or base64 all work). For WeatherKit also set APPLE_WEATHERKIT_SERVICE_ID. Separate keys per service are supported with APPLE_MUSIC_KEY_ID / APPLE_MUSIC_PRIVATE_KEY, APPLE_MAPS_… and APPLE_WEATHERKIT_….

The server signs short-lived tokens itself (12 hours for Apple Music, 1 hour for Maps and WeatherKit).

Apple Music — your library (official API): a Music User Token

Catalog search works with the developer key alone. Your library and playlists also need a Music User Token, which Apple only issues through an interactive MusicKit sign-in in a browser. With the developer key set, run:

npx apple-icloud-mcp music-auth

It opens a page on 127.0.0.1, you click Sign in with Apple Music, and it prints APPLE_MUSIC_USER_TOKEN=…. Put that value in APPLE_MUSIC_USER_TOKEN. It lasts about six months, is tied to the developer key that minted it, and changing your Apple ID password revokes it.

Someone without the developer key (another person on a shared deployment) never needs the .p8. The key's owner runs npx apple-icloud-mcp music-auth --print-developer-token --days 7 and sends them the short-lived token it prints; they run APPLE_MUSIC_DEVELOPER_TOKEN= npx apple-icloud-mcp music-auth on their own machine, sign in, and keep the user token it prints. The developer token expires on its own; the user token keeps working with the server's key.

Apple Music — web-player mode (opt-in, unofficial)

Apple's official API cannot rename or delete playlists, remove or reorder tracks, or remove anything from your library. Apple's own web player can. Web-player mode uses that same private API with your browser session:

  1. Sign in at music.apple.com in a desktop browser.
  2. Open the developer tools → Application/Storage → Cookies → https://music.apple.com and copy the value of the `media-user-token` cookie.
  3. Set it as `AP

Only the beginning is shown; read the rest in the repo