SM

superseoworld/mcp-spotify

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

23 stars 15 forks 品質 68 トレンド 0MIT

Spotify Web APIへのアクセスを提供する強力なモデルコンテキストプロトコル(MCP)サーバー。 ArtistLensは、Spotifyの音楽カタログとのシームレスなやり取りを可能にしています.

概要

Spotify Web APIへのアクセスを提供する強力なモデルコンテキストプロトコル(MCP)サーバー。 ArtistLensは、Spotifyの音楽カタログとシームレスなインタラクションを可能にし、トラック、アルバム、アーティストを検索したり、トップトラックや関連アーティストなどのアーティスト固有の情報にアクセスしたりできます。 ArtistLens for ClaudeデスクトップをSmisery経由で自動的にインストールするには: MCP設定ファイル(例、claude desktop config.json、cline mcp settings.json)に追加します。 Spotify APIの資格情報を提供する必要があります。 1. 開発者ダッシュボードのSpotifyに移動 2. 新規アプリケーションを作成 3。 クライアントIDとクライアントシークレット 4を入手してください.

概要(AI 翻訳)

Spotify Web APIへのアクセスを提供する強力なモデルコンテキストプロトコル(MCP)サーバー。 ArtistLensは、Spotifyの音楽カタログとシームレスなインタラクションを可能にし、トラック、アルバム、アーティストを検索したり、トップトラックや関連アーティストなどのアーティスト固有の情報にアクセスしたりできます。

流れ版: 0.4.12

インストール

##Smitheryでインストールする

ArtistLens for ClaudeデスクトップをSmisery経由で自動的にインストールするには:

手動インストール

パッケージをグローバルにインストールできます。

npx で直接実行するか:

設定

MCP設定ファイル(例、claude_desktop_config.json]、または[cline_mcp_settings.json])に追加します。

Spotify APIの認証情報を提供する必要があります。 1。 Spotify開発者ダッシュボードに行く 2. 新しいアプリケーションを作成する 3. クライアント ID とクライアントシークレットの取得 4. 上記に示すように設定に追加する

##特徴

  • トラック、アルバム、アーティスト、プレイリストの検索
  • トップトラックや関連アーティストを含むアーティスト情報を取得する
  • アルバム情報とトラックを入手
  • 新しいリリースと推奨事項へのアクセス
  • 市場固有のコンテンツとチャプターでオーディオブック情報を入手

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

ArtistLens

A powerful Model Context Protocol (MCP) server that provides access to the Spotify Web API. ArtistLens enables seamless interaction with Spotify’s music catalog, including searching for tracks, albums, and artists, as well as accessing artist-specific information like top tracks and related artists.

Current Version: 0.4.12

Installation

Installing via Smithery

To install ArtistLens for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @superseoworld/artistlens --client claude

Manual Installation

You can install the package globally:

npm install -g @thomaswawra/artistlens

Or run it directly with npx:

npx -y @thomaswawra/artistlens

Configuration

Add to your MCP settings file (e.g., claude_desktop_config.json or cline_mcp_settings.json):

{
  "mcpServers": {
    "spotify": {
      "command": "npx",
      "args": ["-y", "@thomaswawra/artistlens"],
      "env": {
        "SPOTIFY_CLIENT_ID": "your_client_id",
        "SPOTIFY_CLIENT_SECRET": "your_client_secret"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

You’ll need to provide your Spotify API credentials:

  1. Go to Spotify Developer Dashboard
  2. Create a new application
  3. Get your Client ID and Client Secret
  4. Add them to the configuration as shown above

Features

  • Search for tracks, albums, artists, and playlists
  • Get artist information including top tracks and related artists
  • Get album information and tracks
  • Access new releases and recommendations
  • Get audiobook information with market-specific content and chapters
  • Note: Audiobook endpoints may require additional authentication or market-specific access
  • Get and modify playlist information (name, description, public/private status)
  • Access playlist tracks and items with pagination support
  • Support for both Spotify IDs and URIs
  • Automatic token management with client credentials flow
  • Comprehensive test suite for all functionality
  • Well-organized code with separation of concerns

Available Tools

  • get_access_token: Get a valid Spotify access token
  • search: Search for tracks, albums, artists, or playlists
  • get_artist: Get artist information
  • get_artist_top_tracks: Get an artist’s top tracks
  • get_artist_related_artists: Get artists similar to a given artist
  • get_artist_albums: Get an artist’s albums
  • get_album: Get album information
GitHub で README 全文を見る

インストール

npx -y @thomaswawra/artistlens
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "spotify": { "command": "npx", "args": ["-y", "@thomaswawra/artistlens"], "env": { "SPOTIFY_CLIENT_ID": "your_client_id", "SPOTIFY_CLIENT_SECRET": "your_client_secret" }, "disabled": false, "autoApprove": [] } } }