Context7
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
ยังไม่มีคำอธิบายภาษาไทย ดูข้อเท็จจริงด้านล่าง หรือเปิดคำอธิบายต้นฉบับจากผู้ทำ
MCP server connecting LLMs to Spotify, with smart-batching and large-playlist toolsเลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง
ผลตรวจผ่าน 3/3 · ทำงานบนเครื่องคุณ · ✓ ตรวจคำสั่งแล้ว 13 พ.ย. 2569
ขั้นแรก: คุณใช้ AI ตัวไหน
เลือกแอปที่คุณใช้ ขั้นตอนจะขึ้นด้านล่าง
ต่อกับ Claude ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Spotify (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 1 ช่อง (SPOTIFY_REDIRECT_URI) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว) · ใช้ได้เฉพาะแอป Claude บนคอม (Windows หรือ Mac) ไม่ใช่บนเว็บหรือมือถือ
ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
ค่าเหล่านี้เป็นค่าตั้งของโปรแกรม ไม่ใช่คีย์ ไม่ต้องสมัครอะไร ใส่ตามที่ผู้ทำอธิบาย
SPOTIFY_REDIRECT_URI OAuth redirect URI registered in your Spotify app · ค่าเริ่มต้น http://127.0.0.1:8888คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ
SettingsDeveloperEdit Config
{
"mcpServers": {
"spotify": {
"command": "uvx",
"args": [
"spotify-mcp-jamiew"
],
"env": {
"SPOTIFY_CLIENT_ID": "ใส่ค่าของคุณ",
"SPOTIFY_CLIENT_SECRET": "ใส่ค่าของคุณ",
"SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8888"
}
}
}
}วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
ใช้ Spotify บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude บอกว่ากำลังใช้ Spotify หรือมีชื่อเครื่องมือของ Spotify ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ChatGPT ยังต่อ Spotify ไม่ได้
Spotify ต้องติดตั้งในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะตัวที่ทำงานบนเว็บ
ก · ใช้แอปที่ต่อ Spotify ได้
ต่อกับ Claude Code ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Spotify (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 1 ช่อง (SPOTIFY_REDIRECT_URI) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)
ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
ค่าเหล่านี้เป็นค่าตั้งของโปรแกรม ไม่ใช่คีย์ ไม่ต้องสมัครอะไร ใส่ตามที่ผู้ทำอธิบาย
SPOTIFY_REDIRECT_URI OAuth redirect URI registered in your Spotify app · ค่าเริ่มต้น http://127.0.0.1:8888คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ
Mac: กด Command+Space พิมพ์ Terminal · Windows: เปิด PowerShell
claude mcp add --scope user spotify --env SPOTIFY_CLIENT_ID='ใส่ค่าของคุณ' --env SPOTIFY_CLIENT_SECRET='ใส่ค่าของคุณ' --env SPOTIFY_REDIRECT_URI=http://127.0.0.1:8888 -- uvx spotify-mcp-jamiewแก้ “ใส่ค่าของคุณ” เป็นคีย์ของคุณก่อนกด Enter
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
ต้องเห็น Spotify ในรายการและขึ้นว่าเชื่อมต่อแล้ว
ใช้ Spotify บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Claude Code บอกว่ากำลังใช้ Spotify หรือมีชื่อเครื่องมือของ Spotify ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Anthropic เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ Cursor ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Spotify (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 1 ช่อง (SPOTIFY_REDIRECT_URI) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)
ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
ค่าเหล่านี้เป็นค่าตั้งของโปรแกรม ไม่ใช่คีย์ ไม่ต้องสมัครอะไร ใส่ตามที่ผู้ทำอธิบาย
SPOTIFY_REDIRECT_URI OAuth redirect URI registered in your Spotify app · ค่าเริ่มต้น http://127.0.0.1:8888คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ
ในค่าตั้งของ Spotify ช่อง SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, SPOTIFY_REDIRECT_URI ยังว่าง ใส่คีย์ของคุณแล้วบันทึก
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
ใช้ Spotify บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า Cursor บอกว่ากำลังใช้ Spotify หรือมีชื่อเครื่องมือของ Spotify ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ Cursor เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
ต่อกับ VS Code ได้ แต่ต้องเตรียมก่อน
ต้องมีคีย์ของ Spotify (สร้างที่เว็บของผู้ทำ) · ต้องกรอกค่าตั้ง 1 ช่อง (SPOTIFY_REDIRECT_URI) · ต้องลง Python (uv) ในเครื่องก่อน (ทำครั้งเดียว)
ทำครั้งเดียว ใช้ได้กับทุกตัวที่ต้องใช้ Python (uv)
เปิดเว็บของผู้ทำ สมัครบัญชีแล้วสร้างคีย์ (API key) เก็บไว้ ใช้ในขั้นถัดไป ราคาและแผนฟรีดูที่เว็บของผู้ทำ
วิธีขอคีย์อยู่ใน README ของผู้ทำด้านล่าง
ค่าเหล่านี้เป็นค่าตั้งของโปรแกรม ไม่ใช่คีย์ ไม่ต้องสมัครอะไร ใส่ตามที่ผู้ทำอธิบาย
SPOTIFY_REDIRECT_URI OAuth redirect URI registered in your Spotify app · ค่าเริ่มต้น http://127.0.0.1:8888คำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ
ในค่าตั้งของ Spotify ช่อง SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET, SPOTIFY_REDIRECT_URI ยังว่าง ใส่คีย์ของคุณแล้วบันทึก
วางคีย์ในช่องของแอปเท่านั้น อย่าวางในแชตหรือส่งให้ใคร
ใช้ Spotify บอกหน่อยว่าทำอะไรให้ฉันได้บ้าง แล้วลองทำให้ดูหนึ่งอย่าง✓ ถ้า VS Code บอกว่ากำลังใช้ Spotify หรือมีชื่อเครื่องมือของ Spotify ขึ้นในคำตอบ แปลว่าต่อสำเร็จ
ชื่อเมนูตรวจกับหน้าช่วยเหลือของ VS Code เมื่อ 11 พ.ย. 2569 · หน้าจอของคุณอาจต่างเล็กน้อยตามรุ่นของแอป
Claude Code
claude mcp add --scope user spotify --env SPOTIFY_CLIENT_ID='ใส่ค่าของคุณ' --env SPOTIFY_CLIENT_SECRET='ใส่ค่าของคุณ' --env SPOTIFY_REDIRECT_URI=http://127.0.0.1:8888 -- uvx spotify-mcp-jamiewClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"spotify": {
"command": "uvx",
"args": [
"spotify-mcp-jamiew"
],
"env": {
"SPOTIFY_CLIENT_ID": "ใส่ค่าของคุณ",
"SPOTIFY_CLIENT_SECRET": "ใส่ค่าของคุณ",
"SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8888"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"spotify": {
"command": "uvx",
"args": [
"spotify-mcp-jamiew"
],
"env": {
"SPOTIFY_CLIENT_ID": "ใส่ค่าของคุณ",
"SPOTIFY_CLIENT_SECRET": "ใส่ค่าของคุณ",
"SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8888"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"spotify": {
"type": "stdio",
"command": "uvx",
"args": [
"spotify-mcp-jamiew"
],
"env": {
"SPOTIFY_CLIENT_ID": "ใส่ค่าของคุณ",
"SPOTIFY_CLIENT_SECRET": "ใส่ค่าของคุณ",
"SPOTIFY_REDIRECT_URI": "http://127.0.0.1:8888"
}
}
}
}SPOTIFY_CLIENT_ID ความลับ จำเป็น envSPOTIFY_CLIENT_SECRET ความลับ จำเป็น envSPOTIFY_REDIRECT_URI จำเป็น envคำอธิบายยังเป็นภาษาอังกฤษตามต้นฉบับ
ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README
ดูจากแบบการต่อของ server ตัวนี้ และเอกสารของผู้ทำโปรแกรมแต่ละตัว ตรวจเมื่อ 10 พ.ย. 2569
ติดตั้งบนเครื่องได้ใน
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง
เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 14 พ.ย. 2569
ชื่อใน registry ยืนยันด้วยบัญชี GitHub jamiew ซึ่งเป็นเจ้าของ repo
มีการแก้โค้ดล่าสุด วันนี้
ใช้ MIT
ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต
ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน
รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต
ถาม แชร์เคล็ดลับ หรือแจ้งว่าใช้ไม่ได้ เรียงตามที่คนกดว่ามีประโยชน์
ยังไม่มีใครโพสต์ ถามหรือแชร์เป็นคนแรกได้เลย
ข้อความในส่วนนี้เขียนโดยผู้ใช้ ไม่ใช่ทีม PopNx
ยังไม่มีรีวิว
เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo
จากการตรวจเบื้องต้นของเรา ผ่าน 3 จาก 3 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น
ต้องใส่ค่าเหล่านี้: SPOTIFY_CLIENT_ID, SPOTIFY_CLIENT_SECRET
รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)
repo บน GitHub มีการแก้โค้ดล่าสุด วันนี้ และส่งรุ่นล่าสุด (0.9.2) เข้า registry 6 วันที่ผ่านมา
โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Python (uv) ในเครื่องด้วย
ในหมวดเดียวกันมี Context7, Codebase Memory, OpenSEO
server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว
อ่านการ์ด:↓ ดาวน์โหลดต่อสัปดาห์i★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi
ส่งคู่มือการใช้ไลบรารีและเฟรมเวิร์กรุ่นล่าสุดให้ AI อ่านก่อนตอบ ช่วยให้โค้ดที่ AI เขียนไม่ใช้คำสั่งเก่าที่เลิกใช้แล้ว
Codebase knowledge graph for AI agents — 162 languages, sub-ms queries, 99% fewer tokens.
Keyword research, site audits, rank tracking and AI visibility for your AI agent.
ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ
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.
Requires Python 3.12+, uv, and Spotify Premium for playback.
{
"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.
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.
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.
| 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 |
offset + limit, not the requested size. Individual-track fallback can make up to 50 Spotify requests.id: null. Local files also set is_local; positions remain valid for reordering.QUOTA_EXCEEDED and ordinary rate limits with Retry-After when provided. No guaranteed quota reset time is specified.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.
MIT license, copyright 2025 Varun Neal Srivastava. Thanks to @varunneal for the original project, @jamiew, @jonico, @tedeuxx, and @karimStekelenburg.
Banner made with Glif.