io.github.XavierFabregat/spotify-mcp
NPM · @XAVIFABREGAT/SPOTIFY-MCP · SCANNED AUG 3
Conversational Spotify control from AI clients: play, queue, devices, playlists, and library.
Available components
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 Security87
- No malware found by supply-chain analysis.Pass
- Only part of the dependency tree could be resolved (106 of 110), so this covers what we could see, not the whole tree.Partial
- 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
- Source repository is publicly reachable at the declared URL. View diagnostics → Pass
- Provenance check failed: no build-provenance attestation is published. See how to fix → View diagnostics → Fail
- Clear OSI-approved license (MIT).Pass
- Actively maintained (last published 31 days ago).Pass
- Disclosure check failed: no security disclosure policy was found in the source repository. See how to fix → Fail
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 Management27
- Stability observed for 8 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
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
claude mcp add xavierfabregat-spotify-mcp -- npx -y @xavifabregat/spotify-mcp
codex mcp add xavierfabregat-spotify-mcp -- npx -y @xavifabregat/spotify-mcp
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"xavierfabregat-spotify-mcp": {
"type": "local",
"command": [
"npx",
"-y",
"@xavifabregat/spotify-mcp"
],
"enabled": true
}
}
} openclaw mcp add xavierfabregat-spotify-mcp --command npx --arg -y --arg @xavifabregat/spotify-mcp
mcp_servers:
xavierfabregat-spotify-mcp:
command: "npx"
args: ["-y", "@xavifabregat/spotify-mcp"] {
"mcpServers": {
"xavierfabregat-spotify-mcp": {
"command": "npx",
"args": [
"-y",
"@xavifabregat/spotify-mcp"
]
}
}
} 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.
- 3 Aug 26 +4
- Stability: unverified → 0.27 ▲ functional
- 2 Aug 26 +40
- Provenance: unverified → fail ▼ security
- Known CVEs: unverified → partial ▲ security
- Install scripts: unverified → pass ▲ 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.
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 3 Aug 2026 · Analysed npm/@xavifabregat/[email protected]
Provenance none
Ecosystem: npm · Outcome: none
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.
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.
authenticate Connect Spotify account ~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 Spotify devices ~53
action=list shows available Spotify devices; action=transfer moves playback to a device by name or id.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | — |
| device | string | — | Device name (fuzzy) or id (action=transfer) |
No output schema declared.
No examples provided.
get_playlist_items Show playlist contents ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| offset | integer | — | Pagination offset (default 0) |
| playlist | string | yes | Playlist id, spotify:playlist:… URI, or open.spotify.com URL |
No output schema declared.
No examples provided.
get_playlists List my 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 Manage 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.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | — |
| uris | array | yes | Spotify URIs to act on |
No output schema declared.
No examples provided.
modify_playlist Create playlist / add tracks ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | — |
| description | string | — | New playlist description (action=create) |
| name | string | — | New playlist name (action=create) |
| playlist | string | — | Target playlist id/URI/URL (action=add_items) |
| public | boolean | — | Make the new playlist public (default false) |
| uris | array | — | Track URIs to add (action=add_items) |
No output schema declared.
No examples provided.
now_playing What's 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 Play music ~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.
| Name | Type | Req | Description |
|---|---|---|---|
| device_id | string | — | Target device id (see the devices tool) |
| query | string | — | What to play, e.g. "Bill Evans" or "Kind of Blue". Required unless uri is given. |
| type | string | — | What the query refers to (default: track) |
| uri | string | — | Spotify URI to play directly, e.g. from a previous search result |
No output schema declared.
No examples provided.
playback Control 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).
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | — |
| value | — | — | seek: seconds · volume: 0-100 · shuffle: on/off · repeat: off/context/track |
No output schema declared.
No examples provided.
queue Playback queue ~65
action=add queues a track by query or URI; action=list shows what's playing and up next.
| Name | Type | Req | Description |
|---|---|---|---|
| action | string | yes | — |
| query | string | — | Track to queue by name (action=add) |
| uri | string | — | Track URI to queue (action=add) |
No output schema declared.
No examples provided.
search Search Spotify ~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).
| Name | Type | Req | Description |
|---|---|---|---|
| limit | integer | — | Results per type, 1-10 (default 5) |
| query | string | yes | Search text |
| types | array | — | Result types to include (default: track) |
No output schema declared.
No examples provided.