rianvdm/lastfm-mcp
If you are the rightful owner of lastfm-mcp and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.
The Last.fm MCP Server is a Model Context Protocol server that provides seamless access to Last.fm listening data and music information via AI assistants like Claude.
The Last.fm MCP Server is a robust and production-ready server designed to bridge AI assistants with Last.fm's comprehensive music database. It offers a wide range of features that allow users to access personal listening data, detailed music information, and personalized music recommendations. The server is deployed on Cloudflare Workers, ensuring global edge deployment and high performance. It supports secure authentication through Last.fm Web Authentication with JWT sessions, and includes smart caching and rate limiting to optimize performance and adhere to Last.fm API limits. The server is designed to be easily integrated with AI assistants, enabling users to ask natural language questions and receive meaningful music insights. With its extensive toolset, the Last.fm MCP Server is perfect for music lovers and AI enthusiasts looking to explore and analyze their music listening habits.
Features
- Personal Listening Data: Access recent tracks, top artists, albums, and loved tracks.
- Music Information: Retrieve detailed track, artist, and album information.
- Music Discovery: Discover similar artists/tracks and receive personalized recommendations.
- Listening Statistics: Analyze comprehensive stats and listening habits.
- Secure Authentication: Utilize Last.fm Web Authentication with JWT sessions.
Tools
get_track_info
Get detailed information about any track
get_artist_info
Get detailed artist information and bio
get_album_info
Get album details and track listings
get_similar_artists
Find artists similar to a given artist
get_similar_tracks
Find tracks similar to a given track
get_recent_tracks
Your recent listening history (supports pagination)
get_top_artists
Your top artists by time period
get_top_albums
Your top albums by time period
get_loved_tracks
Your loved/favorite tracks
get_user_info
Your Last.fm profile information
get_listening_stats
Comprehensive listening statistics
get_music_recommendations
Personalized music recommendations
get_weekly_chart_list
Get available historical time periods for temporal analysis
get_weekly_artist_chart
Get artist listening data for specific time periods
get_weekly_track_chart
Get track listening data for specific time periods