Applemusic MCP logo

Applemusic MCP

Control Apple Music playlists, library, catalog, discovery, playback, and queues from MCP clients on macOS, Windows, or Linux.

Install Applemusic MCP

Pick your client, then add it in one click or paste the config.

STDIOPython
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "applemusic-mcp": {
      "command": "uvx",
      "args": [
        "applemusic-mcp",
        "serve"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Claude Code command
claude mcp add --transport stdio applemusic-mcp -- uvx applemusic-mcp serve

Run in your terminal. Add --scope project to share it with your team through .mcp.json.

Automated check passed— started and listed 7 tools correctly ().

Overview

applemusic-mcp connects MCP clients to Apple Music for managing playlists and libraries, searching the catalog, discovering music, controlling playback, and editing the Up Next queue. It runs through local Music.app access on macOS, Apple’s music service API, or a Safari/Chrome web player depending on the selected permission level. Use it for local Mac automation, catalog and recommendation workflows, or cross-platform playback and queue control. Python 3.10 or newer is required, and API or web features require Apple Music sign-in.

Use cases

  • Create and organize Apple Music playlists
  • Search the catalog and add music to a library
  • Inspect listening history, favorites, and ratings
  • Control playback and manage the Up Next queue
  • Retrieve recommendations, charts, and artist details

Key features

  • Playlist and folder management
  • Library search, editing, and snapshots
  • Catalog metadata and discovery queries
  • Playback, settings, and AirPlay control
  • Up Next queue management
  • Configurable Music.app, API, and web access

Tools7

What Applemusic MCP lets your agent do. Expand a tool for its parameters.

Verified live~3.3k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

25/25 checks healthy over the last 80d

What it can do

From the 7 tools this server returned when we ran it; 7 declare their own safety hints.

Runs commands · 1Can delete or modify data · 4Makes changes · 5Handles credentials · 2Makes network requests · 7Read-only tools · 2
Network at startup2 connections
Files written at startup16

Observed 2026-12-02 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 5d ago via OSV.dev · applemusic-mcp (PyPI)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars139Stargazers on the source repository.
Last commit23d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed7Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Applemusic MCP works

What applemusic-mcp does

applemusic-mcp exposes Apple Music operations as seven action-based MCP tools. It can inspect and modify playlists, search and update a personal library, query catalog metadata, retrieve recommendations and charts, control playback, and manage the Up Next queue. Configuration actions cover authentication, preferences, permission status, audit logs, and storefront selection.

The server supports macOS, Windows, and Linux, but available operations depend on the engine and permission level. On macOS, the local Music app provides library management, playlists, ratings, playback, AirPlay, and snapshots. The Apple Music API adds catalog, discovery, and cross-platform access. A Safari or Chrome web player supplies browser playback and queue operations.

How it works

Run the server with a permission level that determines which systems it may access:

  • music limits access to the Music app on macOS and does not use the network or a browser.
  • api adds Apple’s online music service and is the starting point for Windows and Linux.
  • web adds a Safari or Chrome player for browser playback and Up Next management.
  • full enables all available access.

--allow-ui can be added at any level when the server must click inside Music.app through macOS Accessibility. This is needed for catalog searches and catalog playback through the app. Web playback requires a desktop browser session; Safari is used on macOS by default, while Chrome is used elsewhere.

Setup and configuration

Install Python 3.10 or newer, then install the package with pipx or pip. A Mac or an Apple Music subscription is required. Chrome is also needed for the Chrome web-player path, with Playwright Chromium installed for that setup.

For Claude Code, register the server with claude mcp add "Apple Music" -- uvx applemusic-mcp serve --level music. Other supported clients can launch applemusic-mcp with arguments such as serve, --level, and the selected permission level.

Use applemusic-mcp login for API or web access. On macOS, it reads the signed-in Safari session; Windows and Linux use Chrome. A Mac login may require enabling Safari’s “Allow JavaScript from Apple Events” setting. The --dev login option accepts an Apple developer token, which can help with bulk operations. status, logout, and reset manage the stored authentication state.

Tools and capabilities

  • playlist lists, searches, creates, renames, copies, moves, and deletes playlists and folders, and manages playlist tracks.
  • library searches and browses the library, adds or removes items, retrieves favorites and listening history, applies ratings, and creates snapshots.
  • catalog searches and resolves music, then returns album, song, artist, genre, and suggestion data.
  • discover retrieves recommendations, charts, top songs, heavy rotation, similar artists, and personal or song stations.
  • playback plays tracks, albums, playlists, or URLs and controls transport, settings, visibility, and AirPlay.
  • queue lists and edits Up Next, including play-next, play-last, removal, jumping, clearing, and autoplay.
  • config handles sign-in state, preferences, audit logs, resets, and storefronts.

Limitations and notes

Capabilities vary by engine. The local Music app is macOS-only, while the API and web paths support Windows and Linux. API and web access require sign-in, and API-based features can be affected by rate limits. Catalog playback through Music.app requires an unlocked screen and Accessibility permission when UI access is used.

Safari requires one genuine click in a newly opened or reloaded Apple Music tab before audio can start. Newly created playlists may take a short time to become available through the API. Some Music.app playlist edits can roll back because of a known AppleScript issue; the server detects and reports that condition.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Applemusic MCP

applemusic-mcp is an MCP server that connects AI clients to Apple Music on macOS, Windows, and Linux. Its main tools manage playlists, search and edit the library, query catalog and discovery data, control playback, manage the Up Next queue, and configure sign-in and access settings.

Install it with `pipx install applemusic-mcp` or `pip install applemusic-mcp`, then configure your MCP client to launch `applemusic-mcp serve`. Claude Code can add it with the documented `claude mcp add` command, while browser use may also require Playwright Chromium.

Yes, applemusic-mcp supports Cursor. Install the package, add an MCP server entry that runs `applemusic-mcp` with `serve` and a permission level such as `music` or `api`, then restart Cursor.

Use `music` for local Music.app access on macOS, `api` for Apple’s online service and Windows or Linux workflows, and `web` for browser playback and Up Next. `full` enables all access, while `--allow-ui` adds macOS UI control.

Run `applemusic-mcp login`. On macOS, sign in to music.apple.com in Safari first; Windows and Linux open Chrome for sign-in. Use `applemusic-mcp status` to check authentication, and `login --dev` to use your own Apple developer token.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewApplemusic MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/applemusic-mcp?style=directory)](https://allmcps.com/mcp/applemusic-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/applemusic-mcp"><img src="https://allmcps.com/api/badge/applemusic-mcp?style=directory" alt="Applemusic MCP on AllMCPs" /></a>