Prototype · Preview: every server in the official registry, synced every 30 minutes. Sign in with Google to write reviews.Prototype · updated every 30 min
PopNx MCPMCP servers for people who use AI · explained in plain words Sign in

Yandex Music (unofficial)

by kenzolikaversion 0.2.1i★ 2iRuns on your computerRepository ↗
Registry nameio.github.kenzolika/yandex-music-mcp

How to install

What it does

Unofficial Yandex Music server: search, likes, history, My Wave, playlists. Token stays local.

  • Connects Runs on your computer
  • Account or key No key needed
  • Category Design, images & audio

Use together with

Skills that teach the AI this kind of work; they work alongside this one

impeccable

The design vocabulary for your coding agent. Steer with polish and bolder, review with critique and audit, catch AI slop before it ships.

by pbakaus★ 113,0421 skills

Skill · How-to guide

diagram-design

Editorial diagram design for Claude Code, Codex, GitHub Copilot, Cursor, Factory Droid, Qoder, and Pi. 45 diagram types. Self-contained HTML + SVG. No shadows. No Mermaid slop.

by cathrynlavery★ 68,2961 skills

Skill · How-to guide

frontend-slides

Create beautiful slides on the web using a coding agent's frontend skills

by zarazhangrui★ 32,5791 skills

Skill · How-to guide

Why it ranks here

Lists are ordered by a usage score (out of 100) built from these parts

Popularity6/80GitHub stars or weekly downloads: the larger counts 60, the smaller 20
Freshness12/12Full marks for a release or code change within 30 days
Still answering0/8The cloud endpoint answered at the last check
Usage score18/100

Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)

Install

Pick the AI app you use, then copy the settings.

Let your AI install it with one sentence

Please install Yandex Music (unofficial). Follow https://mcp.popnx.com/i/kenzolika-yandex-music-mcp.md, show me the commands and wait for my OK before running them.

Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads

Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026

First: which AI do you use?

Pick your app and the steps appear below.

Works with Claude, with some setup first

Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone

