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: apple-music-mcp
🔌 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. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Maintenance
Related MCP Connectors
MCP connector for iMessage & Contacts via a local Mac agent + Vercel relay
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
iTunes Search MCP — Apple's public catalog search
MCP connector that lets ChatGPT list, search, and run your Apple Shortcuts via a local Mac agent
Related MCP Servers
- AlicenseNot gradedqualityFmaintenanceMCP server for controlling Apple Music on macOS using JXA (JavaScript for Automation). Manage playback, search tracks, create playlists, and more without API keys.12MIT
- AlicenseNot gradedqualityCmaintenanceMCP server for controlling Apple Music on macOS via AppleScript, enabling playlist management, playback control, and library search through natural language.121MIT
- AlicenseNot gradedqualityBmaintenanceControls Apple Music on macOS via AppleScript, enabling playback, lyrics retrieval, playlist management, and catalog search through an MCP interface.MIT
- AlicenseAqualityCmaintenanceA safe, structured Model Context Protocol server for the local Apple Music app on macOS. It lets an MCP client inspect a library, analyze and manage playlists, control playback, edit supported metadata, and keep a local audit trail.18MIT
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/saitarrun/apple-music-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server