
rianvdm/lastfm-mcp
Developer toolsこのページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る
rianvdm/lastfm-mcp は [https://github.com/rianvdm/lastfm-mcp.] からインポートされた MCP サーバーの候補です
概要
rianvdm/lastfm-mcp は [https://github.com/rianvdm/lastfm-mcp.] からインポートされた MCP サーバーの候補です
概要(AI 翻訳)
Last.fm 用のモデルコンテキストプロトコル (MCP) サーバー。 リスニング履歴、音楽の発見、詳細なトラック/アーティスト/アルバム情報にアクセスできるAIアシスタントを提供します。
OAuth 2.0 認証で Cloudflare ワーカーを実行します。 パブリックツール(トラック情報、アーティスト情報、類似のアーティスト)は、サインインせずに動作します。Last.fmアカウントを接続して、個人データのリスニングデータにアクセスします。
クイックスタート
- オープン 設定 → コネクタ -> カスタムコネクタを追加
- [
https://lastfm-mcp.com/mcpを入力 - プロンプト時にLast.fmにサインイン
##Claudeコード
##ウィンドサーフィン
[~/.codeium/windsurf/mcp_config.jsonに追加します。
###その他のMCPクライアント
リモートサーバを直接(Continue.dev, Zedなど)サポートしていないクライアントは、[mcp-remote を使用します。
##MCPインスペクタ
##認証
サーバは OAuth 2.0 を使用します。 サポートされているクライアントから接続する場合、ブラウザはLast.fmに開き、アクセスを承認します。 セッション中にトークンが持続します。
公共ツールはサインインせずに動作します。 個人的なリスニングデータをアカウントに接続するだけです。
利用可能なツール
###公開ツール
| ツール | 概要 | | ----------------------------------------------------------- |
このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。
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
Claude.ai / Claude Desktop
- Open Settings -> Connectors -> Add Custom Connector
- Enter
https://lastfm-mcp.com/mcp - Sign in to Last.fm when prompted
Claude Code
claude mcp add --transport http lastfm "https://lastfm-mcp.com/mcp"
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"lastfm": {
"serverUrl": "https://lastfm-mcp.com/mcp"
}
}
}
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 |
server_info |
Server status and capabilities |
lastfm_auth_status |
Check authentication status |
Your listening data
| Tool | Description |
|---|---|
get_recent_tracks |
Recent listening history (paginated) |
get_top_artists |
Top artists by time period |
インストール
npx -y mcp-remote https://lastfm-mcp.com/mcp設定
{
"mcpServers": {
"lastfm": {
"serverUrl": "https://lastfm-mcp.com/mcp"
}
}
}