MCP.so
Sign In

ScrobblerContext - Last.fm MCP Server

@tfmart

About ScrobblerContext - Last.fm MCP Server

MCP Server for Last.FM APIs, built in Swift

Basic information

Category

Other

License

MIT license

Runtime

swift

Transports

stdio

Publisher

tfmart

Config

No standard config provided

This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.

Repository

Tools

42

Start OAuth flow in browser

Set existing session key

Check authentication status

Restore saved session

Clear authentication

Search for artists

Get artist details & biography

Find similar artists

Get corrected artist name

Get artist tags

Get artist's top albums

Get artist's top tracks

Add personal tags (requires auth)

Remove personal tag (requires auth)

Search for albums

Get album details & tracklist

Get album tags

Get popular album tags

Add personal tags (requires auth)

Remove personal tag (requires auth)

Search for tracks

Get track details

Find similar tracks

Get corrected track info

Get track tags

Get popular track tags

Add personal tags (requires auth)

Remove personal tag (requires auth)

Get user profile & stats

Get recent listening history

Get top artists by period

Get top tracks by period

Get top albums by period

Get most used tags

Get friends list

Get loved tracks

Get tagged artists

Submit single track play

Submit multiple plays

Update current track status

Mark track as loved

Remove from loved tracks

Overview

What is ScrobblerContext - Last.fm MCP Server?

ScrobblerContext is a Model Context Protocol (MCP) server built in Swift that provides AI assistants with access to Last.fm’s music database. It enables searching for artists, albums, and tracks, managing user libraries, and scrobbling track plays via secure OAuth authentication.

How to use ScrobblerContext - Last.fm MCP Server?

Install globally with npm install -g scrobblercontext-mcp, set the environment variables LASTFM_API_KEY and LASTFM_SECRET_KEY, then run scrobblercontext-mcp. Configure MCP clients such as Claude Desktop or Cursor to execute the server command with stdio transport and the required environment variables.

Key features of ScrobblerContext - Last.fm MCP Server

  • Secure browser OAuth flow with session persistence
  • Artist search, detailed info, and similar artists
  • Album search with track listings and metadata
  • Track search, details, recommendations, and corrections
  • User data: listening history, top charts, friends, loved tracks
  • Scrobbling: submit track plays, update now playing, love/unlove tracks
  • Personal tagging for artists, albums, and tracks (requires auth)
  • Community tag retrieval and correction tools

Use cases of ScrobblerContext - Last.fm MCP Server

  • Search for music and get detailed artist/album/track information
  • Scrobble tracks to a user’s Last.fm profile via voice or chat
  • Discover similar artists and track recommendations
  • Access personal listening statistics and top charts
  • Manage a music library: love tracks, add tags, view history

FAQ from ScrobblerContext - Last.fm MCP Server

How do I get Last.fm API credentials?

Visit the Last.fm API Account Creation page, fill in application details (use http://localhost:8080/callback as the callback URL), then save the API Key and Shared Secret.

What are the prerequisites to run the server?

The easiest method requires Node.js and npm. Alternatively, Swift 6.0+ and macOS 13.0+ (or Linux with Swift support) are needed for manual builds. Last.fm API credentials are always required.

How do I authenticate a user with Last.fm?

Use the authenticate_browser tool to start the OAuth flow in your default browser. The server persists the session for subsequent requests.

How do I configure the server in Claude Desktop?

Add a lastfm entry in claude_desktop_config.json with command: "scrobblercontext-mcp" and set the LASTFM_API_KEY and LASTFM_SECRET_KEY environment variables.

What transport does the server use?

The server communicates over stdio following the Model Context Protocol standard.

Comments

More Other MCP servers