lastfm

Retrieve Last.fm listening history, stats, and charts via the Last.fm API.

Updated May 6, 2026
One-click install
npx skills add https://github.com/Uniquecrete/ThinkFasterv1 --skill lastfm-uniquecrete
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: lastfm
Source: https://github.com/Uniquecrete/ThinkFasterv1/tree/main/Skills/lastfm
Command: npx skills add https://github.com/Uniquecrete/ThinkFasterv1 --skill lastfm-uniquecrete

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

It saves you from manually browsing Last.fm to find your listening history, top artists/tracks, loved tracks, and discovery charts by providing fast, API-driven lookups.

Core Features & Use Cases

  • Recent listening & now-playing detection: Retrieve recently played tracks and identify the currently playing track from the user feed.
  • Personal analytics: Fetch user profile stats and time-bounded top artists/albums/tracks (e.g., overall, 7day, 1month, 12month).
  • Discovery & global charts: Get loved tracks, similar artists, and global top charts, plus tag-based top items for genres.

Quick Start

Set LASTFM_API_KEY and LASTFM_USER in your shell, then ask: "Show my last 10 recent tracks and tell me what is currently playing."

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 artists via API?

Retrieve Last.fm listening history and top artists by sending GET requests to ws.audioscrobbler.com/2.0/ with your API key, username, and method parameters. The Skill fetches recent tracks, top albums, and time-bounded stats directly from your user feed.

What do I need to fetch my Last.fm stats and recent tracks?

To fetch Last.fm stats, you need to set the LASTFM_API_KEY and LASTFM_USER environment variables. The Skill uses these credentials to authenticate GET requests to the Last.fm API and retrieve your personal listening data.

Can I get global top charts and similar artists from Last.fm data?

Yes, you can get global top charts and similar artists from Last.fm data. The Skill supports fetching global top charts, tag-based genre top items, and similar artist discovery results directly through the Last.fm API method parameters.

How do I check my currently playing track and loved tracks on Last.fm?

Check your currently playing track and loved tracks by querying the Last.fm user feed. The Skill detects now-playing status from recent tracks and retrieves loved tracks by calling the appropriate API methods with your configured username.

What time periods are supported for Last.fm top tracks and albums analytics?

Last.fm top tracks and albums analytics support overall, 7-day, 1-month, and 12-month time periods. The Skill passes these time-bounded parameters to the API to return your top artists, albums, and tracks for the specified duration.

Does this method work for fetching Last.fm weekly charts and tag-based top tracks?

Yes, this method works for fetching Last.fm weekly charts and tag-based top tracks. The Skill constructs GET requests with the appropriate API methods to retrieve weekly chart data and genre-specific top items for discovery.