lastfm

Retrieve Last.fm listening history, artist metadata, and music charts via API.

40|6|Updated Jul 11, 2026
One-click install
npx skills add https://github.com/magnus919/agent-skills --skill lastfm-magnus919
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lastfm
Source: https://github.com/magnus919/agent-skills/tree/main/lastfm
Command: npx skills add https://github.com/magnus919/agent-skills --skill lastfm-magnus919

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires requests, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This skill solves the fragmentation of personal music data by providing a unified interface to query listening history, discover new music, and manage social interactions on the Last.fm platform.

Core Features & Use Cases

  • Music Discovery: Generate personalized recommendations by analyzing similar artists and tracks based on collaborative filtering.
  • Listening Analytics: Retrieve detailed statistics on top artists, tracks, and albums across various time periods.
  • Social & Write Operations: Manage your social graph, scrobble tracks in real-time, and love songs directly from your terminal.

Quick Start

Use the lastfm skill to retrieve my top artists from the last month and find similar recommendations for my favorite band.

Frequently Asked Questions about lastfm

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I retrieve my Last.fm listening history and top tracks?

To retrieve Last.fm listening history, this skill queries the Last.fm API for detailed statistics on your top artists, tracks, and albums across various time periods.

Can I scrobble tracks and manage my Last.fm social graph via an API client?

Yes, this skill supports real-time scrobbling and social graph management as write-enabled API client operations, requiring valid session credentials to love songs and scrobble tracks.

Do I need a Last.fm API key to access global music charts and artist metadata?

Yes, a valid Last.fm API key is required to retrieve global music charts and artist metadata, while optional session credentials are only needed for write-enabled operations like scrobbling.

How does music discovery work with Last.fm collaborative filtering?

Last.fm collaborative filtering generates personalized music recommendations by analyzing similar artists and tracks retrieved from the API based on your listening history.

What are the limitations of using requests for Last.fm API interactions?

A limitation of using requests for Last.fm API interactions is that you must manually supply API key and optional session credentials for write-enabled operations, as the dependency only handles HTTP transit.