Skip to content
verify mcp Beta VerifyMCP is currently in beta. If you notice any issues, email [email protected] and we’ll put it right.

io.github.XavierFabregat/spotify-mcp

NPM · @XAVIFABREGAT/SPOTIFY-MCP · SCANNED AUG 4

Conversational Spotify control from AI clients: play, queue, devices, playlists, and library.

+23 this week 68 Trust /100
Trust breakdown (6 categories)

How this component scores in each security and reliability category. Every signal is checked automatically from public evidence about the published package, including repeated runs of it in an isolated sandbox, and we only credit what we can confirm. How we score →

Supply Chain Security83
  • No malware found by supply-chain analysis.Pass
  • CVE check failed: a known medium-severity CVE affects hono 4.12.33, reached via @modelcontextprotocol/sdk > hono. A fixed version is available. View diagnostics → Fail
  • No install/post-install scripts declared.Pass
  • Only part of the dependency tree could be resolved (106 of 110), so this covers what we could see, not the whole tree. View diagnostics → Partial
Provenance & Transparency45
Schema Quality & AI Usability77
  • AI-judged instruction clarity (excellent).Pass
  • Tool/resource definitions use about 824 tokens (~74/item across 11 items; 11 tools + 0 resources), lean.Pass
  • Usage-examples check failed: none of the tools include examples. See how to fix → Fail
Stability & Change Management30
  • Stability observed for 9 of 30 days with no destabilising changes; credit accrues until the full window elapses.Partial
Tool Coverage93
  • 100% of tools have a non-trivial description (not blank, and not just the tool's name).Pass
  • 79% of tool parameters carry a description.Partial
Capabilities100
  • Implements a supported MCP spec version (2025-11-25); the latest is 2026-07-28.Pass
Install

Add this component to your MCP client. Where a client-specific snippet is available, pick your client below and copy it straight into your config; otherwise use the connection detail shown.

npm · @xavifabregat/spotify-mcp

# add to Claude Code
claude mcp add xavierfabregat-spotify-mcp -- npx -y @xavifabregat/spotify-mcp
# add to Codex CLI
codex mcp add xavierfabregat-spotify-mcp -- npx -y @xavifabregat/spotify-mcp
// opencode.json
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "xavierfabregat-spotify-mcp": {
      "type": "local",
      "command": [
        "npx",
        "-y",
        "@xavifabregat/spotify-mcp"
      ],
      "enabled": true
    }
  }
}
# add to OpenClaw
openclaw mcp add xavierfabregat-spotify-mcp --command npx --arg -y --arg @xavifabregat/spotify-mcp
# ~/.hermes/config.yaml
mcp_servers:
  xavierfabregat-spotify-mcp:
    command: "npx"
    args: ["-y", "@xavifabregat/spotify-mcp"]
// mcp.json
{
  "mcpServers": {
    "xavierfabregat-spotify-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@xavifabregat/spotify-mcp"
      ]
    }
  }
}
Changelog

Every change we have recorded for this component, newest first. Security-relevant changes are always shown. ▲ marks a change for the better, ▼ a change for the worse; unmarked changes are neutral.

  • 4 Aug 26 −1
    • CVE-2026-69207 affects this package: medium security
    • Known CVEs: partial → fail security
  • 3 Aug 26 +4
    • Stability: unverified → 0.27 functional
  • 2 Aug 26 +40
    • Provenance: unverified → fail security
    • Install scripts: unverified → pass security
    • Known CVEs: unverified → partial security
    • Malware scan: unverified → pass security
    • Schema quality: unverified → excellent functional
    • License: unverified → pass functional
    • Dependency health: unverified → partial functional
    • Maintenance: unverified → pass functional
    • Licence: MIT functional
  • 1 Aug 26 +5
    • Stability: Stability not yet verified: not enough scan history yet (needs a 30-day window). security
    • MCP protocol: unverified → pass functional
  • 31 Jul 26 −25
    • We updated how we score, so this day's move reflects our rubric, not a change to the server See what changed → functional
  • 27 Jul 26 45

    First indexed and scored.

Diagnostics

Diagnostic detail from the automated scan of this channel: what the scanner observed at each step, so you can see exactly where a check passed or failed. It is informational only and never changes the trust score.

