Yandex Music MCP server with genre analysis

Yandex Music MCP Server

An unofficial Yandex Music MCP server: likes, genre analysis, search and playlist management over HTTP or stdio

  • 2 ★ on the repository
  • Last commit
MCP server

Extended access

Why this level

  • Uses Yandex Music's private API outside official documentation
  • Creates and modifies playlists on the user's personal account
All reasons and checks
Russian stack

svetlyak40wt/yandex-music-mcp

Install

Services

Manual install

python3 -m venv .venv && source .venv/bin/activate && pip install -e .

Install from source after cloning the repository.

Access and checks

How we review

Extended accessThe tool runs code or makes network calls and only reads external data.

  • Uses Yandex Music's private API outside official documentation
  • Creates and modifies playlists on the user's personal account

This is third-party code. Review the repository files before installing.

What it does

A Python server gives the agent access to liked tracks with filters by genre, period, lyrics presence and explicit tag, shows unique genres in the library ordered by track count, analyzes a track list by genre and can filter out instrumental tracks. It manages playlists (list, tracks, create, add and remove tracks) and searches tracks, artists and similar tracks. Liked tracks are cached in memory for 5 minutes, so repeat calls skip the Yandex API. The server can run as an HTTP service with an optional auth secret or as stdio for MCP clients. The README is flagged as AI-generated text.

Who it is for. For Yandex Music listeners who want to analyze their library by genre and manage playlists from an agent.

Good fit when

  • You need a genre breakdown of your liked library, not just a track list
  • You need both HTTP and stdio run modes in one server
  • It matters not to hit the Yandex API repeatedly: liked tracks are cached

Not a fit when

  • You need actual playback through the agent: the server only reads data and manages playlists, it does not play audio
  • The README is flagged as largely AI-generated, so review the code carefully before use

Example request

Show my favorite genres by liked track count and build a playlist of instrumental tracks

MCP

Transport
stdio, http
Authentication
API key

Environment variables

YANDEX_MUSIC_TOKEN required, secret
Yandex Music token, obtained via third-party yandex-music-api instructions
MCP_SECRET secret
Secret protecting the server's HTTP mode

Limitations

It uses Yandex Music's private API; there is no official public API, and the token must be obtained via third-party yandex-music-api instructions. The package is not published to PyPI, install with pip install -e from a clone. Yandex's endpoints can change without notice.

How to disable. Stop the server process and remove it from your MCP client settings.

FAQ

Can the HTTP mode be password-protected?

Yes, the --secret flag or MCP_SECRET variable require a token in the Authorization header or a query parameter.

Do likes update right after a new like?

Liked tracks are cached for 5 minutes, so repeat calls within that window skip the API.

Discussion

No questions or reviews yet.

Russian stack

A single-file, zero-install Yandex Music MCP server via uv: likes, playlists, search and taste analysis

MCP serverExtended access

Yandex Music playlist creation MCP server

Yandex Music MCP Server (unofficial)

Russian stack

A minimal MCP server for creating Yandex Music playlists: search tracks and add them to a playlist

MCP serverExtended access1Repository stars
Russian stack

A browser-free Yandex Music MCP server: the agent queues a playlist, a local daemon plays it via mpv with Now Playing in Control Center

MCP serverExtended access1Repository stars
Russian stack

An MCP server for a local Rust-based Yandex Music player and sync daemon on Linux: playback control, taste profile, mood picks

MCP serverBroad access
Russian stack

A Redis-backed queue MCP server that downloads tracks from SoundCloud, YouTube, Yandex Music and Spotify, transcodes them and tags them with cover art

MCP serverExtended access5Repository stars

A Spotify MCP server: the agent searches music, controls playback, queue and volume, and builds and edits playlists and the library

MCP serverBroad access506Repository stars

Comparison with similar tools

Cards that share the main search query, and how they differ.

ToolOfficialAuthenticationRepository starsMain difference
Yandex Music MCP server with genre analysis (this card)noAPI key2
Yandex Music MCP server with a native macOS playernonot required1with a local mpv player
Yandex Music MCP for taste analysisnoAPI key0taste analysis, zero install

README in short

The Russian README covers install via virtualenv, running in HTTP and stdio modes with a flag table, the secret-based auth mechanism, the full tool list across four groups (likes, tracks, playlists, search), and notes the 5-minute liked-tracks cache. It ends with a link to the related listenbrainz-mcp server.

README badge

Report a problem