プロトタイプ · プレビュー版:公式レジストリのすべてのサーバーを掲載し、30分ごとに同期しています。レビューとアカウント機能は今後のステップで始まります。
PopNx MCPAIを使う人のためのMCPサーバー · やさしい言葉で解説

Spotifyscraper

作者:AliAkhtari78バージョン 3.9.2i★ 323iパソコンで動く
レジストリ名io.github.AliAkhtari78/spotifyscraper

インストール

概要

作者による説明(英語の原文)

Public Spotify metadata, lyrics and podcasts for LLM agents. No API key, read-only.

PopNx MCPの3つの柱

この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。

できること

このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。

  • 接続方法: パソコンで動く
  • トランスポート: stdio
  • カテゴリ: デザイン・画像・音声
  • 入力が必要なもの:SPOTIFY_SP_DC

インストール

使っているAIアプリを選んで、設定をコピーしてください。

インストールの前に

「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。

必要なもの

  • PyPIPythonのuvのインストール(uvxコマンドに必要)

どのアプリを使っていますか?

上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。

Claude Desktop → Settings → Developer → Edit Config を開き、claude_desktop_config.json にこれを貼り付けます

{
  "mcpServers": {
    "spotifyscraper": {
      "command": "uvx",
      "args": [
        "spotifyscraper"
      ],
      "env": {
        "SPOTIFY_SP_DC": "your-value"
      }
    }
  }
}

ターミナルでこれを実行します

claude mcp add spotifyscraper --env SPOTIFY_SP_DC=your-value -- uvx spotifyscraper

動かす前に、空欄の値を入力してください。

Cursorで開く

または、設定を自分でコピーする

プロジェクトの .cursor/mcp.json、または ~/.cursor/mcp.json に貼り付けます

