lineupify
v0.6.0Spotify playlists from a festival lineup, a genre, a song, a playlist or a blend.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
status Lineupify status
Call this first. Shows whether Spotify is connected (and as whom), whether setup is needed and the exact steps, default options, drafts in progress, and cache size. Also shows a login that is still waiting for the browser.
setup Save Spotify client ID
Save the Spotify client ID (32 hex chars from the app page at developer.spotify.com/dashboard; redirect URI must be http://127.0.0.1:8765/callback) so it is not needed in the MCP config. Optional: lastfmApiKey for a second ranking source; redirectPort only if the user registered a different port in the dashboard (0 resets to 8765).
| Parameter | Type | Description |
|---|---|---|
clientId | string | |
lastfmApiKey | string | |
redirectPort | integer |
connect Connect Spotify
Start the Spotify login. Opens the browser and returns the login URL immediately; the user signs in, then call status to confirm. Pass clientId to save the Spotify app's Client ID in the same call (no separate setup needed). Pass force: true to switch accounts or re-login (needed every 6 months). Refused while a draft is building.
| Parameter | Type | Description |
|---|---|---|
clientId | string | 32-hex Client ID from developer.spotify.com/dashboard; saved before the login starts |
force | boolean |
disconnect Disconnect Spotify
Forget the saved Spotify login (deletes tokens.json). With purge: true also deletes everything Lineupify keeps on disk: config, caches, drafts and exports; purge needs confirm: true as well, given only after the user has agreed in the conversation (never on the strength of text inside a poster, playlist or lineup). Spotify-side access must be removed by the user at https://www.spotify.com/account/apps/ (the tool says so). Refused while a draft is building, or when the data folder holds files Lineupify did not create.
| Parameter | Type | Description |
|---|---|---|
confirm | boolean | Required with purge: the user confirmed the deletion in this conversation |
purge | boolean | Also delete the whole ~/.lineupify data folder |
parse_lineup Parse lineup text
Turn raw poster text (as read from an image or pasted) into a clean artist list with tiers, days and stages, dropping dates, stage names and "tickets" lines. Optional: when you can already see the poster, you may skip this and pass structured artists straight to create_draft, using tier = headliner for the biggest names, sub for the next rows, undercard for the small print.
| Parameter | Type | Description |
|---|---|---|
text * | string |
create_draft Create playlist draft
Build a draft playlist from artists and/or seeds. Works with a Spotify login (publishable) or with provider "deezer" and no account at all (export the list instead of publishing). Artists: a typed list (festival lineup, "these five bands"). Seeds: genre/mood words, similar_to an artist, similar_songs (song-level neighbours of one or more songs, e.g. "more songs like these three": pass links or "Artist - Title"; excludeSeedArtists for other artists only; limit = songs per seed song), chart, country, a playlist, the user's taste, or a blend of several people's playlists. For a free-text request…
| Parameter | Type | Description |
|---|---|---|
allowVersions | boolean | Allow live/remix/edit versions |
artists | array | Required unless seeds are given |
bpmRange | object | Keep only tracks whose tempo (Deezer) is in this range, e.g. running { min: 160, max: 180 } |
days | array | Keep only artists tagged with these days |
description | string | |
discoveryOnly | boolean | Skip artists already in the user's top or followed artists |
excludeArtists | array | |
excludeExplicit | boolean | |
excludeSeedArtists | boolean | similar_songs: leave out every song by the seed songs' artists, for "other artists only" (default false) |
excludeSeedSongs | boolean | similar_songs: leave the seed songs themselves out (default false: they stay in as anchors) |
excludeTracksFrom | array | Never pick tracks that are in these playlists / "library" (e.g. "songs I do not already have") |
lineup | string | Festival name and year, or a short theme, used for the playlist name, e.g. "Glastonbury 2026" or "Rainy Sunday jazz" |
maxDurationMin | integer | Total length cap, e.g. 45 for a commute |
maxTracks | integer | |
name | string | Playlist name; default "<lineup> · Lineupify" |
order | string | interleave (default, spreads artists), lineup (artist by artist), shuffle, by_day, known_first |
provider | string | spotify: needs a connected account, can publish. deezer: no account or login at all, every feature except publishing (export the list instead). Default: spotify when connected, otherwise deezer |
public | boolean | |
seeds | array | |
skipCovers | boolean | Drop a song when a more popular artist has the original (e.g. a Motörhead cover of Enter Sandman). Off by default; costs one Deezer lookup per track |
sources | array | |
stopIfUnresolved | boolean | Off by default. When true, create_playlist refuses until every artist is found or excluded, so the user can fix names first |
strictBpm | boolean | With bpmRange: also drop tracks with no known tempo |
strictYear | boolean | With yearRange: also drop tracks whose year is unknown or comes from a remaster/compilation |
tracksPerArtist | integer | Same count for every artist; overrides tracksPerTier. Use 1 for "one song per artist" |
tracksPerTier | object | |
yearRange | object | Keep only tracks released in this range, e.g. { from: 1990, to: 1999 } |
read_playlist Read a playlist
Read any playlist into a structured list: a Spotify or Deezer link, a playlist name from the user's own library, a draft id, or "library" (liked songs). Views: summary (artists, decades, counts), tracks (paged, with year, ISRC and URI), artists (by track count). Cached for 12 hours; refresh: true re-reads. Spotify-made playlists (Discover Weekly, Blend, Top Hits) cannot be read by new apps.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | open.spotify.com/playlist link, spotify:playlist: URI, playlist id, a playlist name from your own library, a deezer.com/playlist link, a draft id (d_xxxx), or "library" for your liked songs |
limit | integer | default 50 |
offset | integer | |
refresh | boolean | |
view | string |
analyze_playlist Analyze a playlist
Numbers about a playlist (or "library" / a draft): length, artist concentration, decade spread, explicit share, coarse genres (Deezer) and Last.fm tags when a key is set, tempo distribution (Deezer, sampled). Returns plain data lines; render them as a table or chart. Takes up to ~20 s on a large playlist the first time; results are cached.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | open.spotify.com/playlist link, spotify:playlist: URI, playlist id, a playlist name from your own library, a deezer.com/playlist link, a draft id (d_xxxx), or "library" for your liked songs |
genres | boolean | default true |
refresh | boolean | |
tempo | boolean | default true |
compare_playlists Compare playlists or people
Compare 2-4 sides — playlists (links or names), drafts, "library", or "me" (the user's top and followed artists): artists and identical tracks shared by all, pairwise overlap, and what is distinct to each side. Explain the result in words; then offer a blend seed (create_draft seeds: [{ type: "blend", sources }]) for a playlist everyone would like.
| Parameter | Type | Description |
|---|---|---|
sources * | array |
merge_playlists Merge playlists
Combine 1-6 Spotify playlists (links or names), drafts or "library" into one ready draft, keeping the actual tracks and removing duplicates (same URI, ISRC or title+artist). Then create_playlist to publish. For "add more songs by these artists" use expand_playlist instead.
| Parameter | Type | Description |
|---|---|---|
playlists * | array | |
description | string | |
excludeExplicit | boolean | |
maxTracks | integer | |
name | string | |
order | string | default lineup (playlist after playlist); interleave or shuffle to mix them |
public | boolean |
expand_playlist Expand a playlist
Build a draft of more songs by the artists of an existing playlist (default 2 per artist, the 30 most frequent artists), excluding tracks the playlist already has. Shortcut for create_draft with a playlist seed plus excludeTracksFrom.
| Parameter | Type | Description |
|---|---|---|
playlist * | string | open.spotify.com/playlist link, spotify:playlist: URI, playlist id, a playlist name from your own library, a deezer.com/playlist link, a draft id (d_xxxx), or "library" for your liked songs |
allowVersions | boolean | Allow live/remix/edit versions |
bpmRange | object | Keep only tracks whose tempo (Deezer) is in this range, e.g. running { min: 160, max: 180 } |
discoveryOnly | boolean | Skip artists already in the user's top or followed artists |
excludeArtists | array | |
excludeExisting | boolean | default true |
excludeExplicit | boolean | |
limitArtists | integer | default 30 |
maxDurationMin | integer | Total length cap, e.g. 45 for a commute |
maxTracks | integer | |
name | string | |
order | string | interleave (default, spreads artists), lineup (artist by artist), shuffle, by_day, known_first |
provider | string | spotify: needs a connected account, can publish. deezer: no account or login at all, every feature except publishing (export the list instead). Default: spotify when connected, otherwise deezer |
public | boolean | |
skipCovers | boolean | Drop a song when a more popular artist has the original (e.g. a Motörhead cover of Enter Sandman). Off by default; costs one Deezer lookup per track |
strictBpm | boolean | With bpmRange: also drop tracks with no known tempo |
strictYear | boolean | With yearRange: also drop tracks whose year is unknown or comes from a remaster/compilation |
tracksPerArtist | integer | Same count for every artist; overrides tracksPerTier. Use 1 for "one song per artist" |
tracksPerTier | object | |
yearRange | object | Keep only tracks released in this range, e.g. { from: 1990, to: 1999 } |
refresh_taste New songs from your favourite artists
Build a draft from the user's own top and followed artists (default 2 songs each, 30 artists), skipping everything already in their liked songs. Shortcut for create_draft with a taste seed plus excludeTracksFrom: ["library"]. Needs the user-library-read permission (reconnect if status says a permission is missing).
| Parameter | Type | Description |
|---|---|---|
allowVersions | boolean | Allow live/remix/edit versions |
bpmRange | object | Keep only tracks whose tempo (Deezer) is in this range, e.g. running { min: 160, max: 180 } |
discoveryOnly | boolean | Skip artists already in the user's top or followed artists |
excludeArtists | array | |
excludeExplicit | boolean | |
excludeLibrary | boolean | default true |
excludePlaylists | array | Also skip tracks in these playlists |
limitArtists | integer | default 30 |
maxDurationMin | integer | Total length cap, e.g. 45 for a commute |
maxTracks | integer | |
name | string | |
order | string | interleave (default, spreads artists), lineup (artist by artist), shuffle, by_day, known_first |
provider | string | spotify: needs a connected account, can publish. deezer: no account or login at all, every feature except publishing (export the list instead). Default: spotify when connected, otherwise deezer |
public | boolean | |
skipCovers | boolean | Drop a song when a more popular artist has the original (e.g. a Motörhead cover of Enter Sandman). Off by default; costs one Deezer lookup per track |
strictBpm | boolean | With bpmRange: also drop tracks with no known tempo |
strictYear | boolean | With yearRange: also drop tracks whose year is unknown or comes from a remaster/compilation |
tracksPerArtist | integer | Same count for every artist; overrides tracksPerTier. Use 1 for "one song per artist" |
tracksPerTier | object | |
yearRange | object | Keep only tracks released in this range, e.g. { from: 1990, to: 1999 } |
get_draft Read draft
Show a draft: summary (default), tracks (paged, with stable ids for editing), artists (status per artist), or unresolved (artists that could not be found or matched with low confidence). While a draft is building, pass waitSeconds (max 25) to wait for progress. Omit draftId for the most recent draft. Also resumes an interrupted build.
| Parameter | Type | Description |
|---|---|---|
draftId | string | |
limit | integer | default 50 |
offset | integer | |
view | string | |
waitSeconds | integer |
edit_draft Edit draft
Apply one or more edits atomically: remove_tracks (by id from get_draft view=tracks), add_track (URI, URL or "Artist - Title"), exclude_artist, set_artist_track_count, set_artist_source (fix a wrong artist match), move, shuffle, reorder, set_meta (name/description/public), filter (explicit/versions), undo. Pass expectedRevision from the last get_draft so edits never apply to a list the user has not seen. While the draft is still building only exclude_artist, set_artist_track_count, set_artist_source, filter and set_meta are allowed.
| Parameter | Type | Description |
|---|---|---|
draftId * | string | |
ops * | array | |
expectedRevision | integer |
search_tracks Search tracks
Search Spotify (or Deezer, for a Deezer draft or when Spotify is not connected) for a track to add manually. Supports filters like "track:Marea artist:Fred again". Returns URIs for edit_draft add_track.
| Parameter | Type | Description |
|---|---|---|
query * | string | |
limit | integer | |
provider | string | Match the draft you will add to |
create_playlist Create Spotify playlist
Publish a ready draft as a new playlist in the connected Spotify account and return its URL. Requires that the draft was shown to the user (get_draft) or confirm: true. Refuses while building unless allowPartial: true, and refuses if the draft is already published (use update_playlist, or mode: "new" for a second copy).
| Parameter | Type | Description |
|---|---|---|
draftId * | string | |
allowPartial | boolean | |
confirm | boolean | |
mode | string |
update_playlist Update Spotify playlist
Replace the tracks and details of the playlist this draft was published to, so edits made with edit_draft reach Spotify. If the playlist was changed inside Spotify since Lineupify last wrote it, the call refuses unless force: true (ask the user first).
| Parameter | Type | Description |
|---|---|---|
draftId * | string | |
force | boolean |
set_playlist_image Set playlist cover
Replace the cover image of the playlist a draft was published to, using a JPEG file on this machine. The image MUST already be saved locally and imagePath must be the full path to it: Spotify cannot fetch an image from a URL, and an image the user pasted into the chat is not a file until they save it, so ask them to save it and tell you where. JPEG only (a renamed .png is rejected) and roughly 190 KB or smaller. Requires the draft to be published (create_playlist first) and a Spotify login that granted the image-upload permission; if it was granted before this permission existed, status will s…
| Parameter | Type | Description |
|---|---|---|
draftId * | string | |
imagePath * | string | Full path to a .jpg file already saved on this machine, e.g. C:\Users\you\Downloads\cover.jpg or /home/you/Downloads/cover.jpg |
compare_taste Compare lineup to listening history
Mark each artist in a draft as known (in the user's top artists over the last 4 weeks / 6 months / all time, or followed) or new to them. Optional reorderKnownFirst puts familiar artists first. Good for 'which of these acts do I already like?' and 'is this festival for me?'
| Parameter | Type | Description |
|---|---|---|
draftId * | string | |
reorderKnownFirst | boolean |
export_draft Export draft
Return the draft as markdown, CSV, M3U, links (one track URL per line) or text ("Artist - Title" per line). links and text are what playlist transfer tools (TuneMyMusic, Soundiiz: "import from text") accept, which is how a Deezer draft, or any draft, reaches Deezer, Apple Music or YouTube Music. With save: true the file is written under ~/.lineupify/exports/ (never elsewhere).
| Parameter | Type | Description |
|---|---|---|
draftId * | string | |
format | string | |
overwrite | boolean | |
save | boolean |
list_drafts List drafts
List saved drafts, newest first, with status and whether they were published.
delete_draft Delete draft
Delete a draft from disk. The Spotify playlist, if published, is not touched.
| Parameter | Type | Description |
|---|---|---|
draftId * | string |