MCP server
Lastfm MCP
Query the Last.fm API: top artists, top tracks, artist info.
Runs locallyStatus and history
- Pricing
- Open source
- Runs
- Locally
- Version
- 1.0.0
- Listing updated
- 6 days ago
About Lastfm MCP
Lastfm MCP is an open-source MCP server. It runs locally on your machine and is started by your AI client.
Install
Run in a terminal
claude mcp add lastfm-mcp -- npx -y lastfm-mcpAdd to claude_desktop_config.json
{
"mcpServers": {
"lastfm-mcp": {
"command": "npx",
"args": [
"-y",
"lastfm-mcp"
]
}
}
}Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:
Add to ~/.cursor/mcp.json
{
"mcpServers": {
"lastfm-mcp": {
"command": "npx",
"args": [
"-y",
"lastfm-mcp"
]
}
}
}Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:
Add to .vscode/mcp.json
{
"servers": {
"lastfm-mcp": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"lastfm-mcp"
]
}
}
}Add to ~/.codeium/windsurf/mcp_config.json
{
"mcpServers": {
"lastfm-mcp": {
"command": "npx",
"args": [
"-y",
"lastfm-mcp"
]
}
}
}Add to your client's MCP settings (most use this shape)
{
"mcpServers": {
"lastfm-mcp": {
"command": "npx",
"args": [
"-y",
"lastfm-mcp"
]
}
}
}Using several servers? Build one config file with the MCP config generator.
Pricing
Open source
Lastfm MCP FAQ
Is Lastfm MCP free?
Yes. Lastfm MCP is open source, so you can use and self-host it for free.
How do I add Lastfm MCP to Claude Code?
Run this command in your terminal: claude mcp add lastfm-mcp -- npx -y lastfm-mcp
Where this comes from
- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.