apple_music_mcp
Apple Music MCP
Ein leistungsstarker Model Context Protocol (MCP)-Server für Apple Music. Duale native macOS-JXA- & Cloud-REST-Engine mit plattformübergreifender Entdeckung, asynchronem Batching und Zero-Timeout-Ausführung.
⚡ Schnellstart
Führen Sie es sofort mit npx oder uvx aus (keine Installation erforderlich):
Option A: Mit npx (empfohlen)
npx -y @saitarrunpitta/apple-music-mcpOption B: Mit uvx
uvx --from git+https://github.com/saitarrun/apple-music-mcp.git apple-music-mcp serveOption C: Lokal über npm oder pip installieren
npm install -g @saitarrunpitta/apple-music-mcp
# or
pip install git+https://github.com/saitarrun/apple-music-mcp.gitRelated MCP server: mcp-applemusic
🔌 MCP-Client-Einrichtung
Fügen Sie apple-music in Sekundenschnelle zu Ihrem bevorzugten KI-Assistenten hinzu:
1. Antigravity / AGY CLI
agy mcp add apple-music -- npx -y @saitarrunpitta/apple-music-mcp2. Claude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"apple-music": {
"command": "npx",
"args": [
"-y",
"@saitarrunpitta/apple-music-mcp"
]
}
}
}3. Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"apple-music": {
"command": "npx",
"args": [
"-y",
"@saitarrunpitta/apple-music-mcp"
]
}
}
}4. Codex MCP
codex mcp add apple-music -- npx -y @saitarrunpitta/apple-music-mcp✨ Funktionen auf einen Blick
⚡ Zero-Timeout-JXA-Engine: Liest Playlists mit über 1.000 Songs in unter 100 ms ohne AppleScript-Freezes.
🌐 Cross-Platform-Charts: Direkte Discovery-Feeds von Shazam, Spotify, YouTube und Apple Music.
🚀 Asynchrones Parallel-Batching: 100+ Songs parallel in unter 1 Sekunde hinzufügen oder entfernen.
🎵 Pure-Audio-Durchsetzung: Filtert Musikvideos und Lyric-Videos automatisch heraus, um Playlists als reine Audioinhalte zu bewahren.
🛡️ 100 % Duplikatschutz: Integriertes Fuzzy-Matching verhindert doppelte Song-Zugaben.
🔐 Automatische Safari-Authentifizierung: Extrahiert Webplayer-Tokens nahtlos aus Safari ohne manuelle API-Schlüssel.
🧠 Intelligente Empfehlungen: Echtzeit-Trackvorschläge basierend auf Ihrem Hörverlauf & Künstlerähnlichkeit.
🛠️ Tool-Referenz
Kategorie | Tool | Beschreibung |
Entdeckung |
| Top-Hits aus den Shazam-, Spotify-, YouTube- oder Apple-Music-Charts abrufen. |
| Playlist direkt aus beliebigen Charts mit Deduplizierung befüllen. | |
| Intelligente Empfehlungen basierend auf Hörverlauf & Künstlern. | |
| Kürzlichen Hörverlauf aus der Apple-Music-Cloud abrufen. | |
| Am häufigsten gespielte Alben und Playlists abrufen. | |
Wiedergabelisten |
| Alle Playlists der Bibliothek mit Titeln und Beschreibungen auflisten. |
| Schneller Massenabruf von Titeln (Name, Interpret, Album, Dauer). | |
| Paralleles Batch-Hinzufügen ohne Duplikate. | |
| Beziehungs-IDs von Titeln in großen Mengen entfernen. | |
| Neue Wiedergabeliste mit eigener Beschreibung erstellen. | |
| Wiedergabeliste sicher löschen, ohne Songs aus der Bibliothek zu entfernen. | |
| Beschreibung der Wiedergabeliste aktualisieren und mit iCloud synchronisieren. | |
Katalog |
| Globalen Apple-Music-Katalog durchsuchen (Songs, Alben, Interpreten, Playlists). |
| Exakte Studio-Audio-Katalog-ID für Titel/Interpret ermitteln. | |
| Bestbewertete Songs für jeden Künstler abrufen. | |
| Titel aus offiziellen, von Apple kuratierten Playlists ( | |
Wiedergabe |
| Player steuern ( |
| Verfügbare AirPlay-Lautsprecher und HomePods entdecken. | |
Kuratierung |
| Video-Einträge entfernen und durch offizielle Studio-Audio-Songs ersetzen. |
| Playlist-Ausgaben deduplizieren und kanonische Titel behalten. | |
| Playlists mit 100%iger Deduplizierung zusammenführen. |
💻 CLI-Befehle
# Check status & active tokens
apple-music-mcp status
# Extract authentication tokens from open Safari session
apple-music-mcp login
# Clear catalog cache
apple-music-mcp clean-cache
# Run MCP server over stdio
apple-music-mcp serve🏷️ Tags & Auffindbarkeit
#ModelContextProtocol #MCP #MCPServer #AppleMusic #ClaudeAI #CursorAI #AnthropicClaude #AIAgents #MusicKit #Spotify #Shazam #YouTubeMusic #AppleScript #Python #OpenSource #DeveloperTools #LLM #Automation #PlaylistGenerator
📄 Lizenz
MIT © saitarrun
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Unified 15-tool SEO, SERP, clean Markdown & GEO (LLM citation Share-of-Voice) MCP server.
Real-time YouTube transcripts, comments, channels & video search MCP. Local npx or hosted OAuth.
Spotify MCP server for ChatGPT, Claude and any AI agent: search songs and artists, list playlists, read playlist songs, create playlist, add songs to playlist, remove songs from playlist, set playlist public or private and save to Liked Songs in your own Spotify account. Cotlet works in the account through your Cloud Browser, a real Chrome where you sign in to Spotify yourself; Cotlet does not store your password and you need no Spotify API key. About the official Spotify API: Spotify has a full Web API and, since 23 Apr 2026, an official connector for Claude (checked 5 Nov 2026). The API needs an app you register, and in development mode the app owner must have Premium and the app allows 5 users; unlimited users need a registered business with at least 250,000 monthly users. Setup and FAQ: https://cotlet.dev/integrations/spotify-api-mcp-server
Remote MCP server for audio stem separation, denoise, reverb, and MIDI export.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceMCP server for controlling Apple Music on macOS using JXA (JavaScript for Automation). Manage playback, search tracks, create playlists, and more without API keys.7 npmMIT
- AlicenseBqualityBmaintenanceThe ultimate 66-tool Apple Music MCP server for macOS: playback, Spotify playlist importer, listening journal, Replay reports, smart DJ crossfades, and AirPlay.663MIT
- FlicenseNot gradedqualityAmaintenanceGives MCP clients control of Apple Music playlists, library, catalog, discovery, playback, and the Up Next queue, using four interchangeable engines that run on macOS, Windows, and Linux. Requires only a Mac or an Apple Music subscription, with the API engine needing no browser or Music app at all.-
- FlicenseNot gradedqualityAmaintenanceEnables any MCP client to control Apple Music playlists, library, catalog, discovery, playback, and the Up Next queue on macOS, Windows, and Linux using selectable native, API, Safari, or Chrome engines. Provides catalog and library search, playlist and folder management, ratings and favorites, playback controls, queue management, AirPlay selection, and cross-platform support with or without an Apple Music subscription.-