Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyDesign and media

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

NameWhat it isRequired
SPOTIFY_SP_DCOptional 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

Python 3.10 or newer and pip install "spotifyscraper[mcp]". Public data needs no login; lyrics and transcripts need your own Spotify sp_dc cookie.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

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.