Let AI install it

Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Yandex Music (unofficial) for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "yandex-music": { "command": "uvx", "args": [ "yandex-music-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Yandex Music (unofficial) tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open the Claude desktop app’s settings file

    SettingsDeveloperEdit Config

  3. Paste these settings and save the file

    {
      "mcpServers": {
        "yandex-music": {
          "command": "uvx",
          "args": [
            "yandex-music-mcp"
          ]
        }
      }
    }
  4. Quit Claude and open it again

  5. Try it

    Use Yandex Music (unofficial) and tell me what you can do for me, then show me one thing

    ✓ If Claude says it is using Yandex Music (unofficial) or shows a Yandex Music (unofficial) tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • YANDEX_MUSIC_TOKEN Yandex Music OAuth token. Optional: by default it is read from ~/.yandex-music-mcp/token created by yandex-music-mcp-auth.
  • YANDEX_MUSIC_TOKEN_FILE Path to a file with the token, if it is not in the default location.
  • YANDEX_MUSIC_EXPORT_DIR Folder for .txt/.csv exports. Default: Documents/Yandex Music exports.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

ChatGPT cannot connect Yandex Music (unofficial) yet

Yandex Music (unofficial) runs on your computer, but ChatGPT can only connect servers that run on the web

What you can do instead

A · Use an app that can connect Yandex Music (unofficial)

  • Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)
  • Install Python (uv) on your computer first (one time)

B · Others in Design, images & audio that work with ChatGPT

Picked from the most used in the same category, only ones that connect by address with no key

Works with Claude Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Yandex Music (unofficial) for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user yandex-music -- uvx yandex-music-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Yandex Music (unofficial) tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Open Terminal

    Mac: press Command+Space and type Terminal · Windows: open PowerShell

  3. Paste this command and press Enter

    claude mcp add --scope user yandex-music -- uvx yandex-music-mcp
  4. Type /mcp in Claude Code

    You should see Yandex Music (unofficial) listed as connected

  5. Try it

    Use Yandex Music (unofficial) and tell me what you can do for me, then show me one thing

    ✓ If Claude Code says it is using Yandex Music (unofficial) or shows a Yandex Music (unofficial) tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • YANDEX_MUSIC_TOKEN Yandex Music OAuth token. Optional: by default it is read from ~/.yandex-music-mcp/token created by yandex-music-mcp-auth.
  • YANDEX_MUSIC_TOKEN_FILE Path to a file with the token, if it is not in the default location.
  • YANDEX_MUSIC_EXPORT_DIR Folder for .txt/.csv exports. Default: Documents/Yandex Music exports.

Descriptions are as written by the maker.

Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with Cursor, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Yandex Music (unofficial) for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "yandex-music": { "command": "uvx", "args": [ "yandex-music-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Yandex Music (unofficial) tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open Cursor

    Open in Cursor

    Cursor asks you to confirm; click Install

  3. Open the AI chat in Cursor in Agent mode

  4. Try it

    Use Yandex Music (unofficial) and tell me what you can do for me, then show me one thing

    ✓ If Cursor says it is using Yandex Music (unofficial) or shows a Yandex Music (unofficial) tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • YANDEX_MUSIC_TOKEN Yandex Music OAuth token. Optional: by default it is read from ~/.yandex-music-mcp/token created by yandex-music-mcp-auth.
  • YANDEX_MUSIC_TOKEN_FILE Path to a file with the token, if it is not in the default location.
  • YANDEX_MUSIC_EXPORT_DIR Folder for .txt/.csv exports. Default: Documents/Yandex Music exports.

Descriptions are as written by the maker.

Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Works with VS Code, with some setup first

Install Python (uv) on your computer first (one time)

Let AI install it

Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.

Please install the MCP server Yandex Music (unofficial) for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "yandex-music": { "type": "stdio", "command": "uvx", "args": [ "yandex-music-mcp" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the Yandex Music (unofficial) tools really show up.

This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.

  1. Install uv (if you don’t have it)

    Already installed? Check first · Open Terminal, type this command and press Enter

    uv --version
    • A version number such as uv … = installed, skip this step
    • "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
    How to open Terminal

    Mac: press ⌘ + Space, type Terminal, press Enter

    Windows: open Start, type Windows PowerShell, then Open

    Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required

    Open the uv download page ↗

    When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version

    Install once; it works for everything that needs uv

  2. Click this button to open VS Code

    Open in VS Code

    VS Code asks you to confirm; click Install

  3. Open the AI chat in VS Code in Agent mode

  4. Try it

    Use Yandex Music (unofficial) and tell me what you can do for me, then show me one thing

    ✓ If VS Code says it is using Yandex Music (unofficial) or shows a Yandex Music (unofficial) tool in the answer, you are connected

3 optional setting(s) (works without them)

The command above works without these. Add them only if you want to change something, following the maker’s description.

  • YANDEX_MUSIC_TOKEN Yandex Music OAuth token. Optional: by default it is read from ~/.yandex-music-mcp/token created by yandex-music-mcp-auth.
  • YANDEX_MUSIC_TOKEN_FILE Path to a file with the token, if it is not in the default location.
  • YANDEX_MUSIC_EXPORT_DIR Folder for .txt/.csv exports. Default: Documents/Yandex Music exports.

Descriptions are as written by the maker.

Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version

Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.

See every app that uses MCP →

JSON settings are under “For developers” below

Stuck? Ask people who use Yandex Music (unofficial)💬 Discussion →
For developers: Terminal commands and JSON settings

Installed on your computer

Claude Code

claude mcp add --scope user yandex-music -- uvx yandex-music-mcp

Claude Desktop (claude_desktop_config.json)

{
  "mcpServers": {
    "yandex-music": {
      "command": "uvx",
      "args": [
        "yandex-music-mcp"
      ]
    }
  }
}

Cursor (~/.cursor/mcp.json)

{
  "mcpServers": {
    "yandex-music": {
      "command": "uvx",
      "args": [
        "yandex-music-mcp"
      ]
    }
  }
}

VS Code (mcp.json)

{
  "servers": {
    "yandex-music": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "yandex-music-mcp"
      ]
    }
  }
}

Values you fill in

  • YANDEX_MUSIC_TOKEN secret env
    Yandex Music OAuth token. Optional: by default it is read from ~/.yandex-music-mcp/token created by yandex-music-mcp-auth.
  • YANDEX_MUSIC_TOKEN_FILE env
    Path to a file with the token, if it is not in the default location.
  • YANDEX_MUSIC_EXPORT_DIR env
    Folder for .txt/.csv exports. Default: Documents/Yandex Music exports.

Descriptions are as written by the maker.

These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.

At a glance

Downloads per weeki
40/wk
Connection
Runs on your computer
Latest versioni
0.2.1
Published to registryi
Oct 5, 2026
Code last changedi
Oct 30, 2026
Maker
kenzolika
Packages
pypi: yandex-music-mcp
Website
github.com
Registry status
Active

Which apps can use it

Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.

Run on your computer in

ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast

All apps, with pros and cons →

Related guides

What it can do

Runs on your computer; the tool list appears in your AI app after you install it.

Basic checksi

We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 20, 2026

  • ✓ Pass

    Maker matches the repo

    The registry name was verified with the GitHub account kenzolika, which owns the repo

  • ✓ Pass

    Still maintained

    Code last changed 21 days ago

  • ✓ Pass

    Has a licence

    Uses MIT

  • – Not applicable

    Endpoint responds

    This one runs on your computer; there is no internet endpoint

  • – Not applicable

    Sign-in with OAuth

    Runs on your computer and uses local settings instead

  • … Not checked yet

    No hidden instructions in tool descriptions

    Runs on your computer; we can only read tool lists from internet endpoints

Published vulnerabilities (OSV.dev)

No entries on OSV.dev for yandex-music-mcp@0.2.1

Checks only this package version, not every dependency · checked Nov 15, 2026

What we check → · JSON

Makers: ask for a re-check or report wrong info
For makers: add a badge to your README

If you made this, paste this code into your README. The badge links back to this page.

[![Featured on PopNx MCP](https://mcp.popnx.com/badge/kenzolika-yandex-music-mcp.svg)](https://mcp.popnx.com/en/servers/kenzolika-yandex-music-mcp)

Discussion

Ask, share a tip or report that it does not work. Sorted by what people marked helpful.

No posts yet. Be the first to ask or share.

Posts here are written by users, not the PopNx team.

Sign in to post

User reviews

No reviews yet

Sign in to write a review

Compared with others in Design, images & audioi

  • More stars than 85% of the other 3322 servers in this category
  • Published to the registry more recently than 36% of the other 3322 servers in this category
  • Basic checks equal to or better than 99% of the other 3322 servers in this category

Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.

Common questions

Is Yandex Music (unofficial) safe?

It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.

What keys or codes does it need?

The registry does not list a required key, though some servers ask you to sign in on first use.

Does it run on my computer or in the cloud?

It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).

Is it still maintained?

The GitHub repo last changed 21 days ago, and the latest version (0.2.1) reached the registry 2 months ago.

Which apps can use it?

Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.

What can I use instead?

In the same category: HyperFrames by HeyGen, Pascal 3D Editor, draw.io, Figma MCP Server, Remocn: Remotion MCP server

Similar alternatives

Same category, other makers, commands already checked. Official ones first, then by stars.

Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi

HyperFrames by HeyGen

Official HyperFrames by HeyGen: the best AI video editor in chat. Captions, motion graphics, MP4.

by heygen-comWidely used★ 86.8K Stars for the whole repoUpdated 2 days ago

Runs in the cloud✓ heygen.com

Pascal 3D Editor

Create, inspect, validate, and save editable 3D building scenes with Pascal's MCP server.

by pascalorgWidely used↓ 1K/wk★ 25.6K Stars for the whole repoUpdated 2 days ago

Computer or cloud✓ service owner · pascal.app

draw.io

Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.

by jgraphWidely used★ 5.9KUpdated 3 days ago

Runs in the cloud✓ service owner · draw.ioTried by the PopNx team

Figma MCP Server

Figma’s official server gives AI your design data so it can turn designs into code or describe them accurately. Connects to Figma’s cloud.

by figmaWidely used★ 2.2KUpdated 13 months ago

Runs in the cloud✓ service owner · mcp.figma.com
Compared with similar ones
This one
Yandex Music (unofficial)
HyperFrames by HeyGenPascal 3D Editordraw.ioFigma MCP ServerRemocn: Remotion MCP server
Runs whereInstalls on your computerRuns in the cloud, nothing to installCloud or install on your computerRuns in the cloud, nothing to installRuns in the cloud, nothing to installRuns in the cloud, nothing to install
Needs a keyNoNoNoNoNoNo
Add with + in ClaudeNoYesNoNoYesNo
Basic checks3/34/45/54/44/44/4
LicenseMITApache-2.0MITApache-2.0–MIT
PriceNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registryNo cost listed in the registry

README from the maker

Open the README

Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.

yandex-music-mcp

Неофициальный MCP-сервер для Яндекс Музыки. Подключается к Claude Desktop, Claude Code и другим MCP-клиентам и даёт ассистенту доступ к вашей библиотеке: лайкам, истории прослушиваний, «Моей волне» и плейлистам.

Сервер работает локально на вашем компьютере (stdio). Токен хранится только у вас и никуда не передаётся. Поддерживаются Windows, macOS и Linux.

⚠️ Неофициальный проект. Не связан с ООО «Яндекс» и не одобрен им. Использует неофициальную библиотеку yandex-music: если Яндекс изменит API, сервер может временно перестать работать. Аудио сервер не скачивает — только работает с метаданными, лайками и плейлистами вашего аккаунта.

English version below ↓


Что умеет

ЧтениеИзменения
account_info — проверка подключенияcreate_playlist — новый плейлист (по умолчанию приватный)
search — поиск треков, альбомов, артистов и плейлистовadd_tracks_to_playlist — добавить треки
get_liked_tracks — «Мне нравится»remove_tracks_from_playlist — убрать треки
get_listening_history — история прослушиваний по днямdelete_playlist — удалить плейлист (с проверкой названия)
list_my_playlists, get_playlist_tracks — ваши плейлистыlike_tracks / unlike_tracks — лайки
get_playlist_by_url — любой публичный плейлист или альбом по ссылкеexport_tracks_to_file — выгрузка лайков или плейлиста в .txt и .csv
get_album_tracks, get_artist_tracks — альбомы и артисты
get_similar_tracks, get_my_wave, get_chart — рекомендации и чарт

Воспроизведением сервер не управляет: музыку вы слушаете, как обычно, в приложении Яндекс Музыки, а новые плейлисты и лайки появляются там сразу.

Примеры запросов
  • «Проанализируй мои последние 300 лайков: какие жанры и десятилетия я слушаю?»
  • «Что я слушал на этой неделе?»
  • «Собери приватный плейлист "Осень" из 25 треков, похожих на мои последние лайки»
  • «Вот плейлист друга: <ссылка>. Что из него уже есть в моих лайках?»
  • «Выгрузи все мои лайки в файл»

Быстрая установка

1. Установите [uv](https://docs.astral.sh/uv/) — он скачает и запустит коннектор:

  • Windows (PowerShell):
  powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
  • macOS / Linux:
  curl -LsSf https://astral.sh/uv/install.sh | sh

Закройте терминал, откройте заново и проверьте: uv --version.

2. Войдите в Яндекс (один раз):

uvx --from yandex-music-mcp yandex-music-mcp-auth

3. Подключите к клиенту:

  • Claude Code — одна команда:
  claude mcp add yandex-music -- uvx yandex-music-mcp
  • Claude Desktop — откройте Settings → Developer → Edit Config и добавьте в файл claude_desktop_config.json:
  {

"mcpServers": { "yandex-music": { "command": "uvx", "args": ["yandex-music-mcp"] } } }

Если что-то не получилось, ниже — пошаговая установка из исходников с подробностями.


Установка из исходников

Понадобятся uv и аккаунт Яндекса. Для части функций (например, «Моей волны») может понадобиться подписка Плюс.

1. Установите uv

Windows (PowerShell):

powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"

macOS / Linux:

curl -LsSf https://astral.sh/uv/install.sh | sh

Закройте терминал, откройте заново и проверьте: uv --version.

2. Скачайте проект
git clone https://github.com/kenzolika/yandex-music-mcp.git

Или нажмите Code → Download ZIP на странице репозитория и распакуйте архив.

3. Получите токен (один раз)
cd yandex-music-mcp

uv run yandex-music-mcp-auth

Откроется страница входа Яндекса (ya.ru/device), а в терминале появится код. Войдите в аккаунт, введите код и дождитесь в терминале строки «Готово!». Токен сохранится в ~/.yandex-music-mcp/token. Скрипт использует официальный вход Яндекса и вашего пароля не видит.

4. Узнайте полный путь к папке проекта

Клиенту нужно знать, где лежит проект. Самый простой способ — в терминале, в папке проекта (после шага 3 вы уже в ней):

  • Windows (PowerShell): (Get-Location).Path → например, C:\Users\Ivan\Documents\yandex-music-mcp
  • macOS / Linux: pwd → например, /Users/ivan/yandex-music-mcp

На Windows можно и мышкой: в Проводнике зажмите Shift, щёлкните по папке правой кнопкой и выберите «Копировать как путь».

Важно для Windows: в JSON-конфиге обратный слэш нужно удваивать: C:\\Users\\Ivan\\Documents\\yandex-music-mcp. Можно вместо этого писать прямые слэши — Windows их понимает: C:/Users/Ivan/Documents/yandex-music-mcp.

5а. Подключите к Claude Desktop

В Claude Desktop откройте Settings → Developer → Edit Config — откроется файл claude_desktop_config.json. Добавьте в него блок mcpServers, подставив свой путь из шага 4:

{

"mcpServers": { "yandex-music": { "command": "uv", "args": ["--directory", "C:/Users/Ivan/Documents/yandex-music-mcp", "run", "yandex-music-mcp"] } } }

  • В файле уже есть другие настройки? Не удаляйте их: добавьте "mcpServers": { ... } на верхний уровень рядом с ними, отделив запятой.
  • Claude не находит `uv`? Укажите в "command" полный путь к нему. Его покажет where.exe uv (Windows) или which uv (macOS/Linux) — обычно это C:/Users/Ivan/.local/bin/uv.exe или ~/.local/bin/uv.

Полностью закройте Claude Desktop (на Windows — через значок в трее → Quit, крестика окна недостаточно) и откройте снова.

5б. Или подключите к Claude Code

Вместо шага 5а — одна команда с путём из шага 4:

claude mcp add yandex-music -- uv --directory "C:/Users/Ivan/Documents/yandex-music-mcp" run yandex-music-mcp
6. Проверьте

Напишите в новом чате: «Проверь подключение к Яндекс Музыке». Если в ответе ваш логин — всё работает.


Настройки

ПеременнаяНазначение
YANDEX_MUSIC_TOKENТокен напрямую (вместо файла)
YANDEX_MUSIC_TOKEN_FILEПуть к файлу с токеном
YANDEX_MUSIC_EXPORT_DIRКуда сохранять выгрузки (по умолчанию Документы/Yandex Music exports)

Безопасность и приватность

  • Токен даёт полный доступ к вашему аккаунту Музыки. Не публикуйте его и не добавляйте в git — .gitignore уже исключает файлы токена и выгрузки.
  • Отозвать доступ можно на id.yandex.ru в разделе устройств и сервисов.
  • Все инструменты, которые что-то меняют, помечены для MCP-клиента как изменяющие, и Claude по умолчанию спрашивает подтверждение перед их вызовом. delete_playlist дополнительно требует точное название плейлиста.

Решение проблем

  • Сервер не появился в Claude. Проверьте JSON на лишние или пропущенные запятые, путь к проекту и путь к uv. Логи: %APPDATA%\Claude\logs\mcp-server-yandex-music.log (Windows) или ~/Library/Logs/Claude/ (macOS).
  • «Нет токена». Выполните шаг 3 ещё раз и не закрывайте терминал, пока не появится «Готово!». В сообщении об ошибке перечислены пути, где сервер искал токен.
  • Не видно новых инструментов после обновления. Перезапустите Claude и откройте новый чат.

English

Unofficial MCP server for Yandex Music. It connects Claude Desktop, Claude Code and other MCP clients to your Yandex Music library: likes, listening history, My Wave and playlists.

The server runs locally on your machine (stdio). Your token is stored only on your computer and is never sent anywhere else. Works on Windows, macOS and Linux.

⚠️ Unofficial project. Not affiliated with or endorsed by Yandex. Built on the unofficial yandex-music library, so it may break temporarily if Yandex changes its API. The server does not download audio; it only works with metadata, likes and playlists in your account.

Tools
ReadWrite
account_info — check the connectioncreate_playlist — new playlist (private by default)
search — tracks, albums, artists, playlistsadd_tracks_to_playlist
get_liked_tracks — your liked tracksremove_tracks_from_playlist
get_listening_history — history by daydelete_playlist — delete a playlist (requires its exact title)
list_my_playlists, get_playlist_tracks — your playlistslike_tracks / unlike_tracks
get_playlist_by_url — any public playlist or album by linkexport_tracks_to_file — export likes or a playlist to .txt and .csv
get_album_tracks, get_artist_tracks
get_similar_tracks, get_my_wave, get_chart — recommendations and charts

The server does not control playback: listen in the Yandex Music app as usual; new playlists and likes show up there immediately.

Example prompts: "Analyze my last 300 likes: which genres and decades do I listen to?" · "What did I listen to this week?" · "Build a private playlist 'Autumn' with 25 tracks similar to my recent likes" · "Here's my friend's playlist: . Which of these tracks are already in my likes?" · "Export all my likes to a file"

Quick install
  1. Install uv. Windows (PowerShell): powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"; macOS/Linux: curl -LsSf https://astral.sh/uv/install.sh | sh. Reopen the terminal and check uv --version.
  2. Sign in to Yandex (once): uvx --from yandex-music-mcp yandex-music-mcp-auth
  3. Connect a client:
  • Claude Code: claude mcp add yandex-music -- uvx yandex-music-mcp
  • Claude Desktop: open Settings → Developer → Edit Config and add to claude_desktop_config.json: json { "mcpServers": { "yandex-music": { "command": "uvx", "args": ["yandex-music-mcp"] } } }
Install from source
  1. Install uv. Windows (PowerShell): powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"; macOS/Linux: curl -LsSf https://astral.sh/uv/install.sh | sh. Reopen the terminal and check uv --version.
  2. Get the code: git clone https://github.com/kenzolika/yandex-music-mcp.git, or Code → Download ZIP on the repository page.
  3. Get a token (once): cd yandex-music-mcp, then uv run yandex-music-mcp-auth. A Yandex sign-in page (ya.ru/device) opens and a code appears in the terminal. Sign in, enter the code and wait for the "Готово!" ("Done!") line. The token is saved to ~/.yandex-music-mcp/token. This is Yandex's official OAuth device flow; the script never sees your password.
  4. Find the full path to the project folder. In the project folder run (Get-Location).Path (Windows PowerShell) or pwd (macOS/Linux). On Windows you can also Shift + right-click the folder in Explorer → Copy as path. In JSON, either double the backslashes (C:\\Users\\Ivan\\yandex-music-mcp) or use forward slashes (C:/Users/Ivan/yandex-music-mcp).
  5. Connect a client.
  • Claude Desktop: Settings → Developer → Edit Config opens claude_desktop_config.json. Add: json { "mcpServers": { "yandex-music": { "command": "uv", "args": ["--directory", "/absolute/path/to/yandex-music-mcp", "run", "yandex-music-mcp"] } } } Keep any existing settings and add "mcpServers" next to them, separated by a comma. If Claude can't find uv, put its full path in "command" (where.exe uv on Windows, which uv on macOS/Linux). Then fully quit Claude Desktop (on Windows: tray icon → Quit) and start it again.
  • Claude Code: claude mcp add yandex-music -- uv --directory /absolute/path/to/yandex-music-mcp run yandex-music-mcp
  1. Check: in a new chat ask "Check my Y

Only the beginning is shown; read the rest in the repo