Scrobblercontext MCP Server

Last.fm MCP Server - Search music, manage libraries, and scrobble tracks

Local serverstdio

What is the Scrobblercontext MCP Server?

Last.fm MCP Server - Search music, manage libraries, and scrobble tracks

What it actually does

A Model Context Protocol (MCP) server that provides access to Last.fm's music database. Built in Swift, it enables AI assistants to search for music, manage user libraries, and scrobble tracks.

  • Authentication — Secure browser OAuth flow with session persistence
  • Artist Operations — Search artists, get detailed information, find similar artists
  • Album Operations — Search albums, get track listings and metadata
  • Track Operations — Search tracks, get details and recommendations
  • User Data — Access listening history, statistics, and social features
  • Scrobbling — Submit track plays, update now playing status, love/unlove tracks

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
authenticate_browserStart OAuth flow in browser
set_session_keySet existing session key
check_auth_statusCheck authentication status
restore_sessionRestore saved session
logoutClear authentication
search_artistSearch for artists
get_artist_infoGet artist details & biography
get_similar_artistsFind similar artists
get_artist_correctionGet corrected artist name
get_artist_tagsGet artist tags
get_artist_top_albumsGet artist's top albums
get_artist_top_tracksGet artist's top tracks
add_artist_tagsAdd personal tags (requires auth)
remove_artist_tagRemove personal tag (requires auth)

How to install the Scrobblercontext MCP Server

{
  "mcpServers": {
    "scrobblercontext": {
      "command": "npx",
      "args": ["-y", "scrobblercontext-mcp"],
      "env": {
        "LASTFM_API_KEY": "your-value",
        "LASTFM_SECRET_KEY": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

VariableDescriptionRequired
LASTFM_API_KEYCredential the server authenticates with.Yes
LASTFM_SECRET_KEYCredential the server authenticates with.Yes

Example prompts to try

  • “Use Scrobblercontext to authenticate browser.”
  • “Use Scrobblercontext to set session key.”
  • “Use Scrobblercontext to check auth status.”

Frequently asked questions

Last.fm MCP Server - Search music, manage libraries, and scrobble tracks Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.