Yandex Music (unofficial)

v0.2.1
io.github.kenzolika/yandex-music-mcp Checked 16 hours ago Published 1 month ago

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

Values you need

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

PyPI (uvx) discovery passed

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add yandex-music-mcp -- uvx yandex-music-mcp==0.2.1
Add to claude_desktop_config.json
{
  "mcpServers": {
    "yandex-music-mcp": {
      "args": [
        "yandex-music-mcp==0.2.1"
      ],
      "command": "uvx"
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "yandex-music-mcp": {
      "args": [
        "yandex-music-mcp==0.2.1"
      ],
      "command": "uvx"
    }
  }
}
Add to .vscode/mcp.json
{
  "servers": {
    "yandex-music-mcp": {
      "args": [
        "yandex-music-mcp==0.2.1"
      ],
      "command": "uvx",
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.yandex-music-mcp]
command = "uvx"
args = ["yandex-music-mcp==0.2.1"]

For AI agents

  1. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  2. Restart or reload the client so it starts the server.
  3. Verify: the server should expose these tools: account_info, search, get_liked_tracks, get_listening_history, list_my_playlists, get_playlist_tracks, get_album_tracks, get_playlist_by_url, ….
  4. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json