{
  "slug": "io-github-chrischall-apple-icloud-mcp",
  "name": "io.github.chrischall/apple-icloud-mcp",
  "title": "apple-icloud-mcp",
  "description": "Unofficial: Apple Music, iCloud Calendar/Contacts/Mail, Apple Maps and WeatherKit, no Mac needed",
  "version": "0.3.7",
  "publishedAt": "2026-10-20T22:26:26.86919Z",
  "updatedAt": "2026-10-20T22:26:26.86919Z",
  "repoUrl": "https://github.com/chrischall/apple-icloud-mcp",
  "websiteUrl": null,
  "namespace": {
    "type": "github",
    "owner": "chrischall"
  },
  "kind": "local",
  "packages": [
    {
      "registryType": "npm",
      "identifier": "apple-icloud-mcp",
      "version": "0.3.7",
      "transport": "stdio",
      "runtimeHint": null
    }
  ],
  "remotes": [],
  "envVars": [
    {
      "name": "APPLE_TEAM_ID",
      "isSecret": false,
      "isRequired": false,
      "description": "Your Apple Developer Team ID (10 characters). Needed for Apple Music (official API), Apple Maps and WeatherKit."
    },
    {
      "name": "APPLE_KEY_ID",
      "isSecret": false,
      "isRequired": false,
      "description": "Key ID of a private key created in Certificates, Identifiers & Profiles → Keys with Media Services (MusicKit), MapKit JS and/or WeatherKit enabled."
    },
    {
      "name": "APPLE_PRIVATE_KEY",
      "isSecret": true,
      "isRequired": false,
      "description": "Contents of that key's .p8 file (PEM; one-line values with \\n escapes and base64 are accepted)."
    },
    {
      "name": "APPLE_PRIVATE_KEY_PATH",
      "isSecret": false,
      "isRequired": false,
      "description": "Local installs only: a path to the .p8 file instead of APPLE_PRIVATE_KEY."
    },
    {
      "name": "APPLE_MUSIC_KEY_ID",
      "isSecret": false,
      "isRequired": false,
      "description": "Optional per-service override of APPLE_KEY_ID for Apple Music (pair with APPLE_MUSIC_PRIVATE_KEY)."
    },
    {
      "name": "APPLE_MUSIC_PRIVATE_KEY",
      "isSecret": true,
      "isRequired": false,
      "description": "Optional per-service override of APPLE_PRIVATE_KEY for Apple Music."
    },
    {
      "name": "APPLE_MAPS_KEY_ID",
      "isSecret": false,
      "isRequired": false,
      "description": "Optional per-service override of APPLE_KEY_ID for Apple Maps."
    },
    {
      "name": "APPLE_MAPS_PRIVATE_KEY",
      "isSecret": true,
      "isRequired": false,
      "description": "Optional per-service override of APPLE_PRIVATE_KEY for Apple Maps."
    },
    {
      "name": "APPLE_WEATHERKIT_KEY_ID",
      "isSecret": false,
      "isRequired": false,
      "description": "Optional per-service override of APPLE_KEY_ID for WeatherKit."
    },
    {
      "name": "APPLE_WEATHERKIT_PRIVATE_KEY",
      "isSecret": true,
      "isRequired": false,
      "description": "Optional per-service override of APPLE_PRIVATE_KEY for WeatherKit."
    },
    {
      "name": "APPLE_WEATHERKIT_SERVICE_ID",
      "isSecret": false,
      "isRequired": false,
      "description": "WeatherKit only: the Services ID registered for WeatherKit (e.g. com.example.weather)."
    },
    {
      "name": "APPLE_MUSIC_DEVELOPER_TOKEN",
      "isSecret": true,
      "isRequired": false,
      "description": "Optional: a pre-minted Apple Music developer token (JWT) instead of signing one from the key above."
    },
    {
      "name": "APPLE_MUSIC_USER_TOKEN",
      "isSecret": true,
      "isRequired": false,
      "description": "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 --print-developer-token) and run it with APPLE_MUSIC_DEVELOPER_TOKEN set. Lasts ~6 months."
    },
    {
      "name": "APPLE_MUSIC_WEB_USER_TOKEN",
      "isSecret": true,
      "isRequired": false,
      "description": "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."
    },
    {
      "name": "APPLE_MUSIC_WEB_DEVELOPER_TOKEN",
      "isSecret": true,
      "isRequired": false,
      "description": "Optional override for the web-player developer token (normally read automatically from music.apple.com)."
    },
    {
      "name": "APPLE_MUSIC_STOREFRONT",
      "isSecret": false,
      "isRequired": false,
      "description": "Two-letter Apple Music storefront (e.g. us, gb). Default: your account's storefront, else us."
    },
    {
      "name": "ICLOUD_USERNAME",
      "isSecret": false,
      "isRequired": false,
      "description": "Your Apple ID email, for iCloud Calendar, Contacts and Mail."
    },
    {
      "name": "ICLOUD_APP_PASSWORD",
      "isSecret": true,
      "isRequired": false,
      "description": "An app-specific password from appleid.apple.com → Sign-In and Security → App-Specific Passwords (NOT your Apple ID password)."
    },
    {
      "name": "ICLOUD_MAIL_ADDRESS",
      "isSecret": false,
      "isRequired": false,
      "description": "Your @icloud.com address, only if your Apple ID email is not an iCloud address (needed for Mail)."
    },
    {
      "name": "ICLOUD_DEFAULT_CALENDAR",
      "isSecret": false,
      "isRequired": false,
      "description": "Calendar new events go to when none is named (default: the first writable event calendar)."
    },
    {
      "name": "APPLE_WRITE_MODE",
      "isSecret": false,
      "isRequired": false,
      "description": "\"none\" = read-only tools; \"additive\" = also create/append, never modify, delete or send; \"all\" = everything (default). Unrecognized values fail closed to \"none\"."
    },
    {
      "name": "APPLE_SERVICES",
      "isSecret": false,
      "isRequired": false,
      "description": "Comma-separated services to enable (music, calendar, contacts, mail, maps, weather, itunes). Default: all."
    },
    {
      "name": "DISPLAY_TZ",
      "isSecret": false,
      "isRequired": false,
      "description": "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."
    },
    {
      "name": "APPLE_UNITS",
      "isSecret": false,
      "isRequired": false,
      "description": "\"metric\" (default) or \"imperial\" units for weather (Maps distances always show both)."
    },
    {
      "name": "APPLE_STATE_CACHE",
      "isSecret": false,
      "isRequired": false,
      "description": "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 long as the process."
    },
    {
      "name": "APPLE_REQUEST_TIMEOUT_MS",
      "isSecret": false,
      "isRequired": false,
      "description": "Per-request timeout in milliseconds (default 30000)."
    },
    {
      "name": "APPLE_DEBUG_LOG",
      "isSecret": false,
      "isRequired": false,
      "description": "Set to 1 to log every upstream request line to stderr (credentials redacted)."
    },
    {
      "name": "MCP_CONFIRM_MODE",
      "isSecret": false,
      "isRequired": false,
      "description": "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), \"auto\", or \"refuse\". Unknown values mean refuse."
    },
    {
      "name": "MCP_CONFIRM_ELICITATION",
      "isSecret": false,
      "isRequired": false,
      "description": "\"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 other value stays \"on\" (with a stderr warning)."
    },
    {
      "name": "MCP_CONFIRM_TTL_SECONDS",
      "isSecret": false,
      "isRequired": false,
      "description": "Lifetime of a confirmToken in seconds (default 600)."
    },
    {
      "name": "MCP_CONFIRM_SECRET",
      "isSecret": true,
      "isRequired": false,
      "description": "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)."
    }
  ],
  "category": "ai-media",
  "subcategory": "audio",
  "company": "",
  "categoryAuto": true,
  "checks": [
    {
      "id": "source-linked",
      "label": "Source repository linked",
      "result": "pass",
      "detail": "https://github.com/chrischall/apple-icloud-mcp"
    },
    {
      "id": "version-pinned",
      "label": "Version pinned",
      "result": "pass",
      "detail": "Every package has an explicit version"
    },
    {
      "id": "secrets-requested",
      "label": "Secrets requested",
      "result": "warn",
      "detail": "Asks for 10 secrets: APPLE_PRIVATE_KEY, APPLE_MUSIC_PRIVATE_KEY, APPLE_MAPS_PRIVATE_KEY, APPLE_WEATHERKIT_PRIVATE_KEY, APPLE_MUSIC_DEVELOPER_TOKEN, APPLE_MUSIC_USER_TOKEN, APPLE_MUSIC_WEB_USER_TOKEN, APPLE_MUSIC_WEB_DEVELOPER_TOKEN, ICLOUD_APP_PASSWORD, MCP_CONFIRM_SECRET"
    },
    {
      "id": "known-registry",
      "label": "Known package registry",
      "result": "pass",
      "detail": "All packages come from npm, PyPI, OCI, NuGet or MCPB"
    },
    {
      "id": "namespace",
      "label": "Namespace ownership",
      "result": "info",
      "detail": "Name verified via GitHub account chrischall"
    },
    {
      "id": "meta-text",
      "label": "Registry text aimed at the AI",
      "result": "pass",
      "detail": "Description and settings contain no hidden characters or instructions to the AI"
    },
    {
      "id": "install-scripts",
      "label": "Install scripts",
      "result": "pass",
      "detail": "apple-icloud-mcp@0.3.7 runs nothing at install"
    },
    {
      "id": "code-flags",
      "label": "Code red flags",
      "result": "pass",
      "detail": "Read 88 files in apple-icloud-mcp@0.3.7: no obfuscation, encoded execution, credential reads or data-collection endpoints found"
    },
    {
      "id": "ai-text",
      "label": "Text aimed at the AI",
      "result": "pass",
      "detail": "No hidden characters or instructions to the AI in 88 files, including comments and the README"
    }
  ],
  "scannedAt": "2026-10-29",
  "level": "Scanned",
  "install": [
    {
      "label": "Claude Desktop (npm)",
      "kind": "claude_desktop_json",
      "text": "{\n  \"mcpServers\": {\n    \"apple-icloud-mcp\": {\n      \"command\": \"npx\",\n      \"args\": [\n        \"-y\",\n        \"apple-icloud-mcp@0.3.7\"\n      ]\n    }\n  }\n}"
    }
  ],
  "curated": true,
  "stars": 0,
  "archived": false,
  "pushedAt": "2026-10-24T21:44:52Z",
  "health": {
    "score": 47,
    "parts": {
      "popularity": 0.2133972232576471,
      "activity": 0.6,
      "issues": null,
      "security": 0.8
    },
    "fail": 0,
    "warn": 1,
    "raw": {
      "stars": 0,
      "forks": 0,
      "downloads": 182,
      "hn": null,
      "issuesOpen": 0,
      "issuesClosed": 5,
      "prsMerged": 57,
      "commits90": 0,
      "release": "2026-10-20T22:23:36Z",
      "pushed": "2026-10-24T21:44:52Z",
      "growth": null,
      "growthDays": null,
      "archived": false
    },
    "at": "2026-10-31T07:35:52.424Z"
  }
}
