Great DJ
Search songs and make, edit and share music playlists on great.dj. Works without an account.
Sollte ich dies verwenden
Qualität und Sicherheit
Basierend auf einer automatisierten Analyse der Tool-Definitionen und der Einhaltung des Protokolls.
Kontextkosten
Dies ist die ungefähre Anzahl der Tokens, die jedes Mal verbraucht werden, wenn die Tools des Servers in den Kontext eines Modells geladen werden. Höhere Werte verringern die Aufmerksamkeit, die für andere Aufgaben verfügbar ist.
Installieren
Installation mit einem Klick
Fügen Sie dies Ihrer Datei `claude_desktop_config.json` hinzu:
{
"mcpServers": {
"greatdj": {
"url": "https://api.great.dj/mcp"
}
}
}Remote-Endpunkte
https://api.great.dj/mcpstreamable-httpWas es kann
Tool-Inventar
Tools (11)
🟢search_songs(query, limit)
Finds a song on YouTube: up to 3 matching videos (id, title, thumbnail). Use the returned video ids in create_playlist, add_songs and update_playlist instead of the song's name, so it isn't looked up again. Each search not seen before uses up song lookups (limited per hour), so search only for songs you need.
Eingabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "What to search for, ideally \"Artist - Title\""
},
"limit": {
"type": "integer",
"minimum": 1,
"maximum": 3,
"description": "How many matches (1 to 3, default 3)"
}
},
"required": [
"query"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"query": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"id": {
"type": "string",
"description": "YouTube video id: reuse it instead of the title"
},
"title": {
"type": "string"
},
"thumbnail": {
"type": [
"string",
"null"
]
}
},
"required": [
"source",
"id",
"title",
"thumbnail"
],
"additionalProperties": false
}
}
},
"required": [
"query",
"results"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_playlist(playlist)
A great.dj playlist: title, description, owner, link and its tracks (with their YouTube video ids). Any playlist can be read by anyone with its id or link.
Eingabe-Schema
{
"type": "object",
"properties": {
"playlist": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "The playlist's id (\"abc123\" or \"username/abc123\") or its great.dj link"
}
},
"required": [
"playlist"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"private": {
"type": "boolean",
"description": "Only its owner can edit it (anyone with the link can listen)"
},
"owner": {
"type": [
"string",
"null"
],
"description": "Username, or null for anonymous playlists"
},
"url": {
"type": "string",
"description": "The playlist on great.dj"
},
"track_count": {
"type": "number"
},
"tracks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"id": {
"type": "string",
"description": "YouTube video id: reuse it instead of the title"
},
"title": {
"type": "string"
},
"thumbnail": {
"type": [
"string",
"null"
]
}
},
"required": [
"source",
"id",
"title",
"thumbnail"
],
"additionalProperties": false
}
},
"unmatched": {
"type": "array",
"items": {
"type": "string"
},
"description": "Songs that weren't found on YouTube (not added)"
},
"edit_token": {
"type": "string",
"description": "Anonymous playlists only: needed to edit it later. Can't be recovered."
}
},
"required": [
"id",
"title",
"description",
"private",
"owner",
"url",
"track_count",
"tracks"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢get_popular_playlists
great.dj's popular playlists right now (title, owner, link, track count; no tracks: use get_playlist for those).
Eingabe-Schema
{
"type": "object",
"properties": {},
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"playlists": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"private": {
"type": "boolean",
"description": "Only its owner can edit it (anyone with the link can listen)"
},
"owner": {
"type": [
"string",
"null"
],
"description": "Username, or null for anonymous playlists"
},
"url": {
"type": "string",
"description": "The playlist on great.dj"
},
"track_count": {
"type": "number"
}
},
"required": [
"id",
"title",
"description",
"private",
"owner",
"url",
"track_count"
],
"additionalProperties": true
}
}
},
"required": [
"playlists"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢list_my_playlists(page)
The playlists of the API key's account, newest first, 20 per page (no tracks: use get_playlist for those). Needs an API key.
Eingabe-Schema
{
"type": "object",
"properties": {
"page": {
"type": "integer",
"minimum": 1,
"description": "Page, from 1 (default 1)"
}
},
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"playlists": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"private": {
"type": "boolean",
"description": "Only its owner can edit it (anyone with the link can listen)"
},
"owner": {
"type": [
"string",
"null"
],
"description": "Username, or null for anonymous playlists"
},
"url": {
"type": "string",
"description": "The playlist on great.dj"
},
"track_count": {
"type": "number"
}
},
"required": [
"id",
"title",
"description",
"private",
"owner",
"url",
"track_count"
],
"additionalProperties": true
}
},
"page": {
"type": "number"
},
"per_page": {
"type": "number"
},
"total": {
"type": "number"
}
},
"required": [
"playlists",
"page",
"per_page",
"total"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟢playlist_history(playlist, edit_token)
The saved versions of a playlist, newest first (for restore_playlist_version). Owner only: the API key's account, or the edit_token of an anonymous playlist.
Eingabe-Schema
{
"type": "object",
"properties": {
"playlist": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "The playlist's id (\"abc123\" or \"username/abc123\") or its great.dj link"
},
"edit_token": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "The edit_token create_playlist returned for an anonymous playlist (made without an API key). Not needed for your own account's playlists."
}
},
"required": [
"playlist"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"versions": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"saved_at": {
"type": [
"string",
"null"
]
},
"title": {
"type": [
"string",
"null"
]
},
"track_count": {
"type": "number"
},
"current": {
"type": "boolean"
}
},
"required": [
"id",
"saved_at",
"title",
"track_count",
"current"
],
"additionalProperties": true
}
}
},
"required": [
"versions"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡create_playlist(title, songs, description, private)
Makes a new great.dj playlist and returns its link, its tracks with their YouTube video ids (reuse those ids in later calls), and any songs that weren't found. Each song is a {"id": "<YouTube video id>"} object (preferred: free and exact) or an "Artist - Title" string, looked up on YouTube (slow, and limited per hour). Reuse the video ids returned by search_songs and earlier calls instead of looking songs up again. With an API key it belongs to the key's account. Without one it's an anonymous public playlist and the result has an edit_token: keep it for the rest of the conversation, it's the only way to change the playlist later and can't be recovered.
Eingabe-Schema
{
"type": "object",
"properties": {
"title": {
"type": "string",
"maxLength": 50,
"description": "The playlist's title"
},
"songs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "\"Artist - Title\", looked up on YouTube"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{11}$",
"description": "YouTube video id (11 characters)"
},
"title": {
"type": "string",
"maxLength": 200,
"description": "Title to show (YouTube's when missing)"
}
},
"required": [
"id"
],
"additionalProperties": false,
"description": "A YouTube video, by id"
}
]
},
"minItems": 1,
"maxItems": 100,
"description": "Each song is a {\"id\": \"<YouTube video id>\"} object (preferred: free and exact) or an \"Artist - Title\" string, looked up on YouTube (slow, and limited per hour). Reuse the video ids returned by search_songs and earlier calls instead of looking songs up again. At most 100 per call."
},
"description": {
"type": "string",
"maxLength": 2000
},
"private": {
"type": "boolean",
"description": "true (default with an API key): only the owner can edit it; false: anyone can. Anyone with the link can listen either way. true needs an API key."
}
},
"required": [
"title",
"songs"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"private": {
"type": "boolean",
"description": "Only its owner can edit it (anyone with the link can listen)"
},
"owner": {
"type": [
"string",
"null"
],
"description": "Username, or null for anonymous playlists"
},
"url": {
"type": "string",
"description": "The playlist on great.dj"
},
"track_count": {
"type": "number"
},
"tracks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"id": {
"type": "string",
"description": "YouTube video id: reuse it instead of the title"
},
"title": {
"type": "string"
},
"thumbnail": {
"type": [
"string",
"null"
]
}
},
"required": [
"source",
"id",
"title",
"thumbnail"
],
"additionalProperties": false
}
},
"unmatched": {
"type": "array",
"items": {
"type": "string"
},
"description": "Songs that weren't found on YouTube (not added)"
},
"edit_token": {
"type": "string",
"description": "Anonymous playlists only: needed to edit it later. Can't be recovered."
}
},
"required": [
"id",
"title",
"description",
"private",
"owner",
"url",
"track_count",
"tracks"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🟡add_songs(playlist, songs, edit_token)
Appends songs to the end of a playlist. Each song is a {"id": "<YouTube video id>"} object (preferred: free and exact) or an "Artist - Title" string, looked up on YouTube (slow, and limited per hour). Reuse the video ids returned by search_songs and earlier calls instead of looking songs up again. For your own playlists (API key), anonymous ones you made (edit_token), and open ones anyone can edit.
Eingabe-Schema
{
"type": "object",
"properties": {
"playlist": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "The playlist's id (\"abc123\" or \"username/abc123\") or its great.dj link"
},
"songs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "\"Artist - Title\", looked up on YouTube"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{11}$",
"description": "YouTube video id (11 characters)"
},
"title": {
"type": "string",
"maxLength": 200,
"description": "Title to show (YouTube's when missing)"
}
},
"required": [
"id"
],
"additionalProperties": false,
"description": "A YouTube video, by id"
}
]
},
"minItems": 1,
"maxItems": 100,
"description": "Each song is a {\"id\": \"<YouTube video id>\"} object (preferred: free and exact) or an \"Artist - Title\" string, looked up on YouTube (slow, and limited per hour). Reuse the video ids returned by search_songs and earlier calls instead of looking songs up again. At most 100 per call."
},
"edit_token": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "The edit_token create_playlist returned for an anonymous playlist (made without an API key). Not needed for your own account's playlists."
}
},
"required": [
"playlist",
"songs"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"private": {
"type": "boolean",
"description": "Only its owner can edit it (anyone with the link can listen)"
},
"owner": {
"type": [
"string",
"null"
],
"description": "Username, or null for anonymous playlists"
},
"url": {
"type": "string",
"description": "The playlist on great.dj"
},
"track_count": {
"type": "number"
},
"tracks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"id": {
"type": "string",
"description": "YouTube video id: reuse it instead of the title"
},
"title": {
"type": "string"
},
"thumbnail": {
"type": [
"string",
"null"
]
}
},
"required": [
"source",
"id",
"title",
"thumbnail"
],
"additionalProperties": false
}
},
"unmatched": {
"type": "array",
"items": {
"type": "string"
},
"description": "Songs that weren't found on YouTube (not added)"
},
"edit_token": {
"type": "string",
"description": "Anonymous playlists only: needed to edit it later. Can't be recovered."
},
"added": {
"type": "number"
}
},
"required": [
"id",
"title",
"description",
"private",
"owner",
"url",
"track_count",
"tracks",
"added"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴update_playlist(playlist, title, description, private, songs, ...)
Changes a playlist's title, description or privacy, and/or replaces its whole song list with `songs` (to reorder or remove songs: send the full new list, using the video ids from get_playlist). Each change is saved as a new version (see playlist_history). Each song is a {"id": "<YouTube video id>"} object (preferred: free and exact) or an "Artist - Title" string, looked up on YouTube (slow, and limited per hour). Reuse the video ids returned by search_songs and earlier calls instead of looking songs up again. Title, description and privacy: owner only (API key, or edit_token for anonymous playlists). Songs: also anyone, for open playlists.
Eingabe-Schema
{
"type": "object",
"properties": {
"playlist": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "The playlist's id (\"abc123\" or \"username/abc123\") or its great.dj link"
},
"title": {
"type": "string",
"minLength": 1,
"maxLength": 50
},
"description": {
"type": "string",
"maxLength": 2000
},
"private": {
"type": "boolean",
"description": "true: only the owner can edit it; false: anyone can"
},
"songs": {
"type": "array",
"items": {
"anyOf": [
{
"type": "string",
"minLength": 1,
"maxLength": 200,
"description": "\"Artist - Title\", looked up on YouTube"
},
{
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[A-Za-z0-9_-]{11}$",
"description": "YouTube video id (11 characters)"
},
"title": {
"type": "string",
"maxLength": 200,
"description": "Title to show (YouTube's when missing)"
}
},
"required": [
"id"
],
"additionalProperties": false,
"description": "A YouTube video, by id"
}
]
},
"minItems": 1,
"maxItems": 500,
"description": "The new full list, replacing the current one. Each song is a {\"id\": \"<YouTube video id>\"} object (preferred: free and exact) or an \"Artist - Title\" string, looked up on YouTube (slow, and limited per hour). Reuse the video ids returned by search_songs and earlier calls instead of looking songs up again. At most 500."
},
"edit_token": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "The edit_token create_playlist returned for an anonymous playlist (made without an API key). Not needed for your own account's playlists."
}
},
"required": [
"playlist"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"private": {
"type": "boolean",
"description": "Only its owner can edit it (anyone with the link can listen)"
},
"owner": {
"type": [
"string",
"null"
],
"description": "Username, or null for anonymous playlists"
},
"url": {
"type": "string",
"description": "The playlist on great.dj"
},
"track_count": {
"type": "number"
},
"tracks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"id": {
"type": "string",
"description": "YouTube video id: reuse it instead of the title"
},
"title": {
"type": "string"
},
"thumbnail": {
"type": [
"string",
"null"
]
}
},
"required": [
"source",
"id",
"title",
"thumbnail"
],
"additionalProperties": false
}
},
"unmatched": {
"type": "array",
"items": {
"type": "string"
},
"description": "Songs that weren't found on YouTube (not added)"
},
"edit_token": {
"type": "string",
"description": "Anonymous playlists only: needed to edit it later. Can't be recovered."
}
},
"required": [
"id",
"title",
"description",
"private",
"owner",
"url",
"track_count",
"tracks"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴restore_playlist_version(playlist, version, edit_token)
Makes an earlier version (an id from playlist_history) the current playlist, saved as a new version (nothing is lost). Owner only: the API key's account, or the edit_token of an anonymous playlist.
Eingabe-Schema
{
"type": "object",
"properties": {
"playlist": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "The playlist's id (\"abc123\" or \"username/abc123\") or its great.dj link"
},
"version": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "A version id from playlist_history"
},
"edit_token": {
"type": "string",
"minLength": 1,
"maxLength": 100,
"description": "The edit_token create_playlist returned for an anonymous playlist (made without an API key). Not needed for your own account's playlists."
}
},
"required": [
"playlist",
"version"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"private": {
"type": "boolean",
"description": "Only its owner can edit it (anyone with the link can listen)"
},
"owner": {
"type": [
"string",
"null"
],
"description": "Username, or null for anonymous playlists"
},
"url": {
"type": "string",
"description": "The playlist on great.dj"
},
"track_count": {
"type": "number"
},
"tracks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"id": {
"type": "string",
"description": "YouTube video id: reuse it instead of the title"
},
"title": {
"type": "string"
},
"thumbnail": {
"type": [
"string",
"null"
]
}
},
"required": [
"source",
"id",
"title",
"thumbnail"
],
"additionalProperties": false
}
},
"unmatched": {
"type": "array",
"items": {
"type": "string"
},
"description": "Songs that weren't found on YouTube (not added)"
},
"edit_token": {
"type": "string",
"description": "Anonymous playlists only: needed to edit it later. Can't be recovered."
}
},
"required": [
"id",
"title",
"description",
"private",
"owner",
"url",
"track_count",
"tracks"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}🔴delete_playlist(playlist)
Deletes one of the API key account's playlists, with its history. Can't be undone: confirm with the user first. Needs an API key.
Eingabe-Schema
{
"type": "object",
"properties": {
"playlist": {
"type": "string",
"minLength": 1,
"maxLength": 300,
"description": "The playlist's id (\"abc123\" or \"username/abc123\") or its great.dj link"
}
},
"required": [
"playlist"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"deleted": {
"type": "string"
}
},
"required": [
"deleted"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}⚪import_spotify_playlist(url, title)
Makes a great.dj playlist (owned by the API key's account) from a public Spotify playlist's first 50 songs, each looked up on YouTube (uses up song lookups). Needs an API key.
Eingabe-Schema
{
"type": "object",
"properties": {
"url": {
"type": "string",
"minLength": 1,
"maxLength": 500,
"description": "The Spotify playlist's link (https://open.spotify.com/playlist/...)"
},
"title": {
"type": "string",
"maxLength": 50,
"description": "Title (default \"Spotify import\")"
}
},
"required": [
"url"
],
"additionalProperties": false,
"$schema": "http://json-schema.org/draft-07/schema#"
}Ausgabe-Schema
{
"type": "object",
"properties": {
"id": {
"type": "string"
},
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"private": {
"type": "boolean",
"description": "Only its owner can edit it (anyone with the link can listen)"
},
"owner": {
"type": [
"string",
"null"
],
"description": "Username, or null for anonymous playlists"
},
"url": {
"type": "string",
"description": "The playlist on great.dj"
},
"track_count": {
"type": "number"
},
"tracks": {
"type": "array",
"items": {
"type": "object",
"properties": {
"source": {
"type": "string"
},
"id": {
"type": "string",
"description": "YouTube video id: reuse it instead of the title"
},
"title": {
"type": "string"
},
"thumbnail": {
"type": [
"string",
"null"
]
}
},
"required": [
"source",
"id",
"title",
"thumbnail"
],
"additionalProperties": false
}
},
"unmatched": {
"type": "array",
"items": {
"type": "string"
},
"description": "Songs that weren't found on YouTube (not added)"
},
"edit_token": {
"type": "string",
"description": "Anonymous playlists only: needed to edit it later. Can't be recovered."
}
},
"required": [
"id",
"title",
"description",
"private",
"owner",
"url",
"track_count",
"tracks"
],
"additionalProperties": true,
"$schema": "http://json-schema.org/draft-07/schema#"
}Community
Nachweis