SpotifyScraper
Lets your AI agent read public Spotify data such as tracks, albums, artists, playlists, podcasts and lyrics, without an API key.
323 stars on GitHubby AliAkhtari78License MITUpdated 2 months ago
How to install
This MCP is local: it runs on your computer.
It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Codeβ¦). Choose your app:
Paste in the terminal:
claude mcp add spotifyscraper -- uvx spotifyscraper
What to fill in
| Name | What it is | Required |
|---|---|---|
SPOTIFY_SP_DC | Optional sp_dc cookie that unlocks authenticated tools (lyrics, transcripts, account). | No |
Ready! Now test it
Restart the app and paste one of these requests in the chat:
Get the track details and artist for this Spotify link.
List all tracks in this playlist and show how long each is.
What it is
SpotifyScraper reads the public information Spotify's web player already shows. Your agent can look up tracks, albums, artists, playlists, shows and episodes, search, and download covers and previews. It is read-only and needs no Spotify developer app.
What it can do
- Get a track, album, artist, playlist, show or episode
- Search across all entity types
- Related artists, recommendations and charts
- Lyrics and podcast transcripts (needs your Spotify cookie)
- Download covers and previews
- Batch lookups with partial-failure-safe results
When to use
- βΊWhen you need details about a song, album or playlist from a Spotify link
- βΊWhen you want lyrics or podcast transcripts for something you can already play
- βΊWhen you need Spotify metadata and the official API is not an option
What you need
Skills that pair well
MCP or skill?
The MCP gives the agent the hands. The skill teaches the right way to use them. Together, the result is better and uses fewer tokens.
youtube-fullHelps your agent get YouTube transcripts, search videos, browse channels and track new uploads, without an API key or video downloads.minimax-music-playlistLets your agent build a personal playlist by reading your listening history and taste, then generates songs and an album cover to match.naver-blog-researchHelps your agent search Naver blogs, read full posts, and download their images, without needing an API key.Frequently asked questions
Do I need a Spotify API key?
No. Public data works without an API key or app registration.
Is it free and open source?
The readme shows a license badge and it installs from PyPI. It states no price.
Can it change my playlists or play music?
No. It is read-only and only reads public data.
How do I get lyrics?
Lyrics and transcripts need your own sp_dc cookie from a Spotify account. It is never a password or an API key.
How is the MCP server installed?
Install the mcp extra with pip install "spotifyscraper[mcp]", which adds the spotifyscraper-mcp command. It also ships as a container on ghcr.io.
Does it give audio features?
No. The readme says Spotify removed audio-features data entirely, so no tool can return it.
If it does not work
- βΊCheck that Python 3.10 or newer is installed and that you installed the mcp extra.
- βΊFor lyrics, make sure your sp_dc cookie is valid and passed to the client.
- βΊAn episode with no transcript returns a NotFoundError; this is expected.
5 new skills a week. 1 minute to read.