• THEMED
  • RECURRING
  • DISCOVERY
  • HUMAN

How to curate favorite playlists with your AI

Connect Last.fm to your AI agent to turn your listening history into organized collections. It uses your actual data to understand what you love.

Ask AI about this page

Short answer

How can I use AI to make playlists from my Last.fm data?

Your AI pulls your most played and loved tracks directly from Last.fm to identify patterns in your taste. It then organizes these songs into themed lists or specific moods you request. You get a breakdown of how it handles your data below.

Playlist outcomes

Where your music lands.

What your AI produces from your listening data.

THEMED

Mood-based lists

The AI looks at your top tracks to group songs by energy or genre. You get a list ready for a specific vibe.

RECURRING

Deep cuts collections

It finds songs you've loved but haven't heard in a while. This builds a list of your personal favorites.

DISCOVERY

Taste profiles

The agent analyzes your most frequent artists to summarize your musical identity. You get a clear picture of your core genres.

HUMAN

Final curation

The AI suggests the tracks, but you decide which ones actually make the cut. You maintain full control over the final selection.

The workflow

What your AI does when the data arrives.

The agent follows a specific path to turn raw history into curated music.

  1. Gather history

    The agent pulls your most frequent listens to establish a baseline of your taste.

    get_top_tracks
  2. Identify favorites

    It scans the songs you have specifically marked as loved to find your true essentials.

    get_loved_tracks
  3. Analyze patterns

    The AI compares your top tracks against your loved tracks to find common genres or artists.

    get_top_tracksget_loved_tracks
  4. Draft lists

    The agent organizes the identified tracks into the specific playlist structures you ask for.

    get_loved_tracks

Try it

Copy these to start.

Use these prompts once you have connected Last.fm.

Starting points

These are basic requests. You can swap out the genres or moods to match what you want.

Last.fm Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_beHavK7nwxizmMuLrmdU4kwNI6A7SwuBs2pZxfsU/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — Last.fm capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "lastfm-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_beHavK7nwxizmMuLrmdU4kwNI6A7SwuBs2pZxfsU/mcp"
    }
  }
}
Copy into chat04
  • Look at my top tracks and suggest a 20-song playlist for a rainy afternoon.

  • Find all the songs I've marked as loved that fall under the Jazz genre.

  • Based on my most played artists, what are five similar genres I should explore?

  • Create a high-energy workout list using only my most frequent listens.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect Last.fm once, then ask.

Just link your account with one click. Your login details stay encrypted and secure on our end.

Connect Last.fm to your AI

FAQ

How the task behaves

  • 01

    Can the AI add songs directly to my Spotify playlists?

    No. The AI can only read your Last.fm data to suggest tracks. You have to move them to Spotify yourself.

  • 02

    Does the AI delete any of my Last.fm data?

    No. The tools only allow the AI to read your tracks. It cannot change, delete, or edit your Last.fm account.

  • 03

    Can it see my private listening history?

    The AI can only access the data provided by the get_top_tracks and get_loved_tracks tools.

  • 04

    Will it suggest songs I've never heard?

    No. The current tools only allow the AI to work with your existing history. It cannot browse new music outside of your data.

  • 05

    How does it know which songs I actually like?

    It uses the get_loved_tracks tool to identify the specific songs you have flagged as favorites.

  • More questions about Last.fm? See everything the Last.fm Connector can do

Connect Last.fm to Claude, Cursor, ChatGPT & more