• TRENDS
  • SUMMARIES
  • INSIGHTS
  • HUMAN

How to analyze user listening stats with your AI

Connect Last.fm to your AI client once. After that, you can query any user's listening history and profile data through your chat interface.

Ask AI about this page

Short answer

How can I analyze Last.fm stats with my AI?

Your AI uses the Last.fm MCP to pull specific profile data and listening history for any user. You can then ask your agent to find trends, identify top artists, or summarize listening habits. Here is how the data flows into your workspace.

The outcomes

What you can do with this data

Once the connection is live, your AI can process these specific outcomes.

TRENDS

Identify listening patterns

The AI reads user history to spot shifts in genre preference or artist popularity over time.

SUMMARIES

Generate profile snapshots

Get a quick breakdown of a user's most played tracks and top artists without manual browsing.

INSIGHTS

Compare user profiles

Ask your agent to look at two different users to see how their music tastes overlap or differ.

HUMAN

Curate your own playlists

The AI provides the data, but you decide which tracks actually make the cut for your next playlist.

The workflow

What your AI does when the data arrives.

The AI acts as a bridge between Last.fm's database and your chat window.

  1. Fetch profile data

    The AI reaches out to Last.fm to grab the specific details of a user profile.

    get_user_info
  2. Parse listening history

    Your agent organizes the raw playback data into a readable format.

    get_user_info
  3. Analyze statistics

    The AI calculates top genres, frequent artists, and listening trends from the retrieved data.

    get_user_info
  4. Deliver insights

    Your agent presents the findings in plain text or structured lists based on your request.

    get_user_info

Try it

Copy these to start.

Use these prompts to kick off your analysis.

Starting points

Replace the usernames in these prompts with the actual Last.fm handles you want to check.

Last.fm Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_BzwGvglyQ2L17XEM1RH053u50xSOl42bxDljEhGf/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-alternative-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_BzwGvglyQ2L17XEM1RH053u50xSOl42bxDljEhGf/mcp"
    }
  }
}
Copy into chat04
  • Get the listening stats for the user 'username' and tell me their top five artists.

  • Analyze the profile of 'username' and summarize their most frequent music genres.

  • Compare the listening habits of 'user1' and 'user2' to see if they have similar tastes.

  • Based on 'username's' recent history, what kind of new music should they listen to?

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

Start here

Connect Last.fm once, then ask.

Follow the link to authorize the connection. Your credentials stay encrypted, and you can immediately start chatting with your data.

Connect Last.fm to your AI

FAQ

Common questions

  • 01

    Can the AI change my Last.fm profile settings?

    No. The AI can only read profile and listening data. It cannot modify your account or change any settings.

  • 02

    Do I need to provide my Last.fm password?

    No. You connect via the Vinkius platform, which handles the connection securely without exposing your password to the AI.

  • 03

    Can the AI add tracks to my Last.fm library?

    No. This MCP is limited to retrieving information. It cannot perform write actions like adding tracks or scrobbling.

  • 04

    Can I analyze any Last.fm user?

    Yes, as long as their profile data is publicly available on Last.fm, your AI can pull it.

  • 05

    Does the AI remember my listening history from yesterday?

    The AI only knows what it can pull from Last.fm in the current session or what you have provided in the chat context.

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

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