MCP Playlist Generator
Generates .m3u playlists on the user's PC based on their current mood or theme, using metadata from local music files.
README
🎧 MCP Playlist Generator
This project is a Model Context Provider (MCP) server designed to work with Claude or any AI assistant that supports tool usage. It generates .m3u playlists on the user's PC based on their current mood or theme. The playlist gets saved to a user-specified directory, ready to be queued up in your favorite media player.
Built with Python, powered by
uvandmutagen, and inspired by the legendary Filesystem MCP Server — major shoutout for the idea and foundational reference!
🛠 How It Works
- User sets up the MCP server using Python and
uv. - Server listens for requests from Claude or any LLM agent.
- Based on the request (e.g., "make a chill evening playlist"), it:
- Scans local music files.
- Uses
mutagento read metadata (genre, title, artist, etc.). - Filters songs matching the vibe.
- Creates an
.m3uplaylist. - Saves it at the desired location on the user's machine.
🔧 Tech Stack
📦 Installation
pip install uv mutagen
Clone this repo and run:
uvicorn mcp_server:app --reload
🧠 Example Claude Prompt
"Hey Claude, can you make me a happy vibe playlist."
Claude will then use the MCP server tool and boom — you get a playlist in your music app.
[!important] Make sure you
re-indexthe Music app after creating the playlist.
🙏 Special Thanks
Massive thanks to the Filesystem MCP Server — this project was built with your idea as the spark.
💬 Got Feedback?
Open an issue or hit me up. PRs are welcome, mood-based jams even more so 🎶
Need:
- What's the default directory fallback if user doesn't pick a location?
- Are you supporting MP3 only, or other formats too?
- Should I include API route structure for devs?
Lemme know and I’ll update it.
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.