Skip to main content
Glama

Navidrome-MCP

by Blakeem
AGPL 3.0
12

Transform your Navidrome music server with an AI-powered music assistant. This MCP (Model Context Protocol) server enables Claude, ChatGPT, and other AI assistants to interact with your personal music library through natural language, offering intelligent playlist creation, music discovery, and library management.

Table of Contents

Why Navidrome MCP?

Imagine having an AI assistant that truly understands your music taste. This MCP server enables AI assistants to:

  • Analyze your listening patterns and create perfectly curated playlists
  • Discover hidden gems in your library based on your mood or activity
  • Build custom radio stations from your favorite tracks
  • Find music similar to what you love using Last.fm's recommendation engine
  • Discover internet radio stations from around the world with advanced filtering
  • Get synchronized lyrics with millisecond-precision timestamps for your favorite tracks
  • Manage your library with simple conversational commands

This isn't just another music tool – it's your personal music curator powered by AI.

Features

🎵 Music Library Management

  • Intelligent Browsing: Navigate songs, albums, artists, and genres with smart filtering
  • Deep Search: Full-text search across all metadata or targeted searches for specific content
  • Rich Metadata: Access detailed information about tracks, albums, and artists
  • Tag Analysis: Explore and analyze metadata tags (genre, composer, label, year, and more)
  • Clean Responses: Optimized data transfer with only essential fields (~10 properties vs 50+ raw)

🎶 Intelligent Playlist Creation

  • AI Assistant Integration: Enables AI assistants to analyze your taste and build themed playlists
  • Smart Management: Create, update, and organize playlists conversationally
  • Flexible Track Addition: Add songs by ID, entire albums, artist discographies, or specific discs
  • Dynamic Reordering: Rearrange tracks with simple commands
  • Cross-Reference: Find which playlists contain specific songs

🎼 Personalized Music Discovery

  • Listening Data Access: Provides listening history data for AI assistants to understand your preferences
  • Similar Artist/Track Finding: Discover music similar to your favorites via Last.fm
  • Artist Deep Dives: Get biographies, popular tracks, and related artists
  • Global Trends: Browse worldwide music charts and trending genres
  • Library Analysis Tools: Access data to help AI assistants find overlooked tracks in your library

📻 Smart Radio Management

  • Stream Validation: Test radio URLs before adding to avoid broken streams
  • Format Detection: Automatic detection of MP3, AAC, OGG, FLAC streams
  • Metadata Extraction: Pull station info from SHOUTcast/Icecast headers
  • Custom Station Creation: Build radio stations from your collection
  • One-Time Setup Tips: Smart contextual help that appears only when needed

🌍 Internet Radio Discovery

  • Global Station Database: Access thousands of internet radio stations worldwide via Radio Browser
  • Advanced Filtering: Search by genre, country, language, codec, bitrate, and more
  • Automatic Validation: Discovered stations are tested for availability
  • Quality Control: Filter out broken stations and focus on high-quality streams
  • Popularity Metrics: Discover stations by vote count and listener engagement
  • Station Management: Tools for AI assistants to add discovered stations to your collection

🎤 Synchronized Lyrics

  • Time-Synchronized Lyrics: Get lyrics with millisecond-precision timestamps for line-by-line timing
  • Dual Format Support: Access both time-synced and plain text lyrics
  • Community-Powered: Lyrics sourced from LRCLIB's community database
  • Smart Matching: Automatic matching by title, artist, album, and duration
  • No API Keys Required: Free lyrics access without registration

📊 Analytics & Insights

  • Listening Patterns: Understand your music habits with play statistics
  • Taste Evolution: Track how your preferences change over time
  • Most/Least Played: Discover your true favorites and forgotten tracks
  • Genre Distribution: Access data about your library's composition for analysis
  • Recommendation Data: Provides data for AI assistants to generate suggestions based on your history

⭐ Preference Management

  • Star System: Mark favorites for quick access
  • 5-Star Ratings: Rate content for better recommendations
  • Queue Control: Manage playback queues across devices
  • Data Access for Organization: Provides preference data for AI assistants to help organize your collection

Installation