{
  "mcpServers": {
    "spotifyscraper": {
      "command": "uvx",
      "args": [
        "spotifyscraper"
      ],
      "env": {
        "SPOTIFY_SP_DC": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

VS Codeで開く

または、設定を自分でコピーする

プロジェクトの .vscode/mcp.json に貼り付けます

{
  "servers": {
    "spotifyscraper": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "spotifyscraper"
      ],
      "env": {
        "SPOTIFY_SP_DC": "your-value"
      }
    }
  }
}

ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。

これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。

選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。

自分で入力する値

  • SPOTIFY_SP_DC 秘密 env
    Optional sp_dc cookie that unlocks authenticated tools (lyrics, transcripts, account).

この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。

できること

パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。

基本チェックi

誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック

  • ✓ 合格

    作者とリポジトリが一致

    レジストリ名は、リポジトリを所有するGitHubアカウント AliAkhtari78 で確認済みです

  • ✓ 合格

    今もメンテナンスされている

    コードの最終更新:2 か月前

  • ✓ 合格

    ライセンスがある

    MITを使用

  • – 対象外

    エンドポイントが応答する

    これはパソコンで動くため、インターネット上のエンドポイントはありません

  • – 対象外

    OAuthでサインイン

    パソコンで動き、代わりにローカルの設定を使います

  • … 未チェック

    ツールの説明に隠れた指示がない

    パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです

デザイン・画像・音声のほかのサーバーとの比較i

  • このカテゴリのほかの2193件のうち100%よりスターが多い
  • このカテゴリのほかの2193件のうち14%より最近レジストリに公開
  • 基本チェックの結果が、このカテゴリのほかの2193件のうち100%と同じかそれ以上

レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。

よくある質問

Spotifyscraperは安全ですか?

当てはまる基本チェック3項目のうち3項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。

どんなキーやコードが必要ですか?

入力が必要なもの:SPOTIFY_SP_DC

パソコンで動きますか、それともクラウドですか?

あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。

今もメンテナンスされていますか?

GitHubリポジトリの最終更新は2 か月前、最新バージョン(3.9.2)がレジストリに届いたのは4 か月前です。

どのアプリで使えますか?

Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにPython (uv)も必要です。

代わりに使えるものは?

同じカテゴリには:Figma Context MCP, Claude Real Video, Figma MCP Server

代わりの候補

同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。

カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i

Figma Context MCP

作者:GLips

Give your coding agent access to your Figma data. Implement designs in any framework in one-shot.

パソコンで動く★ 16,165MIT5 か月前更新
インストール

Claude Real Video

作者:HUANGCHIHHUNGLeo

Let any LLM watch a video locally — and search everything it has ever watched.

パソコンで動く★ 2,284MIT2 か月前更新
インストール

Figma MCP Server

作者:figma

The Figma MCP server brings Figma design context directly into your AI workflow.

クラウドで動く★ 2,15213 か月前更新
インストール

作者のREADME

READMEを開く

作者のリポジトリから書かれたとおりにコピーしたものです。PopNx MCPは内容を確認・推奨していません。HTML、画像、スクリプトは取り除いています。リンクはこのサイトの外へ移動します。

SpotifyScraper

Extract public Spotify data — tracks, albums, artists, playlists, and podcasts — without the official API or an API key.

🎧 [Try it live in your browser →](https://aliakhtari.com/spotify/) — paste any Spotify link and watch SpotifyScraper pull typed data, cover art, and a preview, with the exact Python that does it. (How it was built.)

SpotifyScraper bootstraps an anonymous token from Spotify's own public embed pages and reads the same JSON endpoints the web player uses, returning typed, immutable models. v3 is a ground-up rewrite focused on reliability and a clean, modern API. Public data needs no login; the opt-in logged-in features (lyrics, podcast transcripts, and account info) add your own Spotify sp_dc cookie — never a password or an API key.

Upgrading from v2? See the migration guide. The previous line lives on the v2.x branch.

SpotifyScraper vs. the official API (spotipy)

spotipy wraps Spotify's official Web API — the right choice when you need to write to a user's account or read private/library data. SpotifyScraper reads the public data the web player already exposes, so it skips the setup entirely.

SpotifyScraperspotipy (official API)
API key / app registration❌ not needed✅ required
OAuth flow❌ not needed✅ required for most data
Rate-limit quota / billingnoneSpotify quota
Sync and async✅sync only
Fully typed, immutable models✅partial
Lyrics & podcast transcripts✅ (cookie)❌
MCP server for Claude / LLM agents✅❌
Write / playback / private data❌ (read-only public)✅

Use spotipy for authenticated writes and private, market-accurate data; use SpotifyScraper for fast, key-free access to public metadata, lyrics, and previews — plus a drop-in MCP server for AI agents.

Hit by the official-API deprecations? Spotify's audio-features,

recommendations, and related-artists endpoints have returned 403 for new

apps since Nov 2024. SpotifyScraper still returns **related artists and

recommendations** with no API key. (It can't bring back audio-features —

Spotify removed that data entirely, from every tool.)

Install

pip install spotifyscraper                 # core (only depends on httpx)

pip install "spotifyscraper[media]" # + cover/preview embedding (mutagen) pip install "spotifyscraper[browser]" # + Playwright browser fallback & login pip install "spotifyscraper[cli]" # + the spotifyscraper command-line tool pip install "spotifyscraper[keyring]" # + store the login cookie in the OS keyring pip install "spotifyscraper[mcp]" # + the spotifyscraper-mcp MCP server for LLM hosts pip install "spotifyscraper[all]" # everything

Python 3.10+.

Quickstart

from spotify_scraper import SpotifyClient

with SpotifyClient() as client: track = client.get_track("https://open.spotify.com/track/4uLU6hMCjMI75M1A2tKUQC") print(track.name, "—", track.artists[0].name) print(track.duration_ms, "ms |", track.preview_url)

print(track.to_dict()) # JSON-safe dict, if you prefer dicts

Every entity has its own method — get_track, get_album, get_artist, get_playlist, get_episode, get_show — each accepting a URL, URI, or bare ID.

Async
import asyncio

from spotify_scraper import AsyncSpotifyClient

async def main(): async with AsyncSpotifyClient() as client: track, album = await asyncio.gather( client.get_track("4uLU6hMCjMI75M1A2tKUQC"), client.get_album("6N9PS4QXF1D0OWPk0Sxtb4"), ) print(track.name, "|", album.name)

asyncio.run(main())

Download a cover and preview
from spotify_scraper import SpotifyClient

with SpotifyClient() as client: track = client.get_track("4uLU6hMCjMI75M1A2tKUQC") client.download_cover(track, dest="covers/") client.download_preview(track, dest="previews/", embed_cover=True) # needs [media]

Localized display names

Pass locale — a BCP-47 language tag: a bare language subtag ("de", "ja") or a language-region tag ("ja-JP") — to localize the *language* of display names. Set it per client or override it per call:

with SpotifyClient(locale="ja-JP") as client:        # default for every call

track = client.get_track("4uLU6hMCjMI75M1A2tKUQC") other = client.get_track("4uLU6hMCjMI75M1A2tKUQC", locale="de-DE") # per-call wins

It is sent as the Accept-Language header and changes only how names are *spelled*. It is not a country/market code — a bare "US" is meaningless as a language and is ignored — and it does not filter regional availability or vary preview URLs: anonymous Spotify resolves country from the request IP, and its pathfinder silently ignores a market variable. True market/availability filtering requires the authenticated Web API, which this library does not implement; for region-specific results, point the client's proxy at the target region. See the localization guide.

Features

  • All core entities + podcasts — tracks, albums, artists, playlists, shows, episodes.
  • Search across every entity type, returning one typed SearchResults.
  • Charts & discovery — editorial charts, related artists, full paginated discography, and album recommendations.
  • Cover colors & Canvas — extract an artwork's theming palette and download a track's looping Canvas video.
  • Credits & concerts — performers/writers/producers and an artist's upcoming live events.
  • Public user profiles — get_user() (name, follower counts, public playlists).
  • MCP server — expose everything to Claude/LLMs via spotifyscraper-mcp (batch tools + a one-call get_track_visuals); also ships as a container on ghcr.io.
  • Localized display names — pass a BCP-47 language tag (locale) to set the language of names.
  • Lyrics & podcast transcripts — cookie-authenticated, time-synced, one token for both.
  • Browser-assisted login + session persistence — log in once, then run headless (no stored passwords).
  • Account-aware — get_account() / is_premium(), plus cookie-free session_info().
  • Batch helpers — plural get_*s([...]) with partial-failure-safe results and managed concurrency.
  • Sync & async clients sharing one sans-io core.
  • Typed, frozen models with JSON-safe to_dict() / from_dict().
  • Two-tier resilience — Spotify's GraphQL API with automatic fallback to the embed page.
  • One core dependency (httpx); media and browser support are optional extras.
  • Optional response cache — opt-in, persistent, token-safe (only token-free pathfinder GETs).
  • Anti-ban built in — per-host rate limiting, retries with backoff, UA rotation, proxies.
  • Browser fallback via Playwright when you need a real browser.

Command line

With the cli extra installed, a spotifyscraper command is available:

spotifyscraper track 4uLU6hMCjMI75M1A2tKUQC          # entity metadata as JSON

spotifyscraper playlist --max-tracks 50 --pretty spotifyscraper download preview -o ./previews --embed-cover

Every command emits JSON, so it composes with tools like jq. See the CLI guide.

Batch helpers

Each getter has a plural sibling (get_tracks, get_albums, …) that fetches many inputs and returns one BatchItem per input — index-aligned, and a dead input never aborts the rest:

items = client.get_tracks(["4uLU6hMCjMI75M1A2tKUQC", "bad-id"])

ok = [i.result for i in items if i.ok] failed = {i.value: i.error for i in items if not i.ok}

The async client runs them concurrently, bounded by max_concurrency (default 5). See the batch guide.

Response caching

For repeated lookups, enable an opt-in persistent cache. It only stores token-free pathfinder responses — never the embed pages that carry the anonymous token — so no credential is ever written to disk:

from spotify_scraper import SpotifyClient, CacheConfig, FileCache

with SpotifyClient(cache=CacheConfig(store=FileCache())) as client: client.get_track("4uLU6hMCjMI75M1A2tKUQC") # first call hits the network client.get_track("4uLU6hMCjMI75M1A2tKUQC") # served from the cache

Default TTL is 24h; the FileCache is stdlib-only and the backend is pluggable. See the caching guide.

Search

search() runs one anonymous, aggregate query across every entity type and returns a typed SearchResults:

from spotify_scraper import SpotifyClient

with SpotifyClient() as client: results = client.search("daft punk", types=("track", "artist"), limit=5) print(results.total, "track matches") for track in results.tracks: print(track.name, "—", track.artists[0].name)

Hits are sparse (pass an id to get_album()/get_show() for the full entity); total is the track-match count. See the search guide.

Lyrics & transcripts

Lyrics and podcast transcripts need a Spotify account cookie (sp_dc); the library handles the token handshake for you, and one cookie powers both:

from spotify_scraper import SpotifyClient

with SpotifyClient(cookies="cookies.txt") as client: # or cookies={"sp_dc": "..."} lyrics = client.get_lyrics("4uLU6hMCjMI75M1A2tKUQC") for line in lyrics.lines: print(line.start_ms, line.text)

transcript = client.get_transcript("07gKzPFkbvGF0cHoeG7ARS") # a podcast episode for line in transcript.lines: print(line.s

冒頭だけを表示しています。続きはリポジトリで読めます

PopNxに聞く