lastfm-mcp

rianvdm/lastfm-mcp

3.3

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

  1. get_track_info

    Get detailed information about any track

  2. get_artist_info

    Get detailed artist information and bio

  3. get_album_info

    Get album details and track listings

  4. get_similar_artists

    Find artists similar to a given artist

  5. get_similar_tracks

    Find tracks similar to a given track

  6. get_recent_tracks

    Your recent listening history (supports pagination)

  7. get_top_artists

    Your top artists by time period

  8. get_top_albums

    Your top albums by time period

  9. get_loved_tracks

    Your loved/favorite tracks

  10. get_user_info

    Your Last.fm profile information

  11. get_listening_stats

    Comprehensive listening statistics

  12. get_music_recommendations

    Personalized music recommendations

  13. get_weekly_chart_list

    Get available historical time periods for temporal analysis

  14. get_weekly_artist_chart

    Get artist listening data for specific time periods

  15. get_weekly_track_chart

    Get track listening data for specific time periods