mcp-deezer

mcp-deezer

Deezer MCP server for AI agents to search, manage playlists, favorites, and discover music using a free Deezer account.

Category
访问服务器

README

mcp-deezer

Deezer MCP server for AI agents. 29 tools to search, manage playlists, favorites, and discover music. Works with a free Deezer account. No developer app needed.

License: MIT Python 3.12+

Why this exists

Deezer closed their developer portal in 2025. No new OAuth apps. No API keys. This server uses your browser session cookie (ARL) instead. Free account, no registration, it just works.

For AI Agents — Installation Guide

If you are an AI agent reading this to install mcp-deezer for a user, follow these steps in order:

Step 1: Check prerequisites

  • Python 3.12+ must be installed (python3 --version or python --version)
  • If not installed, tell the user to install it from https://www.python.org/downloads/

Step 2: Install the package

pip install mcp-deezer

Or with uvx (no persistent install):

uvx mcp-deezer

Step 3: Get the user's Deezer ARL cookie

The user must do this manually in their browser:

  1. Go to https://deezer.com and log in
  2. Press F12 → Application → Cookies → deezer.com
  3. Find the cookie named arl and copy its value (~192 character hex string)

The ARL looks like: a1b2c3d4e5f6... (192 hex chars)

Step 4: Configure the MCP server

Add this to the user's MCP client config. The DEEZER_ARL environment variable is required.

Claude Desktopclaude_desktop_config.json:

{
  "mcpServers": {
    "deezer": {
      "command": "uvx",
      "args": ["mcp-deezer"],
      "env": {
        "DEEZER_ARL": "PASTE_ARL_HERE"
      }
    }
  }
}

Claude Code — terminal:

claude mcp add deezer -e DEEZER_ARL=PASTE_ARL_HERE -- uvx mcp-deezer

Cursor.cursor/mcp.json:

{
  "mcpServers": {
    "deezer": {
      "command": "uvx",
      "args": ["mcp-deezer"],
      "env": {
        "DEEZER_ARL": "PASTE_ARL_HERE"
      }
    }
  }
}

Hermes Agent~/.hermes/config.yaml:

mcp_servers:
  deezer:
    command: uvx
    args: [mcp-deezer]
    env:
      DEEZER_ARL: "PASTE_ARL_HERE"

VS Code / Copilot.vscode/mcp.json:

{
  "servers": {
    "deezer": {
      "command": "uvx",
      "args": ["mcp-deezer"],
      "env": {
        "DEEZER_ARL": "PASTE_ARL_HERE"
      }
    }
  }
}

Step 5: Restart the MCP client

Tell the user to restart their AI client (Claude Desktop, Cursor, etc.) for the server to load.

Step 6: Verify

Call get_me — it should return the user's Deezer profile ID. If it returns an error about DEEZER_ARL, the cookie is missing or expired.

Available Tools (29)

Tool Description Auth
get_me User profile
search Search tracks, albums, artists, playlists
get_track Track details with lyrics
get_artist Artist details with bio
get_album Album details with tracklist
get_playlist Playlist details with tracks
get_charts Country charts (FR, US, DE...)
get_similar_tracks Similar tracks
get_similar_artists Similar artists
get_flow Personal Deezer Flow
get_recommendations Personalized recommendations
get_recently_played Listening history
get_user_charts Personal top tracks/artists
get_favorite_tracks Liked tracks
get_favorite_albums Liked albums
get_favorite_artists Followed artists
get_favorite_playlists Liked playlists
add_track_to_favorite Like a track
remove_track_from_favorite Unlike a track
add_album_to_favorite Like an album
remove_album_from_favorite Unlike an album
add_artist_to_favorite Follow an artist
remove_artist_from_favorite Unfollow an artist
get_user_playlists List user playlists
create_playlist Create a playlist
update_playlist Update playlist title/desc
delete_playlist Delete a playlist
add_tracks_to_playlist Add tracks to playlist
remove_tracks_from_playlist Remove tracks from playlist

How It Works

AI Agent  ←── MCP (stdio) ──→  mcp-deezer  ←── GraphQL ──→  Deezer API
                                    │
                              ARL cookie (your session)

Uses deezer-python-gql — an unofficial client for Deezer's internal GraphQL API. Auth is via the ARL cookie stored in your browser.

FAQ (for agents)

Q: The user's ARL stopped working. A: Tell them to log out and back in to deezer.com, then grab the new arl cookie.

Q: Does this work with a free Deezer account? A: Yes. Unlike Spotify's API, Deezer works with free accounts.

Q: Is this against Deezer's ToS? A: It uses the same API as Deezer's web player. Your account, your data, your session cookie.

Q: Python 3.12+ is not available. A: Install it from https://www.python.org/downloads/ or use uvx which manages its own Python.

License

MIT

推荐服务器

Baidu Map

Baidu Map

百度地图核心API现已全面兼容MCP协议,是国内首家兼容MCP协议的地图服务商。

官方
精选
JavaScript
Playwright MCP Server

Playwright MCP Server

一个模型上下文协议服务器,它使大型语言模型能够通过结构化的可访问性快照与网页进行交互,而无需视觉模型或屏幕截图。

官方
精选
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

一个由人工智能驱动的工具,可以从自然语言描述生成现代化的用户界面组件,并与流行的集成开发环境(IDE)集成,从而简化用户界面开发流程。

官方
精选
本地
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

通过模型上下文协议启用与 Audiense Insights 账户的交互,从而促进营销洞察和受众数据的提取和分析,包括人口统计信息、行为和影响者互动。

官方
精选
本地
TypeScript
VeyraX

VeyraX

一个单一的 MCP 工具,连接你所有喜爱的工具:Gmail、日历以及其他 40 多个工具。

官方
精选
本地
graphlit-mcp-server

graphlit-mcp-server

模型上下文协议 (MCP) 服务器实现了 MCP 客户端与 Graphlit 服务之间的集成。 除了网络爬取之外,还可以将任何内容(从 Slack 到 Gmail 再到播客订阅源)导入到 Graphlit 项目中,然后从 MCP 客户端检索相关内容。

官方
精选
TypeScript
Kagi MCP Server

Kagi MCP Server

一个 MCP 服务器,集成了 Kagi 搜索功能和 Claude AI,使 Claude 能够在回答需要最新信息的问题时执行实时网络搜索。

官方
精选
Python
e2b-mcp-server

e2b-mcp-server

使用 MCP 通过 e2b 运行代码。

官方
精选
Neon MCP Server

Neon MCP Server

用于与 Neon 管理 API 和数据库交互的 MCP 服务器

官方
精选
Exa MCP Server

Exa MCP Server

模型上下文协议(MCP)服务器允许像 Claude 这样的 AI 助手使用 Exa AI 搜索 API 进行网络搜索。这种设置允许 AI 模型以安全和受控的方式获取实时的网络信息。

官方
精选