Reverse engineer anything with agents, from app behavior down to native binaries.
Applemusic MCP
Apple Music MCP server: playlists, library, catalog, playback and the Up Next queue, on macOS, Windows and Linux. A Mac or an Apple Music subscription is all you need.
Install: claude mcp add "Apple Music" -- uvx applemusic-mcp serve
Works with Claude Code, Cursor · 113 GitHub stars
Install
claude mcp add "Apple Music" -- uvx applemusic-mcp serveInstall command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →applemusic-mcp
MCP server for Apple Music. It gives any MCP client (Claude, Cursor, Cline, Windsurf) control of your playlists, library, catalog, discovery, playback, and the Up Next queue. Runs on macOS, Windows, and Linux.
A Mac or an Apple Music subscription is all you need. Four engines, chosen per call: Music.app and Safari on a Mac, the Apple Music API and Chrome on any OS.
Features
Four engines back the server. Native drives the local Music.app on macOS via AppleScript. API uses Apple Music's web API (amp-api.music.apple.com) on any OS. Safari drives your signed-in Safari's MusicKit on macOS (DRM-native, zero install). Chrome runs a local Google Chrome window with MusicKit for DRM audio on any OS. One mode preference picks the engine — auto (default) mixes the best of each: native Music.app for playback on macOS, Safari for the Up Next queue, the API for data, Chrome off-mac. Pin one with native / safari / chrome / api, or override a single playback/queue call with engine=. In the table below, the Browser column covers both the Safari and Chrome web players. ✓ supported, ✗ not possible on that engine, — not applicable there.
| Capability | Native (Music.app) macOS | API (amp-api) any OS | Browser (Safari macOS / Chrome any OS) |
|---|---|---|---|
| Catalog search / browse | ✓ | ✓ (+ tokenless resolve) | — |
| Recommendations / charts / suggestions | ✗ | ✓ | — |
| Library search / browse | ✓ | ✓ | — |
| Genre search | ✓ | ✗ | — |
| Recently played / added | ✓ | ✓ | — |
| Add catalog → library | ✓ | ✓ | ✓ (in-page POST) |
| Remove from library | ✓ | ✓ | — |
| Love / dislike | ✓ | ✓ | — |
| 1–5 star ratings | ✓ | ✗ | ✗ |
| Favorites list | ✓ | ✗ | ✗ |
| Playlist create / add / remove / rename | ✓ | ✓ | — |
| Playlist copy | ✓ | ✗ | — |
| Playlist delete | ✓ | ✓ (web token) | — |
| Folders: single level + move in/out | ✓ | ✓ | — |
Folders: nested paths / tree / path |
✓ | ✗ | ✗ |
| Playback: play song / album / playlist / URL | ✓ | — | ✓ |
| Controls: pause / stop / next / prev / seek | ✓ | — | ✓ |
| Settings: volume / shuffle / repeat | ✓ | — | ✓ |
| now_playing | ✓ | — | ✓ |
| Up Next queue: view / next / last / remove / jump / clear / autoplay | ✗ | — | ✓ |
| Reveal in app | ✓ | — | ✓ (navigates page) |
| AirPlay device select | ✓ | ✗ | ✗ |
| Library snapshot / integrity | ✓ | ✗ | ✗ |
| Works with no Apple account | ✓ | ✗ | ✗ |
| Cross-platform (Win/Linux) | ✗ | ✓ | ✓ |
Everything in the API column runs anywhere, no browser and no Music app. Browser playback and the queue need a desktop session and a web player — Safari on macOS (no install) or Google Chrome elsewhere.
Setup
Requirements: Python 3.10+, plus either a Mac or an Apple Music subscription. The Chrome web player (cross-platform playback + Up Next queue) needs Google Chrome + Playwright. On macOS you can skip both — sign in via Safari and play through the Music app — so the default macOS install is lightweight (no ~500 MB Playwright). Windows/Linux include Playwright automatically (it's the only path there).
Claude Code, one line:
claude mcp add "Apple Music" -- uvx applemusic-mcp serve
Claude Desktop / Cursor / Cline / Windsurf, install once, then add the config block:
Similar plugs
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype…
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
A cross-platform desktop All-in-One assistant for Claude Code, Codex, OpenCode, OpenClaw, Grok Build & Hermes Agent. Only official website: ccswitch.io