インストール不要。2分以内に動きます。
cloud.anythingmcp.com で無料トライアルを開始し、Spotify をワンクリックで追加して、AI クライアント(Claude、ChatGPT、Copilot、Cursor)を生成された MCP エンドポイントに向けるだけ。Docker も git clone も、開発経験も不要です。
AnythingMCP は Claude のコネクタディレクトリに掲載されています。ワンクリックで Claude に追加 (新しいタブで開きます)し、サインインして Claude が使える MCP サーバーを選んでください。
概要
AI に Spotify アカウントを操作させます。音楽やポッドキャストの検索、プレイリスト、お気に入りの曲、よく聴くアーティスト、最近再生した曲の参照、再生中の曲の確認ができ、確認のうえでプレイリストの作成や曲の追加と削除、Premium での再生操作もできます。サインインには自分の Spotify デベロッパーアプリを使います。
こう聞いてみよう
Spotify のサンプルプロンプト
プロンプトをクリックでコピー。Claude / ChatGPT / Cursor / Gemini / Copilot / OpenClaw に貼り付けて、このコネクターで実行できます。
Claude は AI のため誤ることがあります。回答をご確認ください。
💡 インストール不要? cloud.anythingmcp.com を直接利用してください。 サインインし、Connectors → Spotify をクリック、認証情報を貼り付け、MCP API キーを発行すれば完了です。Docker も
git cloneもローカルサーバーも不要。
Spotify + Claude
AI に Spotify アカウントを操作させます。音楽やポッドキャストの検索、プレイリスト、お気に入りの曲、よく聴くアーティスト、最近再生した曲の参照、再生中の曲の確認ができ、確認のうえでプレイリストの作成や曲の追加と削除、Premium での再生操作もできます。サインインには自分の Spotify デベロッパーアプリを使います。
前提条件
完全なセットアップ手順はコネクタ自体に組み込まれています (ストアでコネクタを選択すると表示)。必要な環境変数:
SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET
ステップ 1 — 認証情報を取得
- アプリの所有者にする Spotify Premium アカウントで developer.spotify.com/dashboard にサインインし、Create app をクリックします。
- 名前と説明を入力します。Redirect URIs に
https://cloud.anythingmcp.com/api/mcp-oauth/callbackを追加します。AnythingMCP を自分でホストしている場合はhttps://your-anythingmcp-host/api/mcp-oauth/callbackを使います。Web API にチェックを入れ、規約に同意して Save をクリックします。 - アプリの Settings を開き、Client ID を
SPOTIFY_CLIENT_IDにコピーします。View client secret をクリックし、シークレットをSPOTIFY_CLIENT_SECRETにコピーします。 - User Management で、サインインするすべての Spotify アカウントを、名前とその Spotify アカウントのメールアドレスで追加します。最大 5 アカウントです。
- コネクタをインストールし、コネクタのページで Authorize with Provider をクリックして、Spotify にサインインし同意します。
spotify_get_meで設定を確認します。サインインしたアカウントが表示されます。
Spotify のルール上、個人向けのコネクタです: Spotify は新しいデベロッパーアプリをすべて開発モードで動かします。2026 年 2 月以降、アプリの所有者には有効な Spotify Premium の契約が必要で、切れるとアプリは更新されるまで動きません。1 つのアプリで使えるのは、User Management に手動で追加した最大 5 人の Spotify ユーザーだけです。ほかの人もサインインはできますが、すべての呼び出しが 403 で拒否されます。それ以上のユーザーには Spotify の extended quota が必要で、申請できるのは、サービスを公開済みで月間アクティブユーザーが 25 万人以上の登録企業だけです。実際には、自分のアカウントと、自分で追加した数人のためのコネクタです。
リダイレクト URI のルール: Spotify が受け付けるのは HTTPS のアドレスか、ローカルでのテスト用にポート付きの http://127.0.0.1 だけです。localhost は拒否されます。アプリに登録する URI は、AnythingMCP が使う URI と完全に一致している必要があります。
参照できるもの: プロフィール。曲、アーティスト、アルバム、プレイリスト、ポッドキャスト、エピソード、オーディオブックのカタログ検索。曲、アルバム、アーティストの詳細とアーティストのリリース。自分のプレイリストと、自分が所有または共同編集しているプレイリストの曲。お気に入りの曲。4 週間、6 か月、約 1 年間でよく聴いたアーティストと曲。最近再生した曲。再生中の曲、デバイス、再生キュー。
変更の前には必ず確認します: spotify_create_playlist、spotify_add_playlist_items、spotify_remove_playlist_items はプレイリストを変更し、spotify_start_playback、spotify_pause_playback、spotify_skip_to_next、spotify_skip_to_previous、spotify_add_to_queue は再生中の内容を変えます。AI はそれぞれの前に何が起きるかを伝え、あなたの承認を待ちます。新しいプレイリストは、非公開を指定しない限り公開になります。
再生操作には Premium が必要です: 再生を操作するには、サインインしたアカウントが Spotify Premium で、スマートフォン、パソコン、スピーカーのいずれかで Spotify アプリが開いている必要があります。アクティブなデバイスがないと Spotify は NO_ACTIVE_DEVICE を返します。どこかで Spotify を開くか、spotify_list_devices から AI にデバイスを選ばせてください。無料アカウントでは PREMIUM_REQUIRED になります。再生中の曲の確認は無料アカウントでもできます。コネクタは Spotify アプリをリモート操作するもので、それ自体が音声を再生するわけではありません。
インストール時に無効: spotify_save_to_library と spotify_remove_from_library(お気に入りの曲の保存と削除、フォローとフォロー解除)。使うには、コネクタの OAuth 設定にスコープ user-library-modify と user-follow-modify を追加し、再度認可してからツールを有効にします。これらも実行前に確認します。
開発モードで使えないもの: おすすめ、オーディオ特徴量、関連アーティスト、アーティストの人気曲、新着リリース、注目プレイリストとカテゴリ別プレイリスト、ほかのユーザーのプロフィールとプレイリスト。Spotify 自身の編集部プレイリストやアルゴリズムによるプレイリストは開けません。検索結果は 1 回の呼び出しでタイプごとに最大 10 件で、人気度、フォロワー数、ジャンルは返されなくなりました。
よくあるエラー: 401: サインインの期限が切れたか取り消されました。もう一度 Authorize with Provider をクリックしてください。403: アカウントが User Management に入っていない、所有者の Premium が切れている、またはそのプレイリストを所有も共同編集もしていません。429: 開発モードの上限はデベロッパーアカウント単位で数えられます。少し待ってから再試行してください。
このコネクタは、音声のダウンロードや試聴、プレイリストのカバー画像の変更、extended quota 専用のエンドポイントの利用には対応していません。
ステップ 2 — アダプターをインストール
curl -fsSL https://raw.githubusercontent.com/HelpCode-ai/anythingmcp/main/docker-compose.quickstart.yml -o docker-compose.yml
printf 'JWT_SECRET=%s\nENCRYPTION_KEY=%s\n' "$(openssl rand -hex 32)" "$(openssl rand -hex 32)" > .env
docker compose up -d
ステップ 3 — Claude にコネクタを追加
サーバーURL: AnythingMCP で MCP Servers を開き、このコネクタがあるサーバーを選んで URL(
https://cloud.anythingmcp.com/mcp/…)をコピーします。このガイドでYOUR_SERVER_IDと表示されている箇所に使ってください。
推奨ルート:設定ファイルを触らずに claude.ai web で動作します。
- Claude で Customize → Connectors を開きます。
- + をクリックし、Add custom connector を選びます。
- 名前(例:
Spotify)とリモート MCP サーバー URLhttps://cloud.anythingmcp.com/mcp/YOUR_SERVER_IDを入力し、Add をクリックします。 - Connect をクリックし、AnythingMCP にサインイン(OAuth)してアクセスを許可します。
下記のすべてのツールがチャットに表示されます。プロンプトを入力し始めてください。
利用可能なツール
| Tool | What it does |
|---|---|
spotify_get_me | Read the signed-in Spotify account: user id, account_id, display name, profile link and Spotify URI |
spotify_search | Search the Spotify catalog for tracks, artists, albums, playlists, shows, episodes or audiobooks |
spotify_get_track | Read one track by its Spotify id: name, artists, album, release date, duration, explicit flag, track and disc number, playability, ISRC… |
spotify_get_album | Read one album by its Spotify id: name, type, artists, release date, total tracks, copyrights, link, and its first tracks (up to 50; total… |
spotify_get_artist | Read one artist by Spotify id: name, uri, link and image |
spotify_get_artist_albums | List an artist's albums, singles and compilations: id, name, type, release date, track count and link |
spotify_get_playlist | Read a playlist's details: name, description, owner, public and collaborative flags, snapshot_id, number of items and link |
spotify_get_playlist_items | List the tracks and episodes of a playlist the user owns or collaborates on: when and by whom each was added, type, id, name, uri, artists… |
spotify_list_my_playlists | List the playlists the signed-in user owns or follows: id, name, owner, public and collaborative flags, number of items, snapshot_id and… |
spotify_get_top_items | List the signed-in user's most played artists or tracks over about 4 weeks (short_term), 6 months (medium_term, default) or about a year… |
spotify_get_recently_played | List the tracks the signed-in user played most recently (up to 50; podcast episodes are not included): when, track, artists, album and the… |
spotify_get_playback_state | Read what is playing right now and where: playing or paused, progress, shuffle and repeat state, the device (name, type, volume) and the… |
spotify_get_currently_playing | Read the track or episode currently playing on the user's account: playing or paused, progress, the item and the context it plays from |
spotify_list_devices | List the user's available Spotify Connect devices (phone, computer, speaker): id, name, type, whether active, volume |
spotify_get_queue | Read the user's playback queue: the item playing now and the items queued after it (name, uri, artists or show) |
spotify_list_saved_tracks | List the songs saved in the user's library (Liked Songs), newest first: when saved, track, artists, album, duration |
spotify_check_library | Check whether tracks, albums, episodes, shows, audiobooks, artists, users or playlists are saved or followed by the user |
spotify_create_playlist | Create a new, empty playlist in the signed-in user's account |
spotify_add_playlist_items | Add tracks or episodes to a playlist the user owns or collaborates on (up to 100 per call) |
spotify_remove_playlist_items | Remove tracks or episodes from a playlist the user owns or collaborates on (every occurrence of each URI, up to 100 per call) |
spotify_start_playback | Start or resume playback: without arguments it resumes; context_uri plays an album, artist or playlist; uris plays specific tracks |
spotify_pause_playback | Pause playback on the user's active device (or the given device) |
spotify_skip_to_next | Skip to the next item in the user's queue |
spotify_skip_to_previous | Go back to the previous item in the user's queue |
spotify_add_to_queue | Add a track or episode to the end of the user's playback queue |
spotify_save_to_library | Save items to the user's library or follow them: tracks, albums, episodes, shows and audiobooks are saved; users and playlists are followed… |
spotify_remove_from_library | Remove items from the user's library or unfollow them (up to 40 URIs): tracks, albums, episodes, shows, audiobooks, users and playlists |
プロンプトの例
- 「この 4 週間で一番よく聴いたのは何?トップ 10 の曲とトップ 5 のアーティストを一覧にして。」
- 「お気に入りの曲に最近保存した 20 曲で、Road Trip という非公開のプレイリストを作って。作る前に曲のリストを見せて。」
- 「今何が再生されていて、どのデバイスで流れている?」
- 「Miles Davis のアルバム Kind of Blue を探して、1 曲目を再生キューに追加して。」
- 「昨日の夜に聴いた曲は?アーティストとアルバム付きの表にまとめて。」
FAQ
Claude Code は Claude Desktop と同じように動作しますか? はい。両方を https://cloud.anythingmcp.com/mcp/YOUR_SERVER_ID に向けてください。
次のステップ
このガイドは役に立ちましたか?