MCP.so
登录

ScrobblerContext - Last.fm MCP Server

@tfmart

关于 ScrobblerContext - Last.fm MCP Server

MCP Server for Last.FM APIs, built in Swift

基本信息

分类

其他

许可证

MIT license

运行时

swift

传输方式

stdio

发布者

tfmart

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

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

概览

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.

评论

其他 分类下的更多 MCP 服务器