Music Collection MCP Server
About
An MCP server for intelligent access to your local music collection, featuring metadata management, band discovery, and advanced querying.
Details
- Author
- gorums
- Categories
- File Management, Other, Media, Database
Jump to
Configuration File Locations for Claude desktop
- Windows:%APPDATA%\Claude\claude_desktop_config.json
- macOS:~/Library/Application Support/Claude/claude_desktop_config.json
- Linux:~/.config/Claude/claude_desktop_config.json
{ "mcpServers": { "music-collection": { "command": "python", "args": ["/path/to/music-mcp-server/main.py"], "env": { "MUSIC_ROOT_PATH": "/path/to/your/music", "CACHE_DURATION_DAYS": "30", "LOG_LEVEL": "INFO" } } } }
{ "mcpServers": { "music-collection": { "command": "docker", "args": [ "run", "--rm", "--interactive", "-v", "/path/to/your/music:/music", "-e", "MUSIC_ROOT_PATH=/music", "-e", "CACHE_DURATION_DAYS=30", "music-mcp" ] } } }
The server supports multiple organization patterns:
Band Name/ ├── Album/ │ ├── 1973 - Dark Side of the Moon/ │ └── 1979 - The Wall (Deluxe)/ ├── Live/ │ └── 1988 - Delicate Sound of Thunder/ ├── Compilation/ │ └── 2001 - Echoes - Best Of/ └── .band_metadata.json (auto-generated)
Band Name/ ├── 1973 - Dark Side of the Moon/ ├── 1988 - Delicate Sound of Thunder (Live)/ └── 2001 - Echoes - Best Of (Compilation)/
- Music Discovery:scan_music_folders- Smart scanning with type detection
- Collection Management:get_band_list- Advanced filtering and search
- Metadata Storage:save_band_metadata,save_band_analyze,save_collection_insight
- Validation:validate_band_metadata- Dry-run validation
- Advanced Search:advanced_search_albums- 13-parameter filtering system
- Analytics:analyze_collection_insights- Comprehensive collection analysis
- Structure Migration:migrate_band_structure- Safe folder organization migration
- Band Info:band://info/{band_name}- Detailed band information
- Collection Summary:collection://summary- Overview and statistics
- Advanced Analytics:collection://analytics- Deep collection analysis
- Information Gathering:fetch_band_info,analyze_band
- Analysis:compare_bands,collection_insights
Configure via environment variables or the automated setup:
MUSIC_ROOT_PATH="/path/to/your/music" # Required: Your music directory CACHE_DURATION_DAYS=30 # Optional: Cache expiration (default: 30) LOG_LEVEL=INFO # Optional: Logging level (default: INFO)
- Quick Start Guide- Get running in minutes
- Installation Guide- Detailed setup instructions
- Configuration Guide- Advanced configuration options
- Usage Examples- Real-world examples
- Collection Organization- Best practices
- Album Handling- Understanding album types
- FAQ- Common questions
- Troubleshooting- Problem solving
- Rating System- Understanding ratings and analysis
Thescripts/directory provides powerful maintenance tools:
- Setup:setup.py- Automated installation and configuration
- Docker:start-docker.sh- Container management with options
- Validation:validate-music-structure.py- Collection health checking
- Backup:backup-recovery.py- Complete backup and recovery system
- Monitoring:health-check.py- Comprehensive health monitoring
# Using Docker (recommended) docker build -f Dockerfile.test -t music-mcp-tests . docker run --rm music-mcp-tests python -m pytest . -v # Using Python python -m pytest tests/ -v
- Migration Tools: Safe folder structure migration with backup and rollback
- Advanced Analytics: Collection maturity assessment and health scoring
- Performance: 20-30% faster scanning with optimized file operations
- Separated Schema: Local vs missing albums for better management
- Automated Setup: One-command installation and configuration
- Album Types: Intelligent 8-type classification system
- Flexible Structure: Support for multiple organization patterns
- Check theFAQfor common questions
- Run health check:python scripts/health-check.py /path/to/music
- Validate structure:python scripts/validate-music-structure.py /path/to/music
- ReviewTroubleshootingguide
- Setup Scripts: Complete automation inscripts/directory
- Claude Desktop Configs: Ready-to-use examples inscripts/claude-desktop-configs/
- Developer Docs: Architecture and API reference indocs/developer/
Transform your music collection into an intelligent, searchable library with AI-powered insights!🎶
- Python 3.8+
- Docker (for containerized deployment)
Copyright (c) 2025 Music Collection MCP Server
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Access and manage local music collections with advanced metadata, classification, and analytics.
An MCP server for controlling local audio file playback.
Create AI music videos and audio-reactive visuals from songs through MCP.
Create and publish unlimited podcast shows and episodes with ELEMENT.FM
Allows users to generate music videos using Freebeat through MCP
The first artist-owned MCP server for AI Agent use. Discover, narrate, and stream Matthew Hartley's debut album The Time Is Now: A Journey in Chapters from any AI client. Powered by Harmonic Wave.
Turn any language model into a multimodal powerhouse that can generate images, music, videos and more on the fly. Rostro's tools are designed to be used by language models from the ground up, expanding capabilities with minimal context bloat.
MCP-native AI media generation with x402 pay-per-call. Image, video, audio, and music from 6 providers — composable via resource IDs. USDC on Base.
Deterministic music-theory engine for AI agents to analyze, resolve, voice, and reharm chords.
An MCP server for intelligent access to your local music collection, featuring metadata management, band discovery, and advanced querying.
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.
- 🎵 Smart Music Discovery: Intelligent scanning with 8-type album classification (Album, EP, Live, Demo, Compilation, Single, Instrumental, Split)
- 📊 Advanced Analytics: Collection maturity assessment, health scoring, and personalized recommendations
- 🏗️ Flexible Organization: Support for multiple folder structures with automated migration and compliance scoring
- ⚡ High Performance: Optimized scanning (20-30% faster), batch operations, and intelligent caching
- 🤖 AI Integration: Works seamlessly with Claude Desktop and other MCP clients
- 🔄 Automated Setup: One-command installation with configuration generation
- Check system requirements
- Install dependencies
- Configure your music collection path
- Generate Claude Desktop configuration
- Validate your setup
# Install dependencies pip install -r requirements.txt # Set your music path export MUSIC_ROOT_PATH="/path/to/your/music" # Run the server python main.py
# Build and run docker build -t music-mcp . docker run -v "/path/to/your/music:/music" -e MUSIC_ROOT_PATH=/music music-mcp
Configuration File Locations for Claude desktop
- Windows:%APPDATA%\Claude\claude_desktop_config.json
- macOS:~/Library/Application Support/Claude/claude_desktop_config.json
- Linux:~/.config/Claude/claude_desktop_config.json
{ "mcpServers": { "music-collection": { "command": "python", "args": ["/path/to/music-mcp-server/main.py"], "env": { "MUSIC_ROOT_PATH": "/path/to/your/music", "CACHE_DURATION_DAYS": "30", "LOG_LEVEL": "INFO" } } } }
{ "mcpServers": { "music-collection": { "command": "docker", "args": [ "run", "--rm", "--interactive", "-v", "/path/to/your/music:/music", "-e", "MUSIC_ROOT_PATH=/music", "-e", "CACHE_DURATION_DAYS=30", "music-mcp" ] } } }
The server supports multiple organization patterns:
Band Name/ ├── Album/ │ ├── 1973 - Dark Side of the Moon/ │ └── 1979 - The Wall (Deluxe)/ ├── Live/ │ └── 1988 - Delicate Sound of Thunder/ ├── Compilation/ │ └── 2001 - Echoes - Best Of/ └── .band_metadata.json (auto-generated)
Band Name/ ├── 1973 - Dark Side of the Moon/ ├── 1988 - Delicate Sound of Thunder (Live)/ └── 2001 - Echoes - Best Of (Compilation)/
- Music Discovery:scan_music_folders- Smart scanning with type detection
- Collection Management:get_band_list- Advanced filtering and search
- Metadata Storage:save_band_metadata,save_band_analyze,save_collection_insight
- Validation:validate_band_metadata- Dry-run validation
- Advanced Search:advanced_search_albums- 13-parameter filtering system
- Analytics:analyze_collection_insights- Comprehensive collection analysis
- Structure Migration:migrate_band_structure- Safe folder organization migration
- Band Info:band://info/{band_name}- Detailed band information
- Collection Summary:collection://summary- Overview and statistics
- Advanced Analytics:collection://analytics- Deep collection analysis
- Information Gathering:fetch_band_info,analyze_band
- Analysis:compare_bands,collection_insights
Configure via environment variables or the automated setup:
MUSIC_ROOT_PATH="/path/to/your/music" # Required: Your music directory CACHE_DURATION_DAYS=30 # Optional: Cache expiration (default: 30) LOG_LEVEL=INFO # Optional: Logging level (default: INFO)
- Quick Start Guide- Get running in minutes
- Installation Guide- Detailed setup instructions
- Configuration Guide- Advanced configuration options
- Usage Examples- Real-world examples
- Collection Organization- Best practices
- Album Handling- Understanding album types
- FAQ- Common questions
- Troubleshooting- Problem solving
- Rating System- Understanding ratings and analysis
Thescripts/directory provides powerful maintenance tools:
- Setup:setup.py- Automated installation and configuration
- Docker:start-docker.sh- Container management with options
- Validation:validate-music-structure.py- Collection health checking
- Backup:backup-recovery.py- Complete backup and recovery system
- Monitoring:health-check.py- Comprehensive health monitoring
# Using Docker (recommended) docker build -f Dockerfile.test -t music-mcp-tests . docker run --rm music-mcp-tests python -m pytest . -v # Using Python python -m pytest tests/ -v
- Migration Tools: Safe folder structure migration with backup and rollback
- Advanced Analytics: Collection maturity assessment and health scoring
- Performance: 20-30% faster scanning with optimized file operations
- Separated Schema: Local vs missing albums for better management
- Automated Setup: One-command installation and configuration
- Album Types: Intelligent 8-type classification system
- Flexible Structure: Support for multiple organization patterns
- Check theFAQfor common questions
- Run health check:python scripts/health-check.py /path/to/music
- Validate structure:python scripts/validate-music-structure.py /path/to/music
- ReviewTroubleshootingguide
- Setup Scripts: Complete automation inscripts/directory
- Claude Desktop Configs: Ready-to-use examples inscripts/claude-desktop-configs/
- Developer Docs: Architecture and API reference indocs/developer/
Transform your music collection into an intelligent, searchable library with AI-powered insights!🎶
- Python 3.8+
- Docker (for containerized deployment)
Copyright (c) 2025 Music Collection MCP Server
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Access and manage local music collections with advanced metadata, classification, and analytics.
An MCP server for controlling local audio file playback.
Create AI music videos and audio-reactive visuals from songs through MCP.
Create and publish unlimited podcast shows and episodes with ELEMENT.FM
Allows users to generate music videos using Freebeat through MCP
The first artist-owned MCP server for AI Agent use. Discover, narrate, and stream Matthew Hartley's debut album The Time Is Now: A Journey in Chapters from any AI client. Powered by Harmonic Wave.
Turn any language model into a multimodal powerhouse that can generate images, music, videos and more on the fly. Rostro's tools are designed to be used by language models from the ground up, expanding capabilities with minimal context bloat.
MCP-native AI media generation with x402 pay-per-call. Image, video, audio, and music from 6 providers — composable via resource IDs. USDC on Base.
Deterministic music-theory engine for AI agents to analyze, resolve, voice, and reharm chords.
Sign in to leave a review
Use Google, GitHub, or an email account so ratings stay tied to real people.
No reviews posted yet.




