Emotion Playlist MCP

by dldnlee

124 downloads
Not rated
GitHub

About

An MCP Server that makes spotify playlists based on your emotions

Details

Author
dldnlee
Downloads
124
Categories
Other

- 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.

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Emotion Playlist MCP
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Clone the repository, set up a Python virtual environment, configure Spotify and Brave API keys in a .env file, generate Spotify auth tokens with python3 orchestrator/tools/spotify_auth.py, then install the MCP server by running mcp install main.py --name EmotionPlaylistMCP.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "emotion playlist mcp": {
            "emotion_playlist_mcp": {
                "command": "uv",
                "args": [
                    "init"
                ]
            }
        }
    }
}

McpServers

{
    "emotion_playlist_mcp": {
        "command": "uv",
        "args": [
            "init"
        ]
    }
}

Emotion 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

No reviews yet β€” be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.