• ARTIST
  • ALBUM
  • TRACK
  • HUMAN

How to retrieve music metadata with your AI

Connect Last.fm to your AI client to pull real-time music data. Once linked, your agent can look up any artist, album, or track details on demand.

Ask AI about this page

Short answer

How can I get music info using my AI?

Your AI uses the Last.fm MCP to query specific details about musical entities. You can ask for artist biographies, album lists, or track specifics to get the data you need.

Data outcomes

What you can pull

The specific types of music data your agent can fetch.

ARTIST

Artist profiles

The AI pulls biographical info and top tracks for any artist you name. You get a clear picture of their career and popularity.

ALBUM

Album details

Get tracklists and release info for specific records. This helps you organize collections or learn about a discography.

TRACK

Song specifics

Retrieve metadata for individual tracks. Your agent finds the exact details for a single song instantly.

HUMAN

Manual curation

The AI provides the raw data, but you decide how to use it. You remain in control of building playlists or writing reviews.

The workflow

What your AI does when the request arrives.

The AI translates your natural language into specific data requests.

  1. Identify the entity

    Your agent parses your message to determine if you are asking about a person, a record, or a song.

    get_artist_info
  2. Fetch artist data

    The AI pulls background information and stats for the requested musician.

    get_artist_info
  3. Retrieve album info

    The agent looks up the specific tracks and details for a chosen album.

    get_album_info
  4. Get track details

    The AI grabs specific metadata for a single song to complete your request.

    get_track_info

Try it

Copy these to start.

Use these prompts to trigger the Last.fm tools.

Starting points

Swap the names in these prompts for the artists or albums you actually want to look up.

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
  • Tell me about the artist Radiohead.

  • What is the tracklist for the album Abbey Road?

  • Give me details on the song Bohemian Rhapsody.

  • Find info on the artist Daft Punk and their most popular albums.

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

Start here

Connect Last.fm once, then ask.

One click connects the MCP to your client. Your credentials stay encrypted, and you can start querying immediately.

Connect Last.fm to your AI

FAQ

How this task behaves.

  • 01

    Can my AI change my Last.fm profile settings?

    No. The AI can only read data through the provided tools; it cannot modify your account or settings.

  • 02

    Can the AI add songs to my personal Last.fm library?

    No. The tools are limited to retrieving information, not performing write actions on your account.

  • 03

    Does the AI need me to provide the artist's ID?

    No. You can just use the artist's name, and the AI will handle the lookup.

  • 04

    Can I use this with Claude or Cursor?

    Yes, any MCP-compatible client works once you connect the connector.

  • 05

    Will the AI suggest new music based on this data?

    The AI can suggest music based on the metadata it retrieves, but it doesn't have a built-in recommendation engine.

  • More questions about Last.fm? The Connector page answers them. See everything the Last.fm Connector can do

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