Captured 4 Aug 2026 · Analysed npm/@xavifabregat/[email protected]

Provenance none

Ecosystem: npm · Outcome: none

Vulnerabilities 1 finding
ID CVE Severity Vector Fix available
GHSA-8j4g-w8fx-2239 CVE-2026-69207 medium CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L yes
Dependencies 106 packages

106 packages in the resolved dependency tree · 106 deprecated · 32 stale.

The dependency tree was only partially resolved, so these counts may be incomplete.

MCP tools — 11 exposed · ~824 tokens

The tools this component advertises to a client, with an estimated token cost for each. Expand a tool to see its parameters and schema. The per-tool counts are indicative and are not scored directly; the schema's total context footprint is one signal in Schema Quality & AI Usability.

Tool Tokens
authenticate ~44

Connects the user's Spotify account via OAuth. Opens a browser on this machine for approval and stores tokens locally. Use when other tools report you are not authenticated, or to switch accounts.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

devices ~53

action=list shows available Spotify devices; action=transfer moves playback to a device by name or id.

NameTypeReqDescription
actionstringyes
devicestringDevice name (fuzzy) or id (action=transfer)

No output schema declared.

No examples provided.

get_playlist_items ~78

Lists the tracks in one of the user's own or collaborative playlists (Spotify no longer exposes other users' playlist contents). Accepts a playlist id, URI, or URL.

NameTypeReqDescription
offsetintegerPagination offset (default 0)
playliststringyesPlaylist id, spotify:playlist:… URI, or open.spotify.com URL

No output schema declared.

No examples provided.

get_playlists ~20

Lists the user's playlists with item counts and URIs.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

library ~76

Saves, removes, or checks items in the user's Spotify library ('liked'). Works with any content URI: tracks, albums, artists (follow), shows, episodes. To save the current song, get its URI from now_playing first.

NameTypeReqDescription
actionstringyes
urisarrayyesSpotify URIs to act on

No output schema declared.

No examples provided.

modify_playlist ~125

action=create makes a new playlist (private by default); action=add_items appends track URIs to an existing playlist. Does not delete or remove anything.

NameTypeReqDescription
actionstringyes
descriptionstringNew playlist description (action=create)
namestringNew playlist name (action=create)
playliststringTarget playlist id/URI/URL (action=add_items)
publicbooleanMake the new playlist public (default false)
urisarrayTrack URIs to add (action=add_items)

No output schema declared.

No examples provided.

now_playing ~26

Current track, artist, album, progress, device, and shuffle/repeat state.

Input schema present but exposes no named parameters.

No output schema declared.

No examples provided.

play ~146

Plays music by free-text query (searches and starts the best match) or by Spotify URI. Handles "play some Radiohead", "play the album Kind of Blue", "play my Discover Weekly". Reports what it picked — relay that to the user so they can correct it.

NameTypeReqDescription
device_idstringTarget device id (see the devices tool)
querystringWhat to play, e.g. "Bill Evans" or "Kind of Blue". Required unless uri is given.
typestringWhat the query refers to (default: track)
uristringSpotify URI to play directly, e.g. from a previous search result

No output schema declared.

No examples provided.

playback ~87

Transport controls for the active playback: pause, resume, next, previous, seek (value = seconds), volume (value = 0-100), shuffle (value = on/off), repeat (value = off/context/track).

NameTypeReqDescription
actionstringyes
valueseek: seconds · volume: 0-100 · shuffle: on/off · repeat: off/context/track

No output schema declared.

No examples provided.

queue ~65

action=add queues a track by query or URI; action=list shows what's playing and up next.

NameTypeReqDescription
actionstringyes
querystringTrack to queue by name (action=add)
uristringTrack URI to queue (action=add)

No output schema declared.

No examples provided.

search ~104

Searches the Spotify catalog. Use when the user wants options to choose from; for a direct 'play X' request, prefer the play tool. Results include URIs usable with play, queue, playlists, and library. Max 10 results per type (API limit).

NameTypeReqDescription
limitintegerResults per type, 1-10 (default 5)
querystringyesSearch text
typesarrayResult types to include (default: track)

No output schema declared.

No examples provided.