Connect AI to your music
An MCP server that lets Claude and other AI assistants access your Last.fm listening history. Ask questions about your music taste, discover patterns, find new artists.
Things you can ask
When did I start listening to Radiohead?Searches your historical charts to find when an artist first appeared
What was I obsessed with last summer?Analyzes your listening data for any time period
Find artists similar to my top 5Discovers new music based on your actual listening habits
How has my music taste changed over the years?Tracks the evolution of your listening patterns
Setup
Claude.ai / Claude Desktop
Add as an integration in settings
- Go to Settings → Integrations
- Click Add Integration
- Enter the URL below
- Authenticate with Last.fm when prompted
https://lastfm-mcp.com/mcp
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json
"lastfm": {
"serverUrl": "https://lastfm-mcp.com/mcp"
}
Other Clients
Claude Code, Continue.dev, Zed, or any MCP client
npx mcp-remote https://lastfm-mcp.com/mcp
Available Tools
Public (no auth)
- get_track_info
- get_artist_info
- get_album_info
- get_similar_artists
- get_similar_tracks
Personal (auth required)
- get_recent_tracks
- get_top_artists
- get_top_albums
- get_loved_tracks
- get_listening_stats
- get_music_recommendations
Temporal
- get_weekly_chart_list
- get_weekly_artist_chart
- get_weekly_track_chart