Skip to main content
Glama
saitarrun

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-mcp

Option B: Mit uvx

uvx --from git+https://github.com/saitarrun/apple-music-mcp.git apple-music-mcp serve

Option 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.git

Related 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-mcp

2. 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

apple_music_get_cross_platform_charts

Top-Hits aus den Shazam-, Spotify-, YouTube- oder Apple-Music-Charts abrufen.

apple_music_populate_from_charts

Playlist direkt aus beliebigen Charts mit Deduplizierung befüllen.

apple_music_get_music_recommendations

Intelligente Empfehlungen basierend auf Hörverlauf & Künstlern.

apple_music_get_recently_played

Kürzlichen Hörverlauf aus der Apple-Music-Cloud abrufen.

apple_music_get_heavy_rotation

Am häufigsten gespielte Alben und Playlists abrufen.

Wiedergabelisten

apple_music_list_playlists

Alle Playlists der Bibliothek mit Titeln und Beschreibungen auflisten.

apple_music_get_playlist_tracks

Schneller Massenabruf von Titeln (Name, Interpret, Album, Dauer).

apple_music_add_tracks_to_playlist

Paralleles Batch-Hinzufügen ohne Duplikate.

apple_music_remove_tracks_from_playlist

Beziehungs-IDs von Titeln in großen Mengen entfernen.

apple_music_create_playlist

Neue Wiedergabeliste mit eigener Beschreibung erstellen.

apple_music_delete_playlist

Wiedergabeliste sicher löschen, ohne Songs aus der Bibliothek zu entfernen.

apple_music_set_playlist_description

Beschreibung der Wiedergabeliste aktualisieren und mit iCloud synchronisieren.

Katalog

apple_music_search_catalog

Globalen Apple-Music-Katalog durchsuchen (Songs, Alben, Interpreten, Playlists).

apple_music_resolve_song

Exakte Studio-Audio-Katalog-ID für Titel/Interpret ermitteln.

apple_music_get_artist_top_songs

Bestbewertete Songs für jeden Künstler abrufen.

apple_music_get_catalog_playlist_tracks

Titel aus offiziellen, von Apple kuratierten Playlists (pl.xxx) abrufen.

Wiedergabe

apple_music_playback_control

Player steuern (play, pause, skip, volume, shuffle, rate, love).

apple_music_airplay_devices

Verfügbare AirPlay-Lautsprecher und HomePods entdecken.

Kuratierung

apple_music_curation_clean_videos

Video-Einträge entfernen und durch offizielle Studio-Audio-Songs ersetzen.

apple_music_curation_deduplicate

Playlist-Ausgaben deduplizieren und kanonische Titel behalten.

apple_music_curation_merge_playlists

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.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

Latest Blog Posts

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