RL

rianvdm/lastfm-mcp

Developer tools

Эта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал

55 stars 10 forks Качество 80 Тренд 20MIT

rianvdm/lastfm-mcp - кандидат на сервер MCP, импортированный из https://github.com/rianvdm/lastfm-mcp.

Обзор

rianvdm/lastfm-mcp - кандидат на сервер MCP, импортированный из https://github.com/rianvdm/lastfm-mcp.

Обзор (машинный перевод)

Сервер Model Context Protocol (MCP) для Last.fm. Предоставляет помощникам ИИ доступ к вашей истории прослушивания, музыкальным открытиям и подробной информации о треке / артисте / альбоме.

Работает на Cloudflare Workers с аутентификацией OAuth 2.0. Публичные инструменты (информация о треке, информация о художнике, аналогичные художники) работают без входа - подключите свою учетную запись Last.fm для доступа к личным данным прослушивания.

Быстрый старт

Claude.ai / Claude Desktop

1.Открыть Настройки -> ** Подключатели** -> ** Добавить пользовательский коннектор** 2. Введите https://lastfm-mcp.com/mcp 3.Подпишитесь на Last.fm по запросу

###Клауд Код

###Виндсерф

Добавить [[Т1]]:

###Другие клиенты MCP

Для клиентов, которые не поддерживают удаленные серверы напрямую (Continue.dev, Zed и т. д.), используйте mcp-remote:

#####Инспектор

Аутентификация

Сервер использует OAuth 2.0. Когда вы подключаетесь от поддерживаемого клиента, ваш браузер открывается на Last.fm для авторизации доступа. Токены сохраняются во время сеансов.

Публичные инструменты работают без регистрации. Вам нужно только подключить свою учетную запись для личных данных прослушивания.

Доступные инструменты

###Общественные инструменты

| Инструмент | Описание

Эта страница переведена автоматически. Технические детали смотрите в оригинале.

README

Показан фрагмент оригинального 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

claude mcp add --scope user --transport http lastfm "https://lastfm-mcp.com/mcp"

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:

{
	"mcpServers": {
		"lastfm": {
			"command": "npx",
			"args": ["-y", "mcp-remote", "https://lastfm-mcp.com/mcp"]
		}
	}
}

MCP Inspector

npx @modelcontextprotocol/inspector https://lastfm-mcp.com/mcp

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. That browser remembers the approval for a year, so reconnecting the same app skips the page.

Access is read-only: the server can read your listening history and profile, but it can’t scrobble or change anything. Sign-ins expire after 30 days, and your client then asks you to sign in again.

Available tools

Lookups and diagnostics

Tool Description
get_track_info Detailed information about a track
get_artist_info Artist information and bio
get_album_info Album details and track listing
get_artist_top_tracks An artist’s globally most-played tracks
get_artist_top_albums An artist’s globally most-played albums
get_similar_artists Artists similar to a given artist
get_similar_tracks Tracks similar to a given track
ping Test connectivity
Открыть полный README на GitHub

Установка

npx -y mcp-remote https://lastfm-mcp.com/mcp
Новичок в MCP? Начните с руководства на mcpskill.org →

Конфигурация

{ "mcpServers": { "lastfm": { "command": "npx", "args": ["-y", "mcp-remote", "https://lastfm-mcp.com/mcp"] } } }