# Last.fm MCP for AI Agents AI Agent Connect

> Last.fm MCP lets you manage your music profile through your AI client. You can scrobble tracks, fetch detailed metadata for any song, update your current 'now playing' status, and pull stats for specific users or music tags. It turns your AI into a personal music historian, keeping your listening habits organized without the manual effort.

## Overview
- **Category:** audio-music
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_BzwGvglyQ2L17XEM1RH053u50xSOl42bxDljEhGf/ai-agent-connect
- **Tags:** music-tracking, scrobbling, lastfm, audio-metadata, listening-history

## Description

This Last.fm MCP connects your music account to your AI client so you can manage your scrobbling and metadata with natural conversation. It handles the heavy lifting of logging your listening history and fetching track details without you having to jump between apps. You can tell your agent to log a song, update what you're currently hearing, or pull up the stats for a specific user. It makes your music profile interactive and easy to maintain. Instead of opening a browser to check how many people have heard a new release or manually searching for a genre's context, you just ask your agent. It moves the data retrieval into a conversation, letting you focus on the music rather than the manual entry of playcounts and tags. Since this is hosted on Vinkius, you can manage it alongside your other favorite connections in one place. You can see what your friends are listening to or find out which artists are trending in your favorite tags without any extra clicks. It's about making your music history work for you, not the other way around. Whether you're trying to organize a massive playlist, research the metadata for a new project, or just want to keep your profile accurate, this connection gives you direct access to your data in a way that feels natural. You get to keep your music habits organized without the friction of traditional manual logging.

## Tools

### update_now_playing
Update your live listening status on your profile. Use this to let your followers know what's on your speakers.

### scrobble_track
Log a track to your listening history. This keeps your profile updated with every song you hear.

### get_tag_info
Get metadata for a specific music tag. This helps you find more context for genres you enjoy.

### get_track_info
Fetch details for a song using the artist name or MBID. It provides playcounts and other relevant metadata.

### get_user_info
Retrieve profile information for any Last.fm user. You can see their history and top artists quickly.

## Prompt Examples

**Prompt:** 
```
How many times has 'Blinding Lights' been played on Last.fm?
```

**Response:** 
```
I've checked the stats for 'Blinding Lights' by The Weeknd. It has over 500 million plays. Would you like to see the top tags associated with it?
```

**Prompt:** 
```
Log the song 'Levitating' by Dua Lipa to my profile.
```

**Response:** 
```
Done! I've scrobbled 'Levitating' by Dua Lipa to your Last.fm profile. Your listening history is now up to date.
```

**Prompt:** 
```
Who is the user 'music_fan_123' and what's their top artist?
```

**Response:** 
```
Here is the profile for 'music_fan_123':
- **Member since**: 2015
- **Total plays**: 45,000
- **Top Artist**: Radiohead
```

## Capabilities

### Log your current song
Automatically scrobble a track to your profile.

### Fetch song details
Get playcounts and artist info for any track.

### Update live status
Tell your followers what you're listening to right now.

### Pull user stats
See profile data and history for any Last.fm user.

### Explore music tags
Discover genres and context for your favorite sounds.

## Use Cases

### Checking song popularity
A user wants to know if a song is trending. They ask the agent for the playcount of a track using `get_track_info`.

### Researching music genres
A curator wants to find similar music. They use `get_tag_info` to see what genres are linked to a specific artist.

### Logging a new favorite
A fan wants to log a song. They tell the agent to `scrobble_track` so it shows up on their profile.

### Checking a friend's taste
Someone wants to check a friend's taste. They ask the agent to pull the profile for a specific user with `get_user_info`.

## Benefits

- Keep your profile current by using `scrobble_track` to log music without leaving your current app.
- Get instant music data by using `get_track_info` to find playcounts and artist details on the fly.
- Share your vibe with followers by using `update_now_playing` to broadcast what you're hearing.
- Research music trends more effectively by using `get_tag_info` to explore genres and contexts.
- Access user history faster by using `get_user_info` to see profile stats for any listener.

## How It Works

The bottom line is you get a way to control your music profile using only natural language.

1. Subscribe to the Last.fm MCP on Vinkius.
2. Enter your Last.fm API Key and Shared Secret.
3. Ask your AI client to scrobble a song or fetch track info.

## Frequently Asked Questions

**How does the Last.fm MCP help me track my music?**
It connects your account to your AI client so you can scrobble tracks and manage your profile using natural language. You don't have to manually log anything.

**Can I use Last.fm MCP to see how many plays a song has?**
Yes, you can ask your agent to pull the playcount and artist details for any track. It retrieves the metadata directly from Last.fm for you.

**Does Last.fm MCP work for updating my 'Now Playing' status?**
It does. You can tell your agent to update your live status so your followers can see what you're listening to in real time.

**Can I find out about music tags with Last.fm MCP?**
Absolutely. You can ask your agent to fetch info on specific tags to explore genres and find new context for the music you love.

**Is Last.fm MCP good for looking up other people's music profiles?**
Yes, it allows you to retrieve profile data and stats for any user. You can quickly see their history and top artists without visiting their page.

**Can I manually scrobble a track I just finished listening to?**
Yes! Use the `scrobble_track` tool by providing the artist, track name, and a Unix timestamp. The agent will log the play to your Last.fm history immediately.

**How do I update my 'Now Playing' status for my followers?**
Simply use the `update_now_playing` tool with the artist and track name. This notifies Last.fm that you have started listening to the song.

**Can I get information about a specific music genre or tag?**
Yes, use the `get_tag_info` tool with the tag name (e.g., 'rock' or 'synthwave') to fetch metadata and descriptions for that specific tag.