- TRACK DATA
- POPULARITY
- ALBUM INFO
- HUMAN
Short answer
How can I get music metadata using my AI?
Your AI uses the Last.fm MCP to query specific tracks, albums, or artists for metadata and playcounts. You just provide the song name or artist, and the agent pulls the details. You'll see the specific data points it finds below.
Data outcomes
What your AI finds
The specific information your agent pulls from Last.fm.
TRACK DATA
Detailed song info
The AI finds specific track names, durations, and artist associations. It uses this to verify song details for your lists.
POPULARITY
Real-time playcounts
Your agent retrieves how many times a track or artist has been played. This helps you gauge trends or popularity.
ALBUM INFO
Complete album details
The AI pulls album titles and artist links. It's useful for organizing discographies or checking release info.
HUMAN
Manual curation
The AI provides the raw data, but you decide which tracks actually make it into your final playlist or database.
The workflow
What your AI does when you ask for music data.
The agent acts as the bridge between your chat and the Last.fm database.
Identify the song
Your agent parses your request to find the specific artist and track name you're interested in.
get_track_infoQuery Last.fm
The AI sends the song details to the Last.fm API to find a match in their database.
get_track_infoExtract metadata
The agent pulls the playcounts, album names, and other attributes from the returned data.
get_track_infoPresent findings
The AI formats the metadata into a readable list or table for you to use.
get_track_info
Try it
Copy these to start.
Use these prompts to trigger the music lookups.
Starting points
Replace the song and artist names with whatever you're looking for.
Last.fm Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_BzwGvglyQ2L17XEM1RH053u50xSOl42bxDljEhGf/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — Last.fm capabilities are ready to use.
{
"mcpServers": {
"lastfm-alternative-mcp": {
"url": "https://edge.vinkius.com/vk_preview_BzwGvglyQ2L17XEM1RH053u50xSOl42bxDljEhGf/mcp"
}
}
}Get the playcount and album info for 'Blinding Lights' by The Weeknd.
Find the metadata for the track 'Bohemian Rhapsody' from Last.fm.
What is the total playcount for 'Stayin' Alive' by the Bee Gees?
Look up the album details for the song 'Levitating' by Dua Lipa.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect Last.fm once, then ask.
Click the link to connect your account. Your credentials stay encrypted, and you can immediately start asking your agent for music data.
Connect Last.fm to your AIFAQ
How the music lookup behaves
- 01
Can the AI change my Last.fm profile settings?
No. The AI can only read track and album information; it cannot modify your account or settings.
- 02
Can the AI add songs to my Last.fm library?
No. The current tools only allow the AI to fetch existing metadata, not write or add new data to your account.
- 03
Does the AI need my Last.fm password?
No. Vinkius handles the connection securely so your agent can access the data without seeing your password.
- 04
Can I get playcounts for any song?
The AI can fetch playcounts for any song that exists in the Last.fm database.
- 05
Will the AI create a playlist for me?
The AI can provide the data you need to build a playlist, but it does not have the tool to physically create playlists in Last.fm.
More questions about Last.fm? See everything the Last.fm Connector can do
Connect Last.fm to Claude, Cursor, ChatGPT & more
