music
A powerful Model Context Protocol (MCP) server that provides intelligent access to your local music collection through advanced metadata management, album type classification, and comprehensive analytics.
claude mcp add --transport stdio gorums-music-mcp-server python main.py \ --env LOG_LEVEL="INFO" \ --env MUSIC_ROOT_PATH="/path/to/your/music" \ --env CACHE_DURATION_DAYS="30"
How to use
This Music Collection MCP Server provides an AI-assisted interface for managing and analyzing a local music library. It offers intelligent music discovery with an 8-type album classification system (Album, EP, Live, Demo, Compilation, Single, Instrumental, Split), advanced analytics for collection health and recommendations, and flexible folder organization with safe migration tooling. The server exposes a set of MCP tools for discovering music, managing metadata, validating data integrity, performing complex searches, and generating insights. Use the scan_music_folders tool to detect and classify albums, get_band_list to filter and locate bands, and save_band_metadata/save_band_analyze to persist rich metadata and analyses. Advanced search and analytics endpoints enable multi-parameter filtering and comprehensive collection insights, while structure migration helps you reorganize folders without data loss.
How to install
Prerequisites:
- Python 3.8+
- Access to the local music directory you want to catalog
- Optional: Docker (for containerized deployment)
- Clone the repository or download the MCP server package to a local directory.
- Install Python dependencies:
- python -m venv venv
- source venv/bin/activate (Linux/macOS) or venv\Scripts\activate (Windows)
- pip install -r requirements.txt
- Prepare your environment:
- Create or choose a music root path to catalog, e.g. /path/to/your/music
- Create a configuration file if needed and note environment variables
- Run the server:
- Python: python main.py
- Docker (optional): docker build -t music-mcp . docker run -v "/path/to/your/music:/music" -e MUSIC_ROOT_PATH=/music music-mcp
- Verify startup in logs and connect MCP clients (e.g., Claude Desktop) using the generated configuration.
If you prefer automated setup, see the repository's automated setup script (scripts/setup.py) for guided installation and initial configuration.
Additional notes
Tips and common notes:
- Ensure MUSIC_ROOT_PATH points to your actual music directory and that the MCP server has read access.
- Adjust CACHE_DURATION_DAYS to balance freshness and performance according to your collection size.
- Set LOG_LEVEL to DEBUG during troubleshooting, then switch back to INFO or WARN for normal use.
- For Docker deployments, mount your music directory and pass environment variables to reflect your paths.
- If you migrate folder structures, use migrate_band_structure and back up data beforehand.
- The server is designed to work with Claude Desktop and other MCP clients; follow the Claude Desktop config examples in scripts/claude-desktop-configs/ to integrate.
- Regularly run health checks and validation scripts to keep metadata consistent (python scripts/health-check.py /path/to/music, python scripts/validate-music-structure.py /path/to/music).
Related MCP Servers
PPTAgent
An Agentic Framework for Reflective PowerPoint Generation
mcp-tool-kit
Agentic abstraction layer for building high precision vertical AI agents written in python for Model Context Protocol.
mcp-playground
A Streamlit-based chat app for LLMs with plug-and-play tool support via Model Context Protocol (MCP), powered by LangChain, LangGraph, and Docker.
okta
The Okta MCP Server is a groundbreaking tool built by the team at Fctr that enables AI models to interact directly with your Okta environment using the Model Context Protocol (MCP). Built specifically for IAM engineers, security teams, and Okta administrators, it implements the MCP specification to help work with Okta enitities
knowledgebase
BioContextAI Knowledgebase MCP server for biomedical agentic AI
applescript
MCP server that execute applescript giving you full control of your Mac