ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Apple Icloud MCP

โดย chrischallรุ่น 0.4.0i★ –iรันบนเครื่อง
ชื่อใน registryio.github.chrischall/apple-icloud-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

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

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: เที่ยว แผนที่ และอากาศ
  • ต้องใส่ค่าเหล่านี้: 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

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: APPLE_TEAM_ID, APPLE_KEY_ID, APPLE_PRIVATE_KEY, APPLE_PRIVATE_KEY_PATH, APPLE_MUSIC_KEY_ID, APPLE_MUSIC_PRIVATE_KEY, APPLE_MAPS_KEY_ID, APPLE_MAPS_PRIVATE_KEY, APPLE_WEATHERKIT_KEY_ID, APPLE_WEATHERKIT_PRIVATE_KEY, APPLE_WEATHERKIT_SERVICE_ID, APPLE_MUSIC_DEVELOPER_TOKEN, APPLE_MUSIC_USER_TOKEN, APPLE_MUSIC_WEB_USER_TOKEN, APPLE_MUSIC_WEB_DEVELOPER_TOKEN, APPLE_MUSIC_STOREFRONT, ICLOUD_USERNAME, ICLOUD_APP_PASSWORD, ICLOUD_MAIL_ADDRESS, ICLOUD_DEFAULT_CALENDAR, APPLE_WRITE_MODE, APPLE_SERVICES, DISPLAY_TZ, APPLE_UNITS, APPLE_STATE_CACHE, APPLE_REQUEST_TIMEOUT_MS, APPLE_DEBUG_LOG, MCP_CONFIRM_MODE, MCP_CONFIRM_ELICITATION, MCP_CONFIRM_TTL_SECONDS, MCP_CONFIRM_SECRET

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "apple-icloud": {
      "command": "npx",
      "args": [
        "-y",
        "apple-icloud-mcp"
      ],
      "env": {
        "APPLE_TEAM_ID": "ใส่ค่าของคุณ",
        "APPLE_KEY_ID": "ใส่ค่าของคุณ",
        "APPLE_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "APPLE_PRIVATE_KEY_PATH": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_KEY_ID": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "APPLE_MAPS_KEY_ID": "ใส่ค่าของคุณ",
        "APPLE_MAPS_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "APPLE_WEATHERKIT_KEY_ID": "ใส่ค่าของคุณ",
        "APPLE_WEATHERKIT_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "APPLE_WEATHERKIT_SERVICE_ID": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_DEVELOPER_TOKEN": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_USER_TOKEN": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_WEB_USER_TOKEN": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_WEB_DEVELOPER_TOKEN": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_STOREFRONT": "ใส่ค่าของคุณ",
        "ICLOUD_USERNAME": "ใส่ค่าของคุณ",
        "ICLOUD_APP_PASSWORD": "ใส่ค่าของคุณ",
        "ICLOUD_MAIL_ADDRESS": "ใส่ค่าของคุณ",
        "ICLOUD_DEFAULT_CALENDAR": "ใส่ค่าของคุณ",
        "APPLE_WRITE_MODE": "ใส่ค่าของคุณ",
        "APPLE_SERVICES": "ใส่ค่าของคุณ",
        "DISPLAY_TZ": "ใส่ค่าของคุณ",
        "APPLE_UNITS": "ใส่ค่าของคุณ",
        "APPLE_STATE_CACHE": "ใส่ค่าของคุณ",
        "APPLE_REQUEST_TIMEOUT_MS": "ใส่ค่าของคุณ",
        "APPLE_DEBUG_LOG": "ใส่ค่าของคุณ",
        "MCP_CONFIRM_MODE": "ใส่ค่าของคุณ",
        "MCP_CONFIRM_ELICITATION": "ใส่ค่าของคุณ",
        "MCP_CONFIRM_TTL_SECONDS": "ใส่ค่าของคุณ",
        "MCP_CONFIRM_SECRET": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add apple-icloud --env APPLE_TEAM_ID='ใส่ค่าของคุณ' --env APPLE_KEY_ID='ใส่ค่าของคุณ' --env APPLE_PRIVATE_KEY='ใส่ค่าของคุณ' --env APPLE_PRIVATE_KEY_PATH='ใส่ค่าของคุณ' --env APPLE_MUSIC_KEY_ID='ใส่ค่าของคุณ' --env APPLE_MUSIC_PRIVATE_KEY='ใส่ค่าของคุณ' --env APPLE_MAPS_KEY_ID='ใส่ค่าของคุณ' --env APPLE_MAPS_PRIVATE_KEY='ใส่ค่าของคุณ' --env APPLE_WEATHERKIT_KEY_ID='ใส่ค่าของคุณ' --env APPLE_WEATHERKIT_PRIVATE_KEY='ใส่ค่าของคุณ' --env APPLE_WEATHERKIT_SERVICE_ID='ใส่ค่าของคุณ' --env APPLE_MUSIC_DEVELOPER_TOKEN='ใส่ค่าของคุณ' --env APPLE_MUSIC_USER_TOKEN='ใส่ค่าของคุณ' --env APPLE_MUSIC_WEB_USER_TOKEN='ใส่ค่าของคุณ' --env APPLE_MUSIC_WEB_DEVELOPER_TOKEN='ใส่ค่าของคุณ' --env APPLE_MUSIC_STOREFRONT='ใส่ค่าของคุณ' --env ICLOUD_USERNAME='ใส่ค่าของคุณ' --env ICLOUD_APP_PASSWORD='ใส่ค่าของคุณ' --env ICLOUD_MAIL_ADDRESS='ใส่ค่าของคุณ' --env ICLOUD_DEFAULT_CALENDAR='ใส่ค่าของคุณ' --env APPLE_WRITE_MODE='ใส่ค่าของคุณ' --env APPLE_SERVICES='ใส่ค่าของคุณ' --env DISPLAY_TZ='ใส่ค่าของคุณ' --env APPLE_UNITS='ใส่ค่าของคุณ' --env APPLE_STATE_CACHE='ใส่ค่าของคุณ' --env APPLE_REQUEST_TIMEOUT_MS='ใส่ค่าของคุณ' --env APPLE_DEBUG_LOG='ใส่ค่าของคุณ' --env MCP_CONFIRM_MODE='ใส่ค่าของคุณ' --env MCP_CONFIRM_ELICITATION='ใส่ค่าของคุณ' --env MCP_CONFIRM_TTL_SECONDS='ใส่ค่าของคุณ' --env MCP_CONFIRM_SECRET='ใส่ค่าของคุณ' -- npx -y apple-icloud-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "apple-icloud": {
      "command": "npx",
      "args": [
        "-y",
        "apple-icloud-mcp"
      ],
      "env": {
        "APPLE_TEAM_ID": "ใส่ค่าของคุณ",
        "APPLE_KEY_ID": "ใส่ค่าของคุณ",
        "APPLE_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "APPLE_PRIVATE_KEY_PATH": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_KEY_ID": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "APPLE_MAPS_KEY_ID": "ใส่ค่าของคุณ",
        "APPLE_MAPS_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "APPLE_WEATHERKIT_KEY_ID": "ใส่ค่าของคุณ",
        "APPLE_WEATHERKIT_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "APPLE_WEATHERKIT_SERVICE_ID": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_DEVELOPER_TOKEN": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_USER_TOKEN": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_WEB_USER_TOKEN": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_WEB_DEVELOPER_TOKEN": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_STOREFRONT": "ใส่ค่าของคุณ",
        "ICLOUD_USERNAME": "ใส่ค่าของคุณ",
        "ICLOUD_APP_PASSWORD": "ใส่ค่าของคุณ",
        "ICLOUD_MAIL_ADDRESS": "ใส่ค่าของคุณ",
        "ICLOUD_DEFAULT_CALENDAR": "ใส่ค่าของคุณ",
        "APPLE_WRITE_MODE": "ใส่ค่าของคุณ",
        "APPLE_SERVICES": "ใส่ค่าของคุณ",
        "DISPLAY_TZ": "ใส่ค่าของคุณ",
        "APPLE_UNITS": "ใส่ค่าของคุณ",
        "APPLE_STATE_CACHE": "ใส่ค่าของคุณ",
        "APPLE_REQUEST_TIMEOUT_MS": "ใส่ค่าของคุณ",
        "APPLE_DEBUG_LOG": "ใส่ค่าของคุณ",
        "MCP_CONFIRM_MODE": "ใส่ค่าของคุณ",
        "MCP_CONFIRM_ELICITATION": "ใส่ค่าของคุณ",
        "MCP_CONFIRM_TTL_SECONDS": "ใส่ค่าของคุณ",
        "MCP_CONFIRM_SECRET": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "apple-icloud": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "apple-icloud-mcp"
      ],
      "env": {
        "APPLE_TEAM_ID": "ใส่ค่าของคุณ",
        "APPLE_KEY_ID": "ใส่ค่าของคุณ",
        "APPLE_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "APPLE_PRIVATE_KEY_PATH": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_KEY_ID": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "APPLE_MAPS_KEY_ID": "ใส่ค่าของคุณ",
        "APPLE_MAPS_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "APPLE_WEATHERKIT_KEY_ID": "ใส่ค่าของคุณ",
        "APPLE_WEATHERKIT_PRIVATE_KEY": "ใส่ค่าของคุณ",
        "APPLE_WEATHERKIT_SERVICE_ID": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_DEVELOPER_TOKEN": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_USER_TOKEN": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_WEB_USER_TOKEN": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_WEB_DEVELOPER_TOKEN": "ใส่ค่าของคุณ",
        "APPLE_MUSIC_STOREFRONT": "ใส่ค่าของคุณ",
        "ICLOUD_USERNAME": "ใส่ค่าของคุณ",
        "ICLOUD_APP_PASSWORD": "ใส่ค่าของคุณ",
        "ICLOUD_MAIL_ADDRESS": "ใส่ค่าของคุณ",
        "ICLOUD_DEFAULT_CALENDAR": "ใส่ค่าของคุณ",
        "APPLE_WRITE_MODE": "ใส่ค่าของคุณ",
        "APPLE_SERVICES": "ใส่ค่าของคุณ",
        "DISPLAY_TZ": "ใส่ค่าของคุณ",
        "APPLE_UNITS": "ใส่ค่าของคุณ",
        "APPLE_STATE_CACHE": "ใส่ค่าของคุณ",
        "APPLE_REQUEST_TIMEOUT_MS": "ใส่ค่าของคุณ",
        "APPLE_DEBUG_LOG": "ใส่ค่าของคุณ",
        "MCP_CONFIRM_MODE": "ใส่ค่าของคุณ",
        "MCP_CONFIRM_ELICITATION": "ใส่ค่าของคุณ",
        "MCP_CONFIRM_TTL_SECONDS": "ใส่ค่าของคุณ",
        "MCP_CONFIRM_SECRET": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • APPLE_TEAM_ID env
    Your Apple Developer Team ID (10 characters). Needed for Apple Music (official API), Apple Maps and WeatherKit.
  • APPLE_KEY_ID 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 ความลับ 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 env
    Optional per-service override of APPLE_KEY_ID for Apple Music (pair with APPLE_MUSIC_PRIVATE_KEY).
  • APPLE_MUSIC_PRIVATE_KEY ความลับ env
    Optional per-service override of APPLE_PRIVATE_KEY for Apple Music.
  • APPLE_MAPS_KEY_ID env
    Optional per-service override of APPLE_KEY_ID for Apple Maps.
  • APPLE_MAPS_PRIVATE_KEY ความลับ env
    Optional per-service override of APPLE_PRIVATE_KEY for Apple Maps.
  • APPLE_WEATHERKIT_KEY_ID env
    Optional per-service override of APPLE_KEY_ID for WeatherKit.
  • APPLE_WEATHERKIT_PRIVATE_KEY ความลับ 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 ความลับ env
    Optional: a pre-minted Apple Music developer token (JWT) instead of signing one from the key above.
  • APPLE_MUSIC_USER_TOKEN ความลับ 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 ความลับ 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 ความลับ 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 ความลับ 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 ความลับ 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).

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 9 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub chrischall ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด เที่ยว แผนที่ และอากาศi

  • ดาวมากกว่า 0% ของอีก 1737 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 88% ของอีก 1737 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 1737 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Apple Icloud MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: 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

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.4.0) เข้า registry 4 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี CarHauler247 Car Shipping Quotes, Park Graph, Open Transfer Times

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

CarHauler247 Car Shipping Quotes

Car shipping prices between US locations from a licensed auto transport broker, with a booking link.

โดย carhauler247.comเริ่มต้นอัปเดต วันนี้

รันบนคลาวด์✓ carhauler247.com

Park Graph

Find, price and book parking at Park Graph lots: search, quote, hold and session tools.

โดย parkgraph.comเริ่มต้นอัปเดต วันนี้

รันบนคลาวด์✓ parkgraph.com

Open Transfer Times

Check if a flight connection is comfortable, tight or risky, with cited airport data.

โดย joelynli0110เริ่มต้น↓ 1.5K/สัปดาห์อัปเดต วันนี้

รันบนเครื่อง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

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

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx