lastfm-lyrics
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@lastfm-lyricsWhat am I listening to?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Music Lyrics MCP Server
Ask Claude to analyze the song you're currently listening to LIVE on Spotify, and it will automatically look up what's playing and fetch the lyrics.
If you listen to mumble rap as much as me, you might find this useful. Sometimes, I just lost track of what the artist is singing, but I keep following because the flow is so good:)
How it works
You play music in Spotify
Last.fm detects what's playing and logs it in real-time
Claude reads that from Last.fm, fetches the lyrics from Genius, and answers your question
Related MCP server: Spotify MCP Server
Prerequisites
Claude Desktop (Windows or Mac)
A Last.fm account with Spotify connected for scrobbling
Python 3.10+
Setup
1. Install dependencies
pip install -r requirements.txt2. Configure credentials
cp .env.example .envFill in .env with your Last.fm API key, secret, username, and Genius token.
3. Connect Spotify to Last.fm
Go to https://www.last.fm/settings/applications and connect Spotify. This enables scrobbling — Last.fm will track what you play in Spotify automatically.
4. Get a Last.fm API key
Go to https://www.last.fm/api/account/create. Leave the callback URL blank. Copy the API key and shared secret into .env.
5. Register with Claude Desktop
On Windows (Microsoft Store), edit:
%LOCALAPPDATA%\Packages\Claude_pzs8sxrjxfjjc\LocalCache\Roaming\Claude\claude_desktop_config.json
{
"mcpServers": {
"lastfm-lyrics": {
"command": "python",
"args": ["C:/absolute/path/to/server.py"]
}
}
}Fully quit and reopen Claude Desktop. The tools will appear automatically.
Usage
Play a song in Spotify, then ask Claude:
"What am I listening to?"
"Analyze what I'm listening to"
"What's the mood of this song?"
"What themes does this song explore?"
"Tell me about the artist I'm listening to"
"Get the lyrics for Blinding Lights by The Weeknd"
Notes
Spotify free tier works — no Premium required
There is a ~10–30 second delay between when a track starts and when Last.fm reports it
Claude can analyze lyrics but will not reproduce them verbatim (copyright policy)
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/thaimtl/music-lyrics-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server