Spotify
What it does
MCP server connecting LLMs to Spotify, with smart-batching and large-playlist tools
- Connects パソコンで動く
- Account or key Needs SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, SPOTIFY_REDIRECT_URI
- Category 検索・AIの記憶
インストール
使っているAIアプリを選んで、設定をコピーしてください。
チェック 3/3 合格 · あなたのパソコンで動きます · ✓ コマンド確認済み 2026年11月13日
まず:どの AI を使っていますか?
使っているアプリを選ぶと、下に手順が表示されます。
Claude につなげますが、先に準備が必要です
Spotify のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
Spotify に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
パソコン版 Claude アプリの設定ファイルを開く
SettingsDeveloperEdit Config
この設定を貼り付けて保存
{ "mcpServers": { "spotify": { "command": "uvx", "args": [ "spotify-mcp-jamiew" ], "env": { "SPOTIFY_CLIENT_ID": "your-value", "SPOTIFY_CLIENT_SECRET": "your-value", "SPOTIFY_REDIRECT_URI": "your-value" } } } }キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude を終了してもう一度開く
試してみる
Spotify を使って、私に何ができるか教えて、1 つやってみせて✓ Claude が Spotify を使っていると言うか、回答に Spotify のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
ChatGPT はまだ Spotify につなげません
Spotify はパソコンに入れて使うものですが、ChatGPT は Web 上で動くサーバーにしかつなげません
代わりにできること
A · Spotify につなげるアプリを使う
- Spotify のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Python (uv) を入れてください(1 回だけ) · パソコン版 Claude アプリ(Windows または Mac)のみ。Web やスマホでは使えません
- Spotify のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
- Spotify のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
- Spotify のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
B · 検索・AIの記憶 の中で ChatGPT につなげる別のサーバー
同じカテゴリでよく使われているものから、キーなしでアドレスだけでつなげるものを選びました
- Context7✓ ChatGPT
- AIHOT✓ ChatGPT
- Sui Knowledge Base (kapa.ai)✓ ChatGPT
Claude Code につなげますが、先に準備が必要です
Spotify のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
Spotify に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
ターミナルを開く
Mac:Command+スペースで Terminal と入力 · Windows:PowerShell を開く
このコマンドを貼り付けて Enter
claude mcp add --scope user spotify --env SPOTIFY_CLIENT_ID=your-value --env SPOTIFY_CLIENT_SECRET=your-value --env SPOTIFY_REDIRECT_URI=your-value -- uvx spotify-mcp-jamiewEnter の前に「your-value」を自分のキーに書き換えてください
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Claude Code で /mcp と入力
Spotify が一覧にあり、接続済みと表示されれば OK です
試してみる
Spotify を使って、私に何ができるか教えて、1 つやってみせて✓ Claude Code が Spotify を使っていると言うか、回答に Spotify のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Anthropic のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Cursor につなげますが、先に準備が必要です
Spotify のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
Spotify に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
キーを入力
Spotify の設定で SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, SPOTIFY_REDIRECT_URI が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
Cursor の AI チャットを Agent モードで開く
試してみる
Spotify を使って、私に何ができるか教えて、1 つやってみせて✓ Cursor が Spotify を使っていると言うか、回答に Spotify のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に Cursor のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
VS Code につなげますが、先に準備が必要です
Spotify のキーが必要です(提供元のサイトで作成) · 先にパソコンへ Python (uv) を入れてください(1 回だけ)
Spotify に登録してキーを作る
提供元のサイトで登録し、次の手順で使う API キーを作ります。料金や無料プランは提供元のサイトで確認してください。
キーの取り方は下の提供元 README にあります
キーを入力
Spotify の設定で SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, SPOTIFY_REDIRECT_URI が空です。自分のキーを入れて保存します
キーはアプリの入力欄にだけ貼り付け、チャットに貼ったり人に送ったりしないでください
VS Code の AI チャットを Agent モードで開く
試してみる
Spotify を使って、私に何ができるか教えて、1 つやってみせて✓ VS Code が Spotify を使っていると言うか、回答に Spotify のツール名が出れば接続成功です
メニュー名は 2026年11月11日 に VS Code のヘルプページで確認 · アプリのバージョンにより画面が少し違うことがあります
Windsurf、Zed、Gemini CLI など MCP を使える他のアプリは追加方法がそれぞれ違います。アプリ一覧で確認してください
JSON 設定は下の「開発者向け」にあります
開発者向け:ターミナルのコマンドと JSON 設定
パソコンにインストール
Claude Code
claude mcp add --scope user spotify --env SPOTIFY_CLIENT_ID=your-value --env SPOTIFY_CLIENT_SECRET=your-value --env SPOTIFY_REDIRECT_URI=your-value -- uvx spotify-mcp-jamiewClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"spotify": {
"command": "uvx",
"args": [
"spotify-mcp-jamiew"
],
"env": {
"SPOTIFY_CLIENT_ID": "your-value",
"SPOTIFY_CLIENT_SECRET": "your-value",
"SPOTIFY_REDIRECT_URI": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"spotify": {
"command": "uvx",
"args": [
"spotify-mcp-jamiew"
],
"env": {
"SPOTIFY_CLIENT_ID": "your-value",
"SPOTIFY_CLIENT_SECRET": "your-value",
"SPOTIFY_REDIRECT_URI": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"spotify": {
"type": "stdio",
"command": "uvx",
"args": [
"spotify-mcp-jamiew"
],
"env": {
"SPOTIFY_CLIENT_ID": "your-value",
"SPOTIFY_CLIENT_SECRET": "your-value",
"SPOTIFY_REDIRECT_URI": "your-value"
}
}
}
}自分で入力する値
SPOTIFY_CLIENT_ID秘密 必須 envSpotify app Client ID from developer.spotify.comSPOTIFY_CLIENT_SECRET秘密 必須 envSpotify app Client Secret from developer.spotify.comSPOTIFY_REDIRECT_URI必須 envOAuth redirect URI registered in your Spotify app
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
ひと目でわかる
使えるアプリ
このサーバーのつなぎ方と、各アプリの公式ドキュメントに基づきます。2026年11月10日に確認。
パソコン上で動かせるアプリ
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
できること
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
基本チェックi
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月13日にチェック
- ✓ 合格
作者とリポジトリが一致
レジストリ名は、リポジトリを所有するGitHubアカウント jamiew で確認済みです
- ✓ 合格
今もメンテナンスされている
コードの最終更新:5 日前
- ✓ 合格
ライセンスがある
MITを使用
- – 対象外
エンドポイントが応答する
これはパソコンで動くため、インターネット上のエンドポイントはありません
- – 対象外
OAuthでサインイン
パソコンで動き、代わりにローカルの設定を使います
- … 未チェック
ツールの説明に隠れた指示がない
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
話し合い
質問、コツの共有、使えないことの報告ができます。「役に立った」の多い順です。
ユーザーレビュー
まだレビューはありません
検索・AIの記憶のほかのサーバーとの比較i
- このカテゴリのほかの6028件のうち93%よりスターが多い
- このカテゴリのほかの6028件のうち86%より最近レジストリに公開
- 基本チェックの結果が、このカテゴリのほかの6028件のうち100%と同じかそれ以上
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
よくある質問
Spotifyは安全ですか?
当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
どんなキーやコードが必要ですか?
入力が必要なもの:SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, SPOTIFY_REDIRECT_URI
パソコンで動きますか、それともクラウドですか?
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
今もメンテナンスされていますか?
GitHubリポジトリの最終更新は5 日前、最新バージョン(0.9.2)がレジストリに届いたのは5 日前です。
どのアプリで使えますか?
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。
代わりに使えるものは?
同じカテゴリには:Context7, Codebase Memory, Ruflo
同じカテゴリのほかの候補
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:↓ 週あたりのダウンロードi★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
Codebase Memory
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
作者のREADME
READMEを開く
作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。
spotify-mcp
mcp-name: io.github.jamiew/spotify-mcp
A local Python MCP server for searching Spotify, controlling playback, and managing playlists and Liked Songs from your MCP client. Runs over stdio with your Spotify account. This is a supported fork of varunneal/spotify-mcp.
The TypeScript edition supports local and hosted use, with a different MCP surface.
Setup
Requires Python 3.12+, uv, and Spotify Premium for playback.
- Create an app in the Spotify developer dashboard.
- Register `http://127.0.0.1:8888` as its redirect URI, exactly as written.
- Copy the app's Client ID and Client Secret into your MCP client's configuration:
{
"mcpServers": { "spotify": { "command": "uvx", "args": ["spotify-mcp-jamiew"], "env": { "SPOTIFY_CLIENT_ID": "your_client_id", "SPOTIFY_CLIENT_SECRET": "your_client_secret", "SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8888" } } } }
Restart the client. On first use, a browser opens for Spotify authorization; the token is cached locally. Keep the client secret and token cache private. Playback needs an available Spotify Connect device, so open Spotify on the device you want to control.
Client-specific setup: Claude Desktop, Claude Code, and Codex. Use the same command and environment variables in each client's format.
Run from source
The package command above uses the published package, which may lag this README's source changes. To run the current checkout:
git clone https://github.com/jamiew/spotify-mcp.git
cd spotify-mcp uv sync
In the config above, change command to uv and args to ["--directory", "/absolute/path/to/spotify-mcp", "run", "spotify-mcp"]. Keep the same environment variables. Without cloning, use uvx --from git+https://github.com/jamiew/spotify-mcp.git spotify-mcp.
Reauthorization: artist-follow checks need user-follow-read, and following or unfollowing artists and playlists needs user-follow-modify. Existing grants do not receive new scopes automatically. Restart and complete Spotify authorization when prompted; if access is still denied, review the app's grant in your Spotify account and reauthorize. Do not automatically delete the auth cache.
Features
48 tools, six resources (user, playback, track, playlist, artist, album), and five prompts. Tools provide typed outputs and behavior annotations; large playlist reads report progress. Playlist removal asks for confirmation where supported, reordering uses snapshot guards, and playback control attempts best-effort read-after-write confirmation, not guaranteed success.
Tools
| Tool | Does |
|---|---|
get_me | Read your profile |
search_music | Search tracks, albums, artists, or playlists with filters and pagination |
get_tracks | Read up to 50 tracks; individual reads when batching is unavailable |
get_artist | Read up to 50 artists; top tracks for a single artist |
get_album | Read up to 20 albums; track list for a single album |
get_playback_state | Read current track or episode, device, progress, shuffle, and repeat |
control_playback | Play tracks, episodes or a context; pause, skip, seek, volume, shuffle, repeat |
list_devices | List Spotify Connect devices |
transfer_playback | Move playback to another device |
get_queue | Read now playing and upcoming tracks and episodes |
add_to_queue | Queue a track or podcast episode |
list_playlists | List your playlists with pagination |
get_playlist | Read playlist metadata without tracks |
get_playlist_tracks | Read playlist tracks with pagination |
create_playlist | Create a private playlist; set public=true to publish |
update_playlist_details | Change name, description, or visibility |
add_tracks_to_playlist | Add up to 100 tracks or episodes |
remove_tracks_from_playlist | Remove tracks or episodes with confirmation where supported |
reorder_playlist | Move a block of tracks |
follow_playlist | Follow (save) a playlist |
unfollow_playlist | Unfollow a playlist, including your own |
get_saved_tracks | Read Liked Songs with pagination |
save_tracks | Like tracks |
remove_saved_tracks | Unlike tracks |
check_saved_tracks | Check up to 50 tracks against Liked Songs |
check_saved_albums | Check up to 20 saved albums |
check_following_artists | Check up to 50 followed artists |
get_saved_albums | Read saved albums with pagination |
save_albums | Save up to 20 albums |
remove_saved_albums | Remove up to 20 saved albums |
get_followed_artists | Read followed artists with cursor pagination |
follow_artists | Follow up to 50 artists |
unfollow_artists | Unfollow up to 50 artists |
get_saved_shows | Read saved podcast shows with pagination |
save_shows | Save up to 50 podcast shows |
remove_saved_shows | Remove up to 50 saved podcast shows |
check_saved_shows | Check up to 50 saved podcast shows |
get_show_episodes | Read a show's episodes with resume points and pagination |
get_saved_episodes | Read saved podcast episodes with pagination |
check_saved_episodes | Check up to 50 saved podcast episodes |
save_episodes | Save up to 50 podcast episodes |
remove_saved_episodes | Remove up to 50 saved podcast episodes |
get_saved_audiobooks | Read saved audiobooks with pagination |
check_saved_audiobooks | Check up to 50 saved audiobooks |
save_audiobooks | Save up to 50 audiobooks |
remove_saved_audiobooks | Remove up to 50 saved audiobooks |
get_top_items | Read top artists or tracks over a time range |
get_recently_played | Read recently played tracks with timestamps |
Behavior to know
- New playlists default to private. Existing playlists are unchanged. Spotify can report unexpected visibility, so confirm sensitive playlists in the Spotify app.
- Library writes (tracks, artists, shows, episodes, audiobooks) and membership checks accept 50 items, sent upstream in batches of 40. Album saves, removals and checks accept 20. Membership results preserve input alignment; incomplete chunks fail. Writes are not atomic across chunks: earlier changes may remain after an error. Check membership before retrying.
- Restricted apps cap search pages at 10. Advance by the returned
offset + limit, not the requested size. Individual-track fallback can make up to 50 Spotify requests. - Playlist pagination counts positions, including unresolved rows and local files with
id: null. Local files also setis_local; positions remain valid for reordering.
Spotify access and policy
- Permissions and app access mode determine available endpoints and playlist access. A 403 may mean missing permission, not a retired endpoint. Existing integrations' February restrictions were postponed; restricted apps use the February 2026 API routes.
- Development Mode normally allows five allowlisted users and requires a Premium app owner; older larger allowlists may be grandfathered. Extended access is not routine hobby-project approval: criteria include an organization, a legal entity, a launched service, and 250,000 monthly active users. A public URL does not remove these limits.
- All Development Mode apps on a developer account share one quota, even with the 25 permitted Client IDs. This server surfaces 429 errors without retries, including
QUOTA_EXCEEDEDand ordinary rate limits withRetry-Afterwhen provided. No guaranteed quota reset time is specified. - This server uses one local identity. Do not share its token cache or expose it as an unauthenticated public service. Other users should self-host and authorize their own accounts.
- AI policy is a separate constraint. Spotify Developer Policy III.14 restricts training or otherwise ingesting Spotify Content into AI/ML models; "no training" or "metadata only" is not automatic clearance. III.13 restricts analysis and derived metrics; III.3 restricts voice-control assistants. Seek Spotify clarification or approval before public AI access. This is a risk notice, not legal advice or permission.
Moving between implementations
Shared versions and tool names do not imply drop-in compatibility with other implementations. Check arguments, limits, and result shapes before switching. Preserve any workflow that relies on this server's resources, five prompts, snapshot guards, removal confirmation, or playback confirmation; those behaviors are not universal.
Credits
MIT license, copyright 2025 Varun Neal Srivastava. Thanks to @varunneal for the original project, @jamiew, @jonico, @tedeuxx, and @karimStekelenburg.
Banner made with Glif.