LaunchKit · 2026
Back to Skills

lastfm

Access Last.fm listening history, music stats.

2
2.2k downloads
by @gumadeiras

Setup & Installation

openclaw skills install @gumadeiras/lastfm

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install lastfm

Version History

v1.0.2Jan 18, 2026 - Version note by skill developer:

Added description/summary in frontmatter

What This Skill Does

Connects to the Last.fm API to query listening history, music stats, and discovery data. Supports recent tracks, top artists/albums/tracks by time period, loved tracks, similar artist/track lookups, global charts, and tag-based browsing.

Exposes the full Last.fm API surface in one skill, covering both personal listening data and global discovery endpoints without needing separate integrations.

When to use it

  • Check what song is currently playing on your Last.fm account
  • Get your top artists or tracks for the past week or month
  • Find artists similar to one you already know
  • Browse top albums for a specific genre or tag
  • Pull your all-time scrobble stats and listening totals

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: What are my top 5 artists this month?

AGENT
  1. 1Read LASTFM_USER and LASTFM_API_KEY from environment
  2. 2Send GET request to user.gettopartists with period=1month and limit=5
  3. 3Parse the topartists.artist array from the JSON response
  4. 4Format each entry as artist name with play count
OUTPUT

A ranked list of the user's top 5 artists for the current month with play counts

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

LASTFM_API_KEY environment variable (obtain at last.fm/api/account/create)LASTFM_USER environment variable (your Last.fm username)