
Spotify-Claude MCP Server
A tool that connects to the Spotify API and enables Claude to access artist information for enhanced music discovery through natural language queries.
README
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.
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 SpotifyMCP
- Install dependencies:
npm install
- Set 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_clientSecret
Configuration
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 -b
-
Add 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.