Last.fm MCP

● Active

com.lastfm-mcp/lastfm

Unofficial, read-only access to your Last.fm listening history, charts, and music lookups.

Connect this server

One click to install, or copy the config below. Suits: Cursor · HTTP clients.

Add to Cursor Add to VS CodeClaude Desktop / Claude Code: paste the config below.

Or add it manually — claude_desktop_config.json (Claude Desktop) or .cursor/mcp.json (Cursor):

{
  "mcpServers": {
    "lastfm": {
      "url": "https://lastfm-mcp.com/mcp"
    }
  }
}
One line, from the terminal
Claude Code
claude mcp add --transport http lastfm https://lastfm-mcp.com/mcp
VS Code
code --add-mcp '{"name":"lastfm","type":"http","url":"https://lastfm-mcp.com/mcp"}'

Syntax from each client's docs (Claude Code: claude mcp add; Codex: codex mcp add; VS Code: code --add-mcp). Placeholders in angle brackets are values you fill in. Codex takes hosted servers in config.toml ([mcp_servers.<name>] url = …) rather than on the command line.

A starting point — check the repository for exact arguments and setup. Restart your client after editing the config.

Category
Media & Creative
Version
2.8.0
Registry
active
Published
11/14/2026

Live check

checked Nov 19, 2026, 01:07 UTC
● Needs sign-in

The endpoint is up but wants a key or an OAuth sign-in before the handshake, so its tools can only be read with an account.

Checked by Serverdex with a plain initialize + tools/list call to lastfm-mcp.com/mcp, no credentials, about once a day. A failed check is never a removal.

On GitHub

read Nov 15, 2026
Stars
53
Forks
10
Last push
Nov 14, 2026
License
MIT

TypeScriptlastfmmcpmcp-servermusic

From the README

Last.fm MCP Server A Model Context Protocol (MCP) server for Last.fm. Gives AI assistants access to your listening history, music discovery, and detailed track/artist/album information. Runs on Cloudflare Workers. Your MCP client signs you in with OAuth the first time it connects, and after that every tool is available, from track and artist lookups to your own listening history. Quick start lastfm-mcp.com has setup steps for each app, including ChatGPT, Codex, Cursor, Devin Desktop (formerly Windsurf) and OpenCode. If an AI agent is setting it up for you, point it at lastfm-mcp.com/llms.txt. Claude.ai / Claude Desktop 1. Go to Customize -> Connectors 2. Click Add, then Add custom connector. Name it Last.fm, enter https://lastfm-mcp.com/mcp and click Continue 3. Leave the sign-in settings as they are, click Add, then Connect, and sign in to Last.fm Claude Code Then start Claude Code, run /mcp, choose lastfm, then Authenticate, and sign in to Last.fm in your browser. Other MCP clients For clients that don't support remote servers directly (Continue.dev, Zed, etc.), use mcp-remote: MCP Inspector Authentication The server uses OAuth 2.0. The first time your client connects, your browser opens a short page on lastfm-mcp.com that names the app asking for access and the address that access will go to. Approve it, then sign in to Last.fm.…

Read the full README on GitHub →

Remotes

  • streamable-httphttps://lastfm-mcp.com/mcp

Alternatives to Last.fm MCP

Best Media & Creative servers →

The most-starred Media & Creative servers in the index, with their live-check result.

ServerStarsLast pushLive check
HyperFrames by HeyGen86,475Nov 2026Needs sign-in
HyperFrames by HeyGen84,441Nov 2026Needs sign-in
Pascal 3D Editor25,495Nov 2026Needs sign-in
screenpipe22,421Nov 2026Local / not checked
FunASR21,030Nov 2026Local / not checked

Last.fm MCP: questions people ask

Is Last.fm MCP a remote or a local MCP server?
According to its entry in the official MCP registry, Last.fm MCP ships as a hosted endpoint (streamable-http) that your client connects to by URL.
Does Last.fm MCP need an API key or a sign-in?
Yes. Its hosted endpoint answered the credential-free Serverdex live check with HTTP 401/403 on Nov 19, 2026: it expects an API key in a header or an OAuth login before it lists its tools.
Is Last.fm MCP still maintained?
Active: the repository's last commit 5 days ago. Last push Nov 14, 2026, 53 GitHub stars, MIT licence. Read from GitHub on Nov 15, 2026.
How do I add Last.fm MCP to Claude, Cursor or VS Code?
Copy the config in "Connect this server" into your client's MCP config file (claude_desktop_config.json, ~/.cursor/mcp.json or .vscode/mcp.json), or use the one-click Add to Cursor / Add to VS Code buttons and the one-line commands for Claude Code and Codex; then restart the client.
Browse all Media & Creative →

Add the badge to your site

Show visitors that Last.fm MCP is listed here — it’s also the link we check for a free listing.

Last.fm MCP — listed on Serverdex

HTML — for your website

<a href="https://serverdex.io/server/com-lastfm-mcp-lastfm?utm_source=badge"><img src="https://serverdex.io/brand/badge.svg" alt="Last.fm MCP — listed on Serverdex" width="123" height="40" loading="lazy"></a>

Recommended. A dofollow link from your own domain is the one that counts for search engines, and it's the link we check for a free listing.

Markdown — for your README

[![Last.fm MCP — listed on Serverdex](https://serverdex.io/brand/badge.svg)](https://serverdex.io/server/com-lastfm-mcp-lastfm?utm_source=badge)

Nice for visibility, but GitHub marks README links nofollow, so it doesn't pass authority. Use the HTML badge on your site as well.