Prerequisites

  • Node.js 20+ (Download here)
  • pnpm package manager (Install instructions)
  • Running Navidrome server with your music library
  • Claude Desktop or ChatGPT Desktop (or any MCP-compatible client)

Quick Setup

1. Clone and Build
git clone https://github.com/Blakeem/Navidrome-MCP.git cd navidrome-mcp pnpm install pnpm build

Configure Claude Desktop

Find your configuration file:

  • Windows: %APPDATA%/Claude/claude_desktop_config.json
  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
  • Linux: ~/.config/Claude/claude_desktop_config.json

Add the Navidrome MCP server:

{ "mcpServers": { "navidrome": { "command": "node", "args": ["/absolute/path/to/navidrome-mcp/dist/index.js"], "env": { "NAVIDROME_URL": "http://your-server:4533", "NAVIDROME_USERNAME": "your_username", "NAVIDROME_PASSWORD": "your_password", "LASTFM_API_KEY": "your_api_key", "RADIO_BROWSER_USER_AGENT": "Navidrome-MCP/1.0 (+https://github.com/Blakeem/Navidrome-MCP)", "LYRICS_PROVIDER": "lrclib", "LRCLIB_USER_AGENT": "Navidrome-MCP/1.0 (+https://github.com/Blakeem/Navidrome-MCP)" } } } }

Important:

  • Use absolute paths (full path from root)
  • Get a free Last.fm API key at Last.fm (optional - enables music discovery)
  • Radio Browser integration requires a User-Agent string (enables station discovery)
  • Lyrics integration works without API keys (LRCLIB is free)
  • Features are automatically enabled/disabled based on available configuration
  • Restart Claude Desktop after saving

Configure ChatGPT Desktop

  1. Open ChatGPT Desktop
  2. Go to Settings → Connectors
  3. Click Create and add:
    • Command: node
    • Args: /absolute/path/to/navidrome-mcp/dist/index.js
    • Environment variables: Same as above
  4. Save and restart

Powerful Usage Examples

🎯 Smart Discovery & Playlist Creation

  • "Look at my most played artists, find what albums I'm missing from their discographies, and tell me which ones are most popular"
  • "Create a 'Best of Pink Floyd' playlist using Last.fm's top tracks data, but only with songs I actually own"
  • "Analyze my recently played songs, find similar tracks in my library I haven't played in 6 months, and create a rediscovery playlist"
  • "Build me a playlist mixing my top 10 most played songs with similar tracks from artists I own but rarely listen to"

🔍 Collection Gap Analysis

  • "Show me which albums are missing from my top 5 most played artists and rank them by Last.fm popularity"
  • "Find artists where I only own singles or compilations, not their main albums"
  • "Identify my favorite genres, then show me highly-rated albums in those genres that I don't own"
  • "Look at artists similar to my favorites and tell me which ones I already have in my library but never play"

📻 Radio Station Maintenance

  • "Go through all my existing radio stations, validate each one, and remove the broken ones"
  • "Here are 10 jazz radio URLs I found online - test them all and add only the working ones with good bitrates"
  • "Find the top-voted jazz and classical stations worldwide, validate them, and add the best 5 of each genre"
  • "Check all my radio stations and replace any broken ones with similar working stations"

🎼 Advanced Playlist Automation

  • "Create a 'Hidden Gems' playlist with 5-star rated songs that have less than 5 plays"
  • "Build weekly playlists based on what I listened to most each month of last year"
  • "Make a 'Complete Artist Journey' playlist with one top track from each album of my top 10 artists, in chronological order"
  • "Generate mood playlists by analyzing my listening patterns: what I play in mornings vs evenings vs weekends"

📊 Listening Insights & Organization

  • "Analyze my jazz collection: show play counts, ratings, and find which albums I've never fully listened to"
  • "Find duplicate songs across different albums and create a cleanup list"
  • "Show me my listening evolution: which genres I've moved away from and which I'm playing more"
  • "Identify 'one-hit wonders' in my library - artists where I only play one song repeatedly"

Available Tools

🔧 Core System

ToolDescription
test_connectionVerify Navidrome server connectivity and feature status

📚 Library Management

