apple_music_mcp
Apple Music MCP
Apple Music 向けの高性能 Model Context Protocol (MCP) サーバー。 ネイティブ macOS JXA とクラウド REST エンジンを併用し、クロスプラットフォームなディスカバリー、非同期バッチ処理、ゼロタイムアウト実行を実現。
⚡ クイックスタート
npx または uvx ですぐに実行(インストール不要):
オプションA: npx を使用(推奨)
npx -y @saitarrunpitta/apple-music-mcpオプションB: uvx を使用
uvx --from git+https://github.com/saitarrun/apple-music-mcp.git apple-music-mcp serveオプションC: npm または pip でローカルにインストール
npm install -g @saitarrunpitta/apple-music-mcp
# or
pip install git+https://github.com/saitarrun/apple-music-mcp.gitRelated MCP server: mcp-applemusic
🔌 MCP クライアント設定
apple-music をお好みの AI アシスタントに数秒で追加:
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✨ 機能概要
⚡ ゼロタイムアウトJXAエンジン: AppleScriptのフリーズなしで、1,000曲以上のプレイリストを100ms未満で読み取ります。
🌐 クロスプラットフォームチャート: Shazam、Spotify、YouTube、Apple Music から直接ディスカバリーフィードを取得。
🚀 非同期パラレルバッチ処理: 100曲以上の追加・削除を1秒未満で並列実行。
🎵 オーディオ専用強制: ミュージックビデオや歌詞ビデオを自動的に除外し、プレイリストをオーディオのみに保ちます。
🛡️ 重複100%防止: 内蔵のファジーマッチングにより、曲の重複追加を防止します。
🔐 Safari自動認証: 手動のAPIキーなしで、SafariからWebプレイヤートークンをシームレスに抽出します。
🧠 スマートレコメンデーション: 再生履歴とアーティスト類似性に基づいたリアルタイムのトラック提案。
🛠️ ツールリファレンス
カテゴリ | ツール | 説明 |
ディスカバリー |
| Shazam、Spotify、YouTube、Apple Music のチャートからトップヒットを取得。 |
| 任意のチャートから重複排除付きでプレイリストに直接投入。 | |
| 再生履歴とアーティストに基づくスマートなレコメンデーション。 | |
| Apple Music クラウドから最近の再生履歴を取得。 | |
| 最も再生されたアルバムとプレイリストを取得。 | |
プレイリスト |
| 全ライブラリのプレイリストをトラック数と説明付きで一覧表示。 |
| トラックの高速一括取得(タイトル、アーティスト、アルバム、再生時間)。 | |
| 重複ゼロの並列バッチ追加。 | |
| トラックの関連 ID を一括削除。 | |
| カスタム説明付きで新しいプレイリストを作成。 | |
| ライブラリから曲を削除せずにプレイリストを安全に削除。 | |
| プレイリストの説明を更新し、iCloud に同期。 | |
カタログ |
| グローバルな Apple Music カタログを検索(曲、アルバム、アーティスト、プレイリスト)。 |
| タイトル/アーティストに対応する正確なスタジオオーディオのカタログ ID を特定。 | |
| 任意のアーティストの高評価曲を取得。 | |
| Apple 公式キュレーションプレイリスト( | |
再生 |
| プレーヤーを制御( |
| 利用可能な AirPlay スピーカーと HomePod を検出。 | |
キュレーション |
| 動画エンティティを除去し、公式スタジオオーディオ曲と差し替え。 |
| プレイリストの各エディションを重複排除し、正規のトラックを保持。 | |
| プレイリストを 100% 重複排除でマージ。 |
💻 CLIコマンド
# 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🏷️ タグと検索性
#ModelContextProtocol #MCP #MCPServer #AppleMusic #ClaudeAI #CursorAI #AnthropicClaude #AIAgents #MusicKit #Spotify #Shazam #YouTubeMusic #AppleScript #Python #OpenSource #DeveloperTools #LLM #Automation #PlaylistGenerator
📄 ライセンス
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.-