CM

cifero74/mcp-apple-music

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

44 stars 10 forks 品質 80 トレンド 32MIT

MCP 経由で Claude 用の完全な Apple Music の統合 — 検索カタログ、ライブラリとプレイリストの管理

概要

mcp 名: io.github.Cifero74/mcp-apple-music それはあなたがあなたのApple MusicアカウントにClaudeフルアクセスを与えます - カタログを検索し、あなたの個人的なライブラリをブラウズし、プレイリストを管理し、あなたの聴覚履歴と推奨事項を探求します。 - 「最近聴いたことに基づいて、まだ15曲をお勧めし、新しいプレイリストに追加」 - 「すべてのプレイリストを表示し、どのアーティストが最も表示されるかを教えてください」 - 「Nick Caveによるアルバムを検索し、ダークピックと呼ばれるプレイリストに3つのお気に入りを追加します」 - python 3.10 + - uv (推奨) または pip - An(無料ティアは良いです) MusicKitキー - アクティブ 1.Developer.apple.com → 2. に行く 下の , クリックして新しいキーを作成します。 3. 任意の名前をつけ、有効にし、をクリックします。 4. .p8 ファイル — 一度だけダウンロードできます。 5.(例:ABC123DEF4)および(会員詳細に基づく) キー ID は .p8 ファイルの filename というキー名の横に示す英数字コードです.

概要(AI 翻訳)

mcp 名: io.github.Cifero74/mcp-apple-music

Apple MusicアカウントにClaudeフルアクセスを提供するMCP(Model Context Protocol)サーバーは、カタログを検索し、個人ライブラリを閲覧し、プレイリストを管理し、リスニング履歴と推奨事項を調べます。

アスク・クロードのようなもの:

  • 「最近聴いたことに基づいて、まだ15曲をお勧めし、新しいプレイリストに追加」
  • “私はすべての私のプレイリストを表示し、アーティストが最も表示される私に教えて”
  • 「Nick Caveのアルバムを検索し、ダークピックと呼ばれるプレイリストに3つのお気に入りを追加」

お問い合わせ

##特徴

| ツール | 概要 | お問い合わせ | [search_catalog | アップルミュージックカタログ(ソング、アルバム、アーティスト、プレイリスト)の検索 | | [search_library | パーソナルライブラリー内検索 | | [get_library_songs | ライブラリに保存されたリスト | | [get_library_albums | ライブラリ内のリストアルバム | | [get_library_artists | 掲載作家一覧 | | [get_library_playlists | IDでプレイリスト一覧 | | [get_playlist_tracks | プレイリストやApple Musicのプレイリスト([pl.)の1つにトラックを載せます |

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

mcp-apple-music 🎵

mcp-name: io.github.Cifero74/mcp-apple-music

An MCP (Model Context Protocol) server that gives Claude full access to your Apple Music account — search the catalog, browse your personal library, manage playlists, and explore your listening history and recommendations.

Ask Claude things like:

  • “Based on what I’ve been listening to lately, recommend 15 songs I don’t have yet and add them to a new playlist”
  • “Show me all my playlists and tell me which artists appear most”
  • “Search for albums by Nick Cave and add my three favourites to a playlist called Dark Picks”

Features

Tool Description
search_catalog Search Apple Music catalog (songs, albums, artists, playlists)
search_library Search within your personal library
get_library_songs List songs saved in your library (paginated)
get_library_albums List albums in your library (paginated)
get_library_artists List artists in your library
get_library_playlists List all your playlists with IDs
get_playlist_tracks Get tracks inside one of your playlists or an Apple Music catalog playlist (pl. IDs)
create_playlist Create a new playlist
add_tracks_to_playlist Add songs to a playlist (library or catalog tracks)
add_to_library Save catalog songs, albums or playlists into your library
get_recently_played See recently played albums/playlists/stations
get_recommendations Get personalised Apple Music picks
favorite_song Mark a catalog song as favorite (star)
unfavorite_song Remove a catalog song from favorites
get_song_favorite_status Check which catalog songs are favorited

Requirements

  • Python 3.10+
  • uv (recommended) or pip
  • A paid Apple Developer Program membership (99 USD/year) to create a MusicKit key. The free Apple Developer account can’t create MusicKit keys.
  • An active Apple Music subscription

Setup

1. Create a MusicKit Key

  1. Go to developer.apple.com → Certificates, Identifiers & Profiles
  2. Under Keys, click + to create a new key
  3. Give it any name, enable MusicKit, and click Continue → Register
  4. Download the .p8 file — you can only download it once, keep it safe!
  5. Note your Key ID (e.g. ABC123DEF4) and your Team ID (found under Membership Details)

⚠️ The Key ID is the alphanumeric code shown next to the key name — not the filename of the .p8 file.

2. Clone and install

git clone https://github.com/Cifero74/mcp-apple-music
cd mcp-apple-music

# with uv (recommended)
GitHub で README 全文を見る

インストール

This server does not publish a one-line install command.

Open the repository installation guide MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "apple-music": { "command": "uv", "args": [ "run", "--directory", "/absolute/path/to/mcp-apple-music", "mcp-apple-music" ] } } }