apple-music-dj

apple-music-dj is a skill for Claude Code, Codex from suleyman416/mcp-applemusic. It costs 69 tokens per session (1,696 once invoked), scanned A, original, MIT.

Controls Apple Music on macOS and acts as an autonomous AI DJ. Use when the user asks to play music, search songs or albums, control volume or AirPlay devices, manage playlists, view listening history or replay stats, fetch lyrics, import Spotify links, or perform seamless harmonic mixing and beat-matched transitions.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: built for cline.

Install with agentmods
npx agentmods add skills/suleyman416/mcp-applemusic/apple-music-dj
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add suleyman416/mcp-applemusic --skill apple-music-dj
Clone the repo
git clone --depth 1 https://github.com/suleyman416/mcp-applemusic

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for apple-music-dj

README.md
[![agentmods](https://agentmods.dev/badge/skills/suleyman416/mcp-applemusic/apple-music-dj/github.svg)](https://agentmods.dev/skills/suleyman416/mcp-applemusic/apple-music-dj)
Your own site
<a href="https://agentmods.dev/skills/suleyman416/mcp-applemusic/apple-music-dj"><img src="https://agentmods.dev/badge/skills/suleyman416/mcp-applemusic/apple-music-dj/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for apple-music-dj

Your own site · 80×15
<a href="https://agentmods.dev/skills/suleyman416/mcp-applemusic/apple-music-dj"><img src="https://agentmods.dev/badge/skills/suleyman416/mcp-applemusic/apple-music-dj.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 69 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,696 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00069 $0.01696
Opus 5.5 $0.00028 $0.00678
Sonnet 5.5 $0.00014 $0.00339
Haiku 4.5 $0.00007 $0.00170

Measured today against content hash 8f53ae218a39, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

apple-music-dj scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/apple-music-dj/SKILL.md · 127 lines

How it starts

The opening of the file, as written. The whole thing — 127 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Apple Music DJ & Playback Controller

A production-grade agent skill to control Apple Music natively on macOS and deliver professional, beat-matched DJ sets using the mcp-applemusic FastMCP server.


1. Prerequisites & Environment Setup

This skill communicates with macOS Music.app via AppleScript through the mcp-applemusic server.

Agent MCP Configuration

To equip your agent with the tools, ensure apple-music-mcp is configured in your agent's MCP settings:

For Claude Desktop (~/Library/Application Support/Claude/claude_desktop_config.json):

{
  "mcpServers": {
    "applemusic": {
      "command": "uvx",
      "args": ["apple-music-mcp"]
    }
  }
}

For Cursor / Windsurf / VS Code (.cursor/mcp.json or Cline settings):

{
  "mcpServers": {
    "applemusic": {
      "command": "uvx",
      "args": ["apple-music-mcp"]
    }
  }
}

macOS Permission Note: On first execution, macOS will prompt to grant the host application permission to control "Music". Users must click Allow (or toggle it on under System Settings → Privacy & Security → Automation).


2. Tool Reference & Execution Workflows

Playback & Audio Controls

  • Play / Resume: Call itunes_play or itunes_play_song(song_name, artist_name).
  • Pause / Stop: Call itunes_pause.
  • Skip / Previous: Call itunes_next or itunes_previous.
  • Volume Control: Call itunes_set_volume(volume) (0–100 scale).
  • Multi-Room & AirPlay Devices: Call itunes_list_devices to inspect connected devices, and itunes_set_device(device_name) or itunes_set_device_volume(device_name, volume) to adjust remote AirPlay endpoints.
  • Equalizer & Modes: Call itunes_set_eq(preset) (e.g. "Hip-Hop", "Electronic", "Acoustic"), itunes_set_shuffle_mode(mode), and itunes_repeat(mode).

Search & Music Discovery

  • Local Library Search: Call itunes_search(query) for locally added/downloaded music.
  • Apple Music Catalog Search: Call itunes_search_catalog(query, entity) to search the entire worldwide Apple Music streaming catalog.
  • Charts & New Releases: Call itunes_get_top_charts(genre) or itunes_get_new_releases().
  • Universal Share Links: Call itunes_generate_share_link(song_name, artist) to create a universal song.link / Odesli link spanning Spotify, YouTube Music, and Tidal.
  • Spotify Importer: Call itunes_import_from_spotify(spotify_url) to parse public Spotify playlists/albums and import matching tracks into Apple Music without API keys.
  • Synchronized Lyrics: Call itunes_get_lyrics(song_name, artist_name) to pull synced lyrics from LRCLIB.

Read the full file on GitHub · 127 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today First seen · 127 lines · 69 tokens per session scan A 8f53ae218a39

Subscribe to this mod's changes

apple-music-dj is a skill published in the GitHub repository suleyman416/mcp-applemusic (3 stars, last pushed yesterday), licensed MIT. It adds 69 tokens to every session and 1,696 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-10-16.

Related

Other skills, from other repositories

apple-music

Apple Music integration — AppleScript (local Music.app) and the Apple Music API / web player (cross-platform library, playlists, playback, and queue).

epheterson/applemusic-mcp · 35 tokens

apple-notes

Use this skill when the user wants to interact with Apple Notes on macOS - creating, searching, reading, updating, deleting, organizing, or formatting notes and folders. This skill provides access to Apple Notes through MCP tools and includes safe formatting guidance.

sweetrb/apple-notes-mcp · 54 tokens

x-use-inbox

Read X direct messages, triage inbox and request folders, send contextual reviewed messages, and inspect notifications with x-use. Use for unread chats, conversation search or replies, individual DMs, and All or Mentions notifications; use x-use-engage for public-post engagement and profile outreach research.

ihuzaifashoukat/x-use · 64 tokens

x-use-engage

Research X posts or profiles and prepare persona-voice public replies or individual profile outreach drafts with x-use. Use for public engagement, personalized outreach research, or local lead and campaign preparation; use x-use-inbox for incoming messages, conversation replies, and notifications.

ihuzaifashoukat/x-use · 57 tokens

x-use-review

Daily digest for an x-use account covering health, metrics, pending drafts, and queued work in one pass, then approve/reject/process per the user's direction. Use for "how is my account doing", daily check-ins, or before any batch of approvals.

ihuzaifashoukat/x-use · 56 tokens

x-use-threads

Read visible X post/reply threads and prepare or resume multi-post drafts with x-use. Use when the user asks to read, compose, review, or continue a public thread on X; use x-use-inbox for direct-message conversations.

ihuzaifashoukat/x-use · 53 tokens