Extract public Spotify data — tracks, albums, artists, playlists, podcasts & lyrics — without the official API. Sync + async, typed models, one dependency.
Setup
Choose your client, copy the config, then fill in any required environment variables.
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>"
}
}
}
}Environment variables
SPOTIFY_SP_DC
Replace the placeholders with your own credentials and keep them out of version control.