Spotify-Claude MCP Server
Manages environment variables for storing Spotify API credentials securely.
Used for cloning the repository during installation.
Provides access to the SpotifyMCP repository for installation and setup of the tool.
Used for dependency management and installation of required packages.
Accesses the Spotify API to retrieve artist information and enable music discovery, with potential for expanded capabilities like getting top tracks, genres, creating playlists, and accessing user profile data.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Spotify-Claude MCP Servertell me about the artist Taylor Swift"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Spotify-Claude MCP Server
A tool that connects to the Spotify API and uses Claude as an AI assistant for enhanced music discovery and interaction.
Overview
This project integrates Claude AI with the Spotify API through a Model Control Protocol (MCP) server. It allows users to interact with their Spotify account using natural language queries processed by Claude.
Related MCP server: Spotify MCP Server
Features
Currently the claude can get the Artist information using the SpotifyAPI. This can be extended for other queries, such as getting top tracks, or genres, creating playlists, or getting user profile data
Prerequisites
Spotify Developer Account
Spotify API credentials (Client ID and Client Secret)
Claude Desktop
Installation
Clone the repository:
git clone https://github.com/DivyamAgg24/SpotifyMCP.git
cd SpotifyMCPInstall dependencies:
npm installSet up environment variables: Create a .env file in the root directory with the following variables:
SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret
SPOTIFY_ACCESS_TOKEN=access_token_obtained_from_clientId_and_clientSecretConfiguration
Register your app in the Spotify Developer Dashboard Add http://localhost:8888/callback as a Redirect URI in your Spotify app settings Copy the Client ID and Client Secret to your .env file
Usage
Build the project
tsc -bAdd MCP Server configuration in Claude config file
Prompt Claude about the name of the artist
Tool Functions
The MCP server exposes the following function to Claude:
get_artist(name): Retrieves information about an artist
Example Interactions
User: "What is the artist name?"
Claude: [Uses get_artist function] "The artist name is Pitbull."MCP Server: Handles communication between Claude and the Spotify API Spotify API Client: Manages authentication and API requests to Spotify Claude Integration: Processes natural language and determines which functions to call
Available Tools
1 toolget_artistD
Get Artist name
| Name | Required | Description | Default |
|---|---|---|---|
| method | Yes | Get or post request |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries the full burden of behavioral disclosure. The description 'Get Artist name' doesn't reveal any behavioral traits—it doesn't mention whether this is a read-only operation, what authentication might be required, potential rate limits, error conditions, or what the response format looks like. For a tool with zero annotation coverage, this is completely inadequate.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
While the description is brief with just two words, this represents under-specification rather than effective conciseness. The text doesn't earn its place by providing useful information—it's too sparse to be helpful. A truly concise description would still convey essential purpose and context efficiently, which this fails to do.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool's purpose (retrieving artist information) with no annotations and no output schema, the description is completely inadequate. It doesn't explain what the tool returns, how results are formatted, or any behavioral aspects. For a data retrieval tool, this leaves critical gaps that would hinder an AI agent's ability to use it effectively.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
The description provides no information about parameters, but the input schema has 100% description coverage with a single parameter 'method' documented as 'Get or post request'. Since schema coverage is high, the baseline score is 3. The description doesn't add any value beyond what the schema already provides, but it also doesn't detract from the existing documentation.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description 'Get Artist name' is a tautology that essentially restates the tool name 'get_artist' with minor variation. It doesn't specify what resource is being retrieved (e.g., artist information from a database, API, or service) or provide any meaningful context about the operation. While it includes a verb ('Get'), it lacks specificity about what exactly is being obtained beyond the obvious from the name.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
There are no usage guidelines provided in the description. It doesn't indicate when to use this tool, what prerequisites might be needed, or any alternative approaches. With no sibling tools mentioned, the absence of guidance is still problematic as it leaves the agent without context for proper tool selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
TDQS
With only one tool, there is no possibility of ambiguity or overlap between tools. The single tool 'get_artist' has a clear, distinct purpose that cannot be confused with any other tool in this set.
The naming follows a consistent verb_noun pattern with 'get_artist'. With only one tool, there is no inconsistency to evaluate, and the naming convention is clear and appropriate for the tool's function.
A single tool is too few for a server named 'Spotify-Claude MCP Server', which suggests a broader music or artist domain. This minimal toolset severely limits functionality and does not provide adequate coverage for typical Spotify-related tasks like searching, playing, or managing playlists.
The tool surface is severely incomplete for a Spotify server. It only allows getting an artist name, with no support for other core operations such as searching for tracks, playing music, managing playlists, or accessing album information, making it impractical for most agent workflows.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Connect Claude to your Platform7n workspaces — chat, links, and tasks. One-click OAuth.
Connect Claude to Fathom meeting recordings, transcripts, and summaries
Run UX research from Claude — create card sort studies, list studies, pull headline stats.
Ask Claude about Phish shows: setlists, song gaps, jams, venues. Live from Phish.net.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceConnects Claude with Spotify to control playback, search music, get track information, and manage the queue through conversation.1
- FlicenseAqualityDmaintenanceConnects Claude with Spotify, allowing users to control playback, search for music, get track/artist information, and manage the queue via the Spotify API.51
- FlicenseDqualityDmaintenanceEnables Claude to interact with Spotify by searching songs, creating playlists, getting recommendations, and managing your music through your Spotify account.73
- AlicenseNot gradedqualityNot gradedmaintenanceConnects Claude to Spotify for music discovery, playlist creation, and collection analysis through natural language. Enables searching songs, analyzing music diversity, creating playlists, and getting recommendations using Spotify's API.
Appeared in Searches
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/DivyamAgg24/SpotifyMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server