About Emotion Playlist MCP
Emotion Playlist MCP turns a natural-language mood description into a Spotify playlist, for people who want music matched to how they feel. It refines the emotion into a search query, finds song ideas with Brave Search, and uses Spotify to create the playlist.
Key features
- 01Accepts mood descriptions in natural language
- 02Refines moods into search phrases
- 03Finds song ideas with Brave Search
- 04Creates and fills Spotify playlists
Use cases
- 01Building a playlist for a current mood
- 02Turning an emotional description into music
MCP support
As an MCP server, it uses Brave Search MCP Server to find song ideas and Spotify MCP Server to create and populate playlists.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEEmotion Playlist MCP
🎯 Project Overview
Emotion Playlist MCP is an MCP-based tool that generates Spotify playlists based on the user's emotional state. It uses the Brave Search MCP Server to find songs related to a refined emotional query, and integrates with the Spotify MCP Server to create and populate playlists.
🛠 Features
- Accepts natural language input about your mood.
- Refines the emotion into a detailed search phrase.
- Searches Brave for song ideas based on the refined emotion.
- Creates Spotify playlists automatically using those ideas.
🚀 Getting Started
1. Clone the Repo
git clone https://github.com/yourusername/emotion_playlist_mcp.git
cd emotion_playlist_mcp
2. Setup Environment
Using uv:
uv init
Or manually:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
3. Configure Environment Variables
Create a .env file in the project root:
SPOTIFY_CLIENT_ID=your_spotify_client_id
SPOTIFY_CLIENT_SECRET=your_spotify_client_secret
SPOTIFY_REDIRECT_URI=http://127.0.0.1:8888/callback # Should be identical to Spotify Developer App's redirect URI
BRAVE_API_KEY=your_brave_api_key
Spotify Tokens can be found in Spotify Developer
Required:
- Spotify Premium Account
🖥 Generating Auth Tokens for Spotify
python3 orchestrator/tools/spotify_auth.py
🖥 Installing the MCP Server
mcp install main.py --name EmotionPlaylistMCP
🤝 Contributing
Feel free to fork, modify, and submit pull requests. Let's make mood-based music smarter together!
📄 License
MIT License
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.