ToolDescription
list_songsBrowse songs with filtering and sorting
list_albumsBrowse albums with metadata
list_artistsBrowse artists with statistics
list_genresView all music genres in library
get_songDetailed song information
get_albumDetailed album information
get_artistDetailed artist information

🔍 Search & Discovery

ToolDescription
search_allSearch across all content types
search_songsSearch for specific songs
search_albumsSearch for albums
search_artistsSearch for artists
get_similar_artistsFind similar artists (Last.fm)
get_similar_tracksFind similar tracks (Last.fm)
get_artist_infoArtist biography and tags
get_trending_musicGlobal music trends

🎵 Playlist Operations

ToolDescription
list_playlistsView all playlists
create_playlistCreate new playlist
update_playlistUpdate playlist metadata
delete_playlistRemove playlist
get_playlist_tracksGet playlist contents
add_tracks_to_playlistAdd songs/albums/artists
batch_add_tracks_to_playlistBatch add multiple sets of tracks
remove_tracks_from_playlistRemove specific tracks
reorder_playlist_trackRearrange track order

⭐ Ratings & Favorites

ToolDescription
star_itemMark as favorite
unstar_itemRemove from favorites
set_ratingSet 0-5 star rating
list_starred_itemsView favorites
list_top_ratedView highest rated items

📊 Analytics & History

ToolDescription
list_recently_playedView recent listening activity
list_most_playedFind most played content
get_queueView playback queue
set_queueSet playback queue

📻 Radio Management

ToolDescription
validate_radio_streamTest stream URL validity
list_radio_stationsView all stations
create_radio_stationAdd new station (with optional validation*)
batch_create_radio_stationsBatch add multiple stations (with optional validation*)
play_radio_stationStart radio playback
discover_radio_stationsFind internet radio stations globally
get_radio_filtersGet available search filters (genres, countries, etc.)
get_station_by_uuidGet detailed station information
click_stationRegister play click for popularity metrics
vote_stationVote for a radio station

*Note: Both create_radio_station and batch_create_radio_stations support an optional validateBeforeAdd parameter that will test stream URLs before adding them to Navidrome.

🎤 Lyrics & Timestamps

ToolDescription
get_lyricsGet synchronized and plain text lyrics

🏷️ Metadata & Tags

ToolDescription
list_tagsBrowse all metadata tags
search_by_tagsSearch by specific tags
get_tag_distributionAnalyze tag usage

Troubleshooting

Common Issues

Connection Problems

  • Verify Navidrome server is running
  • Check URL includes protocol (http:// or https://)
  • Ensure credentials are correct
  • Test with curl or browser first

macOS Specific

Configuration Issues

  • Use absolute paths in config files
  • Validate JSON syntax (no trailing commas)
  • Check environment variables are set
  • Restart client after changes

Limitations

Playback Control: This MCP server manages your library and queues but doesn't directly control playback. Use your Navidrome client app for play/pause/skip.

Recently Played: Navidrome doesn't provide last-played timestamps, only play counts and completion status.

Queue Management: Works with Subsonic-compatible clients that support jukebox mode.

Development

Setup for Contributors

# Clone and setup git clone https://github.com/Blakeem/Navidrome-MCP.git cd navidrome-mcp cp .env.example .env # Edit .env with your credentials # Development pnpm dev # Hot reload mode pnpm test # Run tests pnpm lint # Check code style pnpm typecheck # Type checking

Testing with MCP Inspector

# Build first pnpm build # Web UI testing npx @modelcontextprotocol/inspector node dist/index.js # CLI testing npx @modelcontextprotocol/inspector --cli node dist/index.js \ --method tools/call \ --tool-name search_all \ --tool-arg query="jazz"

Project Structure

navidrome-mcp/ ├── src/ # TypeScript source ├── dist/ # Compiled JavaScript ├── docs/ # Documentation ├── tests/ # Test suites └── CLAUDE.md # AI assistant instructions

License

Code: AGPL-3.0

Source code is licensed under GNU Affero General Public License v3.0. See LICENSE.

Documentation: CC-BY-SA-4.0

Documentation is licensed under Creative Commons Attribution-ShareAlike 4.0 International.

Support


Built with ❤️ for the Navidrome community

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Blakeem/Navidrome-MCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server