mcp-deezer
You can use mcp-deezer to search and browse Deezer, access personal listening data, and manage favorites/playlists from an MCP client.
Get your Deezer user id.
Search tracks, albums, artists, and playlists; fetch track, artist, album, playlist, and lyrics details.
Browse charts, similar tracks/artists, personal Flow, recommendations, recently played containers, and your top tracks/artists/albums.
List favorites by category and list your playlists with cursor-based paging.
Like/unlike tracks, albums, artists, or playlists.
Add/remove playlist tracks, create playlists, update playlist metadata, and delete playlists with explicit confirmation.
Use read-only mode to hide and refuse all write tools.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-deezer search for songs by Daft Punk"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-deezer
Unofficial Deezer MCP server for AI agents — search music, manage playlists and favorites, and reach your personalized discovery through 21 tools.
Quick start · Tools · Configuration · Troubleshooting
Highlights
21 tools, fully typed — every tool ships an
outputSchemaand MCP annotations, so clients can validate results and gate the five write tools.One response envelope — every list answers
{items, count, total, next_cursor}; paging is acursorargument, not a guess.Safe by default —
DEEZER_READ_ONLY=1removes the write tools from the catalog entirely.Built for real sessions — retries with backoff on 429/5xx, actionable errors, and the ARL is redacted from every message.
Related MCP server: mcp-spotify
Why this exists
Deezer closed their developer portal
to new applications in 2025. mcp-deezer drives Deezer's internal Pipe GraphQL API with your own
authenticated browser session, so there is no developer app to register and no API key to request.
MCP client ── stdio / JSON-RPC ──▶ mcp-deezer ── Pipe GraphQL (ARL) ──▶ DeezerThe API is unofficial and can change without notice. This project is not affiliated with or endorsed by Deezer.
Quick start
1 · Install
uvx mcp-deezer # no persistent install
pipx install mcp-deezer # or a global command2 · Get your ARL cookie
This step is manual, in a browser:
Go to https://deezer.com and log in.
Press F12 → Application → Cookies →
deezer.com.Copy the value of the cookie named
arl(~192 hex characters).
The ARL is a session credential: anyone who has it can act as your account. Never commit it,
paste it in an issue, or share it. PreferDEEZER_ARL_FILE over a raw value in a client
configuration file. See SECURITY.md.
3 · Register the server
Claude Desktop — claude_desktop_config.json:
{
"mcpServers": {
"deezer": {
"command": "uvx",
"args": ["mcp-deezer"],
"env": { "DEEZER_ARL": "PASTE_ARL_HERE" }
}
}
}Claude Code:
claude mcp add deezer -e DEEZER_ARL=PASTE_ARL_HERE -- uvx mcp-deezerCursor (.cursor/mcp.json) and VS Code / Copilot (.vscode/mcp.json) use the same
command / args / env shape as Claude Desktop; VS Code takes the top-level key servers.
Recommended for anything automated — keep the cookie out of the config file:
"env": { "DEEZER_ARL_FILE": "/home/you/.config/deezer/arl", "DEEZER_READ_ONLY": "1" }4 · Verify
Restart the client and call get_me. It answers with your numeric Deezer user id:
get_me → { "id": "1234567890" }An error naming DEEZER_ARL means the cookie is missing; an error asking you to refresh it means
the session expired.
Configuration
Variable | Default | Meaning |
| — | ARL cookie value (required unless |
| — | Path to a file containing the ARL (read at startup, |
|
|
|
|
| Per-request timeout in seconds (1–300) |
|
|
|
Tools
Every tool is annotated (readOnlyHint, destructiveHint, idempotentHint), validates its
arguments, and returns a structured object.
Read
Tool | Purpose |
| Your Deezer user id |
| Search tracks/albums/artists/playlists, one category at a time with |
| Track details; lyrics only with |
| Lyrics text and credits for one track |
| Artist + optional top tracks, albums and bio |
| Album + tracklist (pageable) |
| Playlist + tracks (pageable) |
| Country or worldwide charts, one category with |
| Tracks similar to a track |
| Artists related to an artist |
| Your personal Flow |
| Recommended playlists, new releases, artists, hot tracks |
| Recently played containers (album, playlist, artist, Flow) |
| Your top tracks, artists or albums |
| Your liked tracks, albums, artists or playlists ( |
| Your playlists |
Write
Tool | Purpose | Notes |
| Like/unlike a track, album, artist or playlist | idempotent |
| Add or remove tracks (batched by 50) | reports what Deezer applied and rejected |
| Create a playlist, optionally with tracks | one call instead of create + add |
| Rename, change description, privacy or collaborative flag | |
| Permanently delete a playlist | requires |
Response shape
Every list tool answers with the same object, so clients can validate it and agents can page it:
{
"items": [{ "id": "3135556", "title": "One More Time", "artist": "Daft Punk", "album": "Discovery", "duration": 320 }],
"count": 1,
"total": null,
"next_cursor": null
}Pass
next_cursorback as thecursorargument to page.Detail tools return a flat object (
get_track,get_artist,get_playlist…).Failures are
isErrorresults with an actionable message: how to refresh the ARL, wait out a rate limit, or fix the arguments.Lyrics, long biographies and track links are opt-in or truncated on purpose: they dominate token cost.
1.x | 2.x |
|
|
|
|
|
|
|
|
|
|
list tools returning an array | every tool returns an object (MCP requirement) |
|
|
Troubleshooting
Symptom | Cause and fix |
| Set |
| Log out/in on deezer.com, copy the new |
| Several calls at once; wait a few seconds (reads retry automatically) |
Empty | The account has no data for that category, or the country code has no chart |
A write returns | Deezer refused those tracks (unavailable in your country, or not your playlist) |
A write returns 403/ | The playlist does not belong to the account |
Nothing appears in the client | Check the MCP log: the server writes to stderr, never to stdout |
Development
git clone https://github.com/Benitoow/mcp-deezer.git && cd mcp-deezer
uv venv && uv pip install -e ".[dev]"
ruff check . && ruff format --check . # lint + format
mypy # strict typing
pytest --cov # 120+ tests, no Deezer account required
python scripts/smoke.py # real stdio handshake (+ live calls if DEEZER_ARL is set)Layout: catalog.py (schemas, annotations, registry), tools_read.py / tools_write.py
(one handler per tool), formats.py (compact projections), client.py (client lifecycle + retries),
errors.py (redaction, actionable messages), server.py (MCP wiring).
Adding a tool is one decorated function: the schema, the annotations, the output schema and the handler live together, so the advertised surface cannot drift from the implementation.
Security
The ARL is never written to disk by the server and is redacted from every error message.
DEEZER_READ_ONLY=1 removes the write tools entirely, which is the recommended setting for
unattended agents. See SECURITY.md.
MIT licensed · Not affiliated with, or endorsed by, Deezer
Available Tools
21 toolscreate_playlistCreate a playlistB
Create a playlist, optionally with initial tracks (one call).
Inputs: title (required), private, track_ids, description, +1 more. Returns: object
delete_playlistDelete a playlistADestructive
Permanently delete a playlist. Irreversible: requires confirm: true, after the user agreed.
Inputs: confirm (required), playlist_id (required). Returns: object
edit_playlist_tracksAdd / remove tracks in a playlistADestructive
Add or remove tracks in one of your playlists; batched, and reports what Deezer applied versus rejected.
Inputs: track_ids (required), playlist_id (required), action. Returns: object
get_albumGet an albumBRead-onlyIdempotent
Album details with its tracklist (pageable with cursor).
Inputs: album_id (required), limit, cursor. Returns: object
get_artistGet an artistBRead-onlyIdempotent
Artist details with optional top tracks, albums and bio; each section pages with its own cursor.
Inputs: artist_id (required), limit, include_bio, albums_cursor, +3 more. Returns: object
get_chartsDeezer chartsBRead-onlyIdempotent
Public charts for a country, or worldwide without country_code.
Inputs: kind, limit, country_code. Returns: count, items
get_favoritesYour favoritesARead-onlyIdempotent
Your liked tracks, albums, artists or playlists, one kind per call. Page with cursor (a previous next_cursor).
Inputs: kind, limit, cursor. Returns: count, items
get_flowPersonal FlowCRead-onlyIdempotent
Your personal Flow (auto-generated mix).
Inputs: limit. Returns: count, items
get_lyricsGet track lyricsARead-onlyIdempotent
Lyrics text and credits for one track. Fails cleanly when Deezer has no lyrics.
Inputs: track_id (required). Returns: object
get_meWho am IARead-onlyIdempotent
Your Deezer user id. The Pipe API exposes only id here; use get_playlists / get_favorites for account content.
Inputs: no named parameters. Returns: object
get_playlistGet a playlistBRead-onlyIdempotent
Playlist details with its tracks (pageable with cursor).
Inputs: playlist_id (required), limit, cursor. Returns: object
get_playlistsYour playlistsBRead-onlyIdempotent
All playlists of the account, pageable with cursor.
Inputs: limit, cursor. Returns: count, items
get_recently_playedRecently playedARead-onlyIdempotent
What you played recently: Deezer stores the container (album, playlist, artist, Flow), not the track. Use get_album/get_playlist for its tracks.
Inputs: limit. Returns: count, items
get_recommendationsPersonal recommendationsCRead-onlyIdempotent
Your personalized home: recommended playlists, artist playlists, new releases, artists and hot tracks.
Inputs: limit. Returns: object
get_similar_artistsArtists similar to one artistCRead-onlyIdempotent
Artists related to a given artist.
Inputs: artist_id (required), limit. Returns: count, items
get_similar_tracksTracks similar to one trackCRead-onlyIdempotent
Tracks Deezer considers similar to a given track.
Inputs: track_id (required), limit. Returns: count, items
get_trackGet a trackARead-onlyIdempotent
Track details (ISRC, release date, popularity). Lyrics are excluded by default: set include_lyrics or call get_lyrics.
Inputs: track_id (required), include_lyrics. Returns: object
get_user_chartsYour top tracks/artists/albumsCRead-onlyIdempotent
Your personal charts for one category.
Inputs: kind, limit. Returns: count, items
searchSearch DeezerBRead-onlyIdempotent
Search tracks, albums, artists and playlists. Prefer a single kind: cheaper and more precise than all.
Inputs: query (required), kind, limit. Returns: object
set_favoriteLike / unlike somethingCIdempotent
Like or unlike a track, album, artist or playlist.
Inputs: id (required), kind (required), action. Returns: object
update_playlistUpdate a playlistAIdempotent
Rename a playlist or change its description, privacy or collaborative flag.
Inputs: playlist_id (required), title, private, description, +1 more. Returns: object
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 21 tools
Each tool maps to a distinct resource or action (track vs album vs artist vs playlist vs lyrics vs charts), and the descriptions explicitly resolve the riskiest overlaps, e.g. get_track excluding lyrics by default versus get_lyrics, and get_charts versus get_user_charts. The main soft spots are the family of discovery tools (get_flow, get_recommendations, get_user_charts, get_charts) which could still be confused at a glance, and get_favorites versus get_playlists for account content.
Almost everything follows a snake_case verb_noun pattern with a coherent verb vocabulary (get_*, create_*, update_*, delete_*, set_favorite, edit_playlist_tracks). The exceptions are the bare `search` and the slightly irregular `edit_playlist_tracks` (verb_noun_noun), which break the pattern mildly but remain readable.
21 tools is on the high side of comfortable, but the surface is read-heavy by nature (separate getters for track, album, artist, playlist, lyrics, charts, favorites, flow, recommendations) and no tool looks redundant or padded. The playlist mutation group (create/update/delete/edit tracks) is tight and each entry earns its place.
Playlist lifecycle is fully covered (create, update metadata, edit tracks, delete with confirmation) and the read side covers search, catalog entities, personal library, charts, and recommendations. Gaps are minor: no explicit artist/library follow-unfollow beyond generic set_favorite, no paging helper or batch multi-kind favorites, and no update/delete for anything beyond playlists (acceptable since Deezer's catalog is read-only).
Maintenance
Related MCP Connectors
MCP server for Producer/Riffusion AI music generation
Web search API and MCP server for developers building AI agents.
MCP server for building and testing AI agents with multi-model experimentation and insights.
One MCP server for the services your AI needs: memory, files, Microsoft 365, kanban and more.
Related MCP Servers
- AlicenseCqualityDmaintenanceEnables access to the Deezer 1 API through MCP protocol. Requires API key authentication and supports integration with Cursor and Claude Desktop for interacting with Deezer services.1MIT
- AlicenseAqualityDmaintenanceMCP server for Spotify that enables playlist building and music discovery through 19 tools, allowing LLM agents to search tracks/artists/albums, manage playlists, control playback, and access personal listening data.2022 PyPI1MIT
- FlicenseAqualityDmaintenanceMCP server for searching and downloading music from the Soulseek peer-to-peer network via slskd. Enables AI assistants to discover and download music directly.5-
- AlicenseAqualityBmaintenanceMCP server to control the Roon music player, enabling AI agents to search music, manage playback, and adjust volume across zones.913 npm2MIT