Extract public Spotify data — tracks, albums, artists, playlists, podcasts & lyrics — without the official API. Sync + async, typed models, one dependency.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add spotifyscraper --env SPOTIFY_SP_DC='<SPOTIFY_SP_DC>' -- uvx spotifyscraper~/.codex/config.toml
[mcp_servers.spotifyscraper]
command = "uvx"
args = ["spotifyscraper"]
env = { SPOTIFY_SP_DC = "<SPOTIFY_SP_DC>" }
# codex mcp add spotifyscraper --env SPOTIFY_SP_DC='<SPOTIFY_SP_DC>' -- uvx spotifyscraper~/.cursor/mcp.json
{
"mcpServers": {
"spotifyscraper": {
"command": "uvx",
"args": [
"spotifyscraper"
],
"env": {
"SPOTIFY_SP_DC": "<SPOTIFY_SP_DC>"
}
}
}
}.vscode/mcp.json
{
"servers": {
"spotifyscraper": {
"type": "stdio",
"command": "uvx",
"args": [
"spotifyscraper"
],
"env": {
"SPOTIFY_SP_DC": "<SPOTIFY_SP_DC>"
}
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"spotifyscraper": {
"command": "uvx",
"args": [
"spotifyscraper"
],
"env": {
"SPOTIFY_SP_DC": "<SPOTIFY_SP_DC>"
}
}
}
}claude_desktop_config.json
{
"mcpServers": {
"spotifyscraper": {
"command": "uvx",
"args": [
"spotifyscraper"
],
"env": {
"SPOTIFY_SP_DC": "<SPOTIFY_SP_DC>"
}
}
}
}.trae/mcp.json
{
"mcpServers": {
"spotifyscraper": {
"command": "uvx",
"args": [
"spotifyscraper"
],
"env": {
"SPOTIFY_SP_DC": "<SPOTIFY_SP_DC>"
}
}
}
}需要的环境变量
SPOTIFY_SP_DC
把占位值换成你自己的密钥;不要把密钥提交到代码仓库。