ScrobblerContext - Last.fm MCP Server

by tfmart

371 downloads
Not rated
GitHub

About

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.

Details

Author
tfmart
Downloads
371
Categories
Other

- 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

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.

ScrobblerContext - Last.fm MCP Server

npm version
Swift 6.0+
License: MIT
MCP

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.

Table of Contents

- Features
- Quick Start
- Setup with MCP Clients
- Usage Examples
- Manual Installation
- Available Tools
- Contributing
- Documentation
- Troubleshooting
- License
- Acknowledgments

Features

- 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

Quick Start

Install via npm (Recommended)

```bash

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.