Music Collection MCP Server
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.
β¨ Key Features
π΅ 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
π Quick Start
Option 1: Automated Setup (Recommended)
This guided setup will:
Check system requirements
Install dependencies
Configure your music collection path
Generate Claude Desktop configuration
Validate your setup
Option 2: Manual Installation
Using Python
Using Docker
π€ MCP Client Setup
Configuration File Locations for Claude desktop
Windows:
%APPDATA%\Claude\claude_desktop_config.jsonmacOS:
~/Library/Application Support/Claude/claude_desktop_config.jsonLinux:
~/.config/Claude/claude_desktop_config.json
Python Installation
Docker Installation
π Music Organization
The server supports multiple organization patterns:
Enhanced Structure (Recommended)
Simple Structure (Also Supported)
π οΈ MCP Capabilities
Tools (10 total)
Music Discovery:
scan_music_folders- Smart scanning with type detectionCollection Management:
get_band_list- Advanced filtering and searchMetadata Storage:
save_band_metadata,save_band_analyze,save_collection_insightValidation:
validate_band_metadata- Dry-run validationAdvanced Search:
advanced_search_albums- 13-parameter filtering systemAnalytics:
analyze_collection_insights- Comprehensive collection analysisStructure Migration:
migrate_band_structure- Safe folder organization migration
Resources (3 total)
Band Info:
band://info/{band_name}- Detailed band informationCollection Summary:
collection://summary- Overview and statisticsAdvanced Analytics:
collection://analytics- Deep collection analysis
Prompts (4 total)
Information Gathering:
fetch_band_info,analyze_bandAnalysis:
compare_bands,collection_insights
βοΈ Configuration
Configure via environment variables or the automated setup:
π Documentation
Get Started Quickly
Quick Start Guide - Get running in minutes
Installation Guide - Detailed setup instructions
Configuration Guide - Advanced configuration options
Learn More
Usage Examples - Real-world examples
Collection Organization - Best practices
Album Handling - Understanding album types
Get Help
FAQ - Common questions
Troubleshooting - Problem solving
Rating System - Understanding ratings and analysis
π§ Maintenance & Scripts
The scripts/ directory provides powerful maintenance tools:
Setup:
setup.py- Automated installation and configurationDocker:
start-docker.sh- Container management with optionsValidation:
validate-music-structure.py- Collection health checkingBackup:
backup-recovery.py- Complete backup and recovery systemMonitoring:
health-check.py- Comprehensive health monitoring
π§ͺ Testing
π What's New
Recent Improvements
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
π Need Help?
Check the for common questions
Run health check:
python scripts/health-check.py /path/to/musicValidate structure:
python scripts/validate-music-structure.py /path/to/musicReview guide
π Links
Setup Scripts: Complete automation in
scripts/directoryClaude Desktop Configs: Ready-to-use examples in
scripts/claude-desktop-configs/Developer Docs: Architecture and API reference in
docs/developer/
Transform your music collection into an intelligent, searchable library with AI-powered insights! πΆ
Requirements
Python 3.8+
Docker (for containerized deployment)
License
MIT License
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.