Weavz
Last.fm

Last.fm

Search music metadata, artist profiles, track details, user charts, and Last.fm listening data.

13 tools
Use withChatGPTClaudeClaude CodeCursorCodexMCP clientsSetup guide

Tools

Name
search_artist

Search Last.fm artists by name and return relevance-ranked matches.

search_track

Search Last.fm tracks by title, optionally narrowed by artist.

get_artist_info

Get Last.fm artist metadata, stats, tags, similar artists, and a short biography.

get_similar_artists

Get artists similar to a Last.fm artist.

get_artist_top_tracks

Get the top tracks for a Last.fm artist.

get_artist_top_albums

Get the top albums for a Last.fm artist.

get_track_info

Get Last.fm track metadata, stats, tags, album data, and a short wiki summary.

get_album_info

Get Last.fm album metadata, tracks, tags, and a short wiki summary.

get_user_recent_tracks

Get recent tracks from a public Last.fm user profile.

get_user_top_artists

Get the top artists listened to by a public Last.fm user.

get_user_top_tracks

Get the top tracks listened to by a public Last.fm user.

get_chart_top_artists

Get the global Last.fm top artists chart.

get_chart_top_tracks

Get the global Last.fm top tracks chart.

Quick Start

TypeScript
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.

How do I connect Last.fm to ChatGPT or Claude?

Open the Weavz connector setup, sign in, choose a workspace, and add Last.fm as an approved app. ChatGPT, Claude, and other remote MCP clients can then call the scoped Last.fm tools exposed by that workspace.

Does Last.fm work with Claude Code, Cursor, Codex, and local agents?

Yes. Remote and local MCP clients can connect to a Weavz MCP endpoint for the workspace. Local coding agents can also use the Weavz CLI to inspect apps, discover actions, run approved Last.fm work, and execute Code Mode workflows from a terminal.

What can I ask an AI agent to do with Last.fm?

Last.fm exposes 13 tools, including Search Artist, Search Track, Get Artist Info, Get Similar Artists, Get Artist Top Tracks, and more. Use Weavz to keep credentials scoped, require approval for sensitive work, and audit what the agent did.

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.