About io.github.AliAkhtari78/spotifyscraper
io.github.AliAkhtari78/spotifyscraper is an MCP server published by AliAkhtari78 in the Scraping category: extract public Spotify data — tracks, albums, artists, playlists, podcasts & lyrics — without the official API. Sync + async, typed models, one dependency. Conduid read 28 tools from its source: get_account, get_album, get_albums, get_artist, get_artist_events, get_artists and 22 more. It is published to PyPI as spotifyscraper and runs with uvx.
The repository has 325 stars and 33 forks, is licensed MIT, and its last commit was on 18 Sep 2026. The latest release is v3.9.2 (26 Jun 2026): --no-hint CLI flag to suppress the one-time star hint for a single invocation (mirrors SPOTIFYSCRAPER_NO_HINT=1). It follows v3.9.1 (23 Jun 2026), and the 5 most recent releases go back to v3.7.0 (16 Jun 2026). It passes all 5 static checks Conduid ran on the repository. Its topics include scraping.
Install
uvx spotifyscraperpip install spotifyscrapergit clone https://github.com/AliAkhtari78/SpotifyScraperTools (28)
get_accountFetch the logged-in account's product state (needs SPOTIFY_SP_DC).get_albumFetch an album (with its tracks) by URL, URI, or ID.| Parameter | Type | Description |
|---|---|---|
| value * | string |
get_albumsFetch many albums at once; one ordered result per input, failures captured per item.| Parameter | Type | Description |
|---|---|---|
| values * | array |
get_artistFetch an artist by URL, URI, or ID.| Parameter | Type | Description |
|---|---|---|
| value * | string |
get_artist_eventsFetch an artist's upcoming concerts/events.| Parameter | Type | Description |
|---|---|---|
| value * | string |
get_artistsFetch many artists at once; one ordered result per input, failures captured per item.| Parameter | Type | Description |
|---|---|---|
| values * | array |
get_canvasFetch a track's Canvas looping video (needs SPOTIFY_SP_DC).| Parameter | Type | Description |
|---|---|---|
| value * | string |
get_chartFetch an editorial chart (e.g. 'top-50-global') as a playlist.| Parameter | Type | Description |
|---|---|---|
| key * | string | |
| max_tracks | integer |
get_colorsExtract a cover image's theming colors (image URL/uri, or any entity URL/URI/ID).| Parameter | Type | Description |
|---|---|---|
| value * | string |
get_cover_imageReturn an entity's cover art as an inline image.| Parameter | Type | Description |
|---|---|---|
| kind | string | |
| value * | string |
get_creditsFetch a track's credits — performers, writers, producers (needs SPOTIFY_SP_DC).| Parameter | Type | Description |
|---|---|---|
| value * | string |
get_discographyFetch an artist's full discography (albums, singles, compilations).| Parameter | Type | Description |
|---|---|---|
| max_releases | integer | |
| value * | string |
get_episodeFetch a podcast episode by URL, URI, or ID.| Parameter | Type | Description |
|---|---|---|
| value * | string |
get_episodesFetch many episodes at once; one ordered result per input, failures captured per item.| Parameter | Type | Description |
|---|---|---|
| values * | array |
get_lyricsFetch a track's lyrics (needs SPOTIFY_SP_DC).| Parameter | Type | Description |
|---|---|---|
| value * | string |
get_playlistFetch a playlist by URL, URI, or ID (up to ``max_tracks`` tracks).| Parameter | Type | Description |
|---|---|---|
| max_tracks | integer | |
| value * | string |
get_playlistsFetch many playlists at once (up to ``max_tracks`` each); failures captured per item.| Parameter | Type | Description |
|---|---|---|
| max_tracks | integer | |
| values * | array |
get_related_artistsFetch artists related to an artist ('fans also like').| Parameter | Type | Description |
|---|---|---|
| value * | string |
get_showFetch a podcast show (with episodes) by URL, URI, or ID.| Parameter | Type | Description |
|---|---|---|
| max_episodes | integer | |
| value * | string |
get_showsFetch many shows at once (up to ``max_episodes`` each); failures captured per item.| Parameter | Type | Description |
|---|---|---|
| max_episodes | integer | |
| values * | array |
get_similar_albumsRecommend albums similar to a track.| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| value * | string |
get_trackFetch a track by URL, URI, or 22-character ID.| Parameter | Type | Description |
|---|---|---|
| value * | string |
get_track_visualsFetch a track plus its cover ``colors`` and ``canvas`` in one call, for visual UIs.| Parameter | Type | Description |
|---|---|---|
| value * | string |
get_tracksFetch many tracks at once; one ordered result per input, failures captured per item.| Parameter | Type | Description |
|---|---|---|
| values * | array |
get_transcriptFetch a podcast episode's transcript (needs SPOTIFY_SP_DC).| Parameter | Type | Description |
|---|---|---|
| value * | string |
get_userFetch a public user profile (needs SPOTIFY_SP_DC).| Parameter | Type | Description |
|---|---|---|
| user_id * | string |
list_chartsList the built-in editorial charts (key, name, backing playlist id).searchSearch across tracks, albums, artists, playlists, shows, and episodes.| Parameter | Type | Description |
|---|---|---|
| limit | integer | |
| query * | string | |
| types | array |
Security checks
- ✓README presentThe repository's README runs to about 2.0K words.
- ✓License declaredThe repository declares the MIT license.
- ✓Tests presentA test suite exists in the repository.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 63 source files and found no eval, dynamic Function or shell execution.
1 check has not been run yet.
Releases
README
The repository's README runs to about 2.0K words, fetched 13 days ago. The original in the repository is authoritative.
Read full README