Last.fm
Search music metadata, artist profiles, track details, user charts, and Last.fm listening data.
Tools
| Name | Description |
|---|---|
search_artistSearch Last.fm artists by name and return relevance-ranked matches. | Search Last.fm artists by name and return relevance-ranked matches. |
search_trackSearch Last.fm tracks by title, optionally narrowed by artist. | Search Last.fm tracks by title, optionally narrowed by artist. |
get_artist_infoGet Last.fm artist metadata, stats, tags, similar artists, and a short biography. | Get Last.fm artist metadata, stats, tags, similar artists, and a short biography. |
get_similar_artistsGet artists similar to a Last.fm artist. | Get artists similar to a Last.fm artist. |
get_artist_top_tracksGet the top tracks for a Last.fm artist. | Get the top tracks for a Last.fm artist. |
get_artist_top_albumsGet the top albums for a Last.fm artist. | Get the top albums for a Last.fm artist. |
get_track_infoGet Last.fm track metadata, stats, tags, album data, and a short wiki summary. | Get Last.fm track metadata, stats, tags, album data, and a short wiki summary. |
get_album_infoGet Last.fm album metadata, tracks, tags, and a short wiki summary. | Get Last.fm album metadata, tracks, tags, and a short wiki summary. |
get_user_recent_tracksGet recent tracks from a public Last.fm user profile. | Get recent tracks from a public Last.fm user profile. |
get_user_top_artistsGet the top artists listened to by a public Last.fm user. | Get the top artists listened to by a public Last.fm user. |
get_user_top_tracksGet the top tracks listened to by a public Last.fm user. | Get the top tracks listened to by a public Last.fm user. |
get_chart_top_artistsGet the global Last.fm top artists chart. | Get the global Last.fm top artists chart. |
get_chart_top_tracksGet the global Last.fm top tracks chart. | Get the global Last.fm top tracks chart. |
Quick Start
import { WeavzClient } from '@weavz-io/sdk'
const weavz = new WeavzClient({ apiKey: 'wvz_...' })
const result = await weavz.actions.execute('lastfm', 'search_artist', {
workspaceId: '550e8400-e29b-41d4-a716-446655440000',
integrationAlias: 'lastfm',
input: { /* ... */ },
})Related Integrations
Works well with
Frequently Asked Questions
How do I connect Last.fm to my app?
Use Weavz Hosted Connect for API Key authentication. Install the SDK, create a connection through the connect portal or API, then execute tools programmatically.
What tools does Last.fm support?
Last.fm supports 13 tools including Search Artist, Search Track, Get Artist Info, Get Similar Artists, Get Artist Top Tracks, and more.
Can I use Last.fm with AI agents?
Yes. Add Last.fm to an MCP server in Tool Mode or Code Mode. Code Mode provides 3 meta-tools with on-demand API discovery so agents can compose stateful workflows without loading every action schema up front.
Can Last.fm be used in stateful agent workflows?
Yes. Agents can combine Last.fm tools with Filesystem, State KV, Human Gates, input partials, and other workspace integrations while keeping execution scoped to the selected workspace or end user.
What authentication does Last.fm use?
Last.fm uses API Key. Weavz stores credentials securely and uses them for authorized action execution.
How much does the Last.fm integration cost?
The Last.fm integration is included on all Weavz plans including the free tier with 20,000 actions per month. No credit card required.
Connect Last.fm in minutes
Get 20,000 free action executions every month. No credit card required.