MCP Hub
Back to servers

MusicBrainz MCP Server

Enables AI assistants to query the MusicBrainz music database for artists, albums, recordings, and labels. It provides tools for advanced searches, detailed metadata retrieval, and accessing cover art information.

glama
Forks
1
Updated
Mar 17, 2026

mcp-musicbrainz

An MCP (Model Context Protocol) server that provides tools for querying the MusicBrainz music database. Search for artists, albums, recordings, labels, and more — directly from your AI assistant.

Tools

ToolDescription
search_entitiesSearch for any MusicBrainz entity using Lucene syntax. Primary entry point
search_entities_fuzzyTypo-tolerant search with automatic exact-first fallback
search_artistsSearch for artists with filters (country, type, gender)
search_releasesSearch for releases with filters (title, artist, label, barcode)
browse_entitiesBrowse entities linked to another entity with paging (e.g. all releases by an artist)
get_artist_detailsArtist info with aliases, genres, ratings, URLs, and first 10 release groups
get_artist_discographyFull paged discography (release groups) for an artist
get_release_detailsRelease (specific edition) tracklist, barcode, label, and catalog number
get_release_group_detailsRelease group (album concept) details with type, genres, and editions
get_recording_detailsRecording info with appearances, ISRCs, and genres
get_album_tracksTracklist with durations for a release group
get_work_detailsMusical work details with composers and lyricists
get_area_detailsGeographic area info (country, city) with aliases
get_label_detailsLabel info with type, area, genres, and URLs
get_entity_relationshipsRelationships for any entity type (band members, producers, etc.)
get_cover_art_urlsCover art image URLs from the Cover Art Archive
lookup_by_barcodeFind a release by UPC/EAN barcode

Setup

Requires Python 3.12+ and uv.

git clone https://github.com/zas/mcp-musicbrainz.git
cd mcp-musicbrainz
uv venv
uv sync

Usage

Standalone

uv run mcp-musicbrainz

Claude Desktop

Add to claude_desktop_config.json:

Kiro CLI

Add to ~/.kiro/settings/mcp.json:

Cursor

Add to .cursor/mcp.json in your project:

Windsurf

Add to ~/.codeium/windsurf/mcp_config.json:

All use the same configuration:

{
  "mcpServers": {
    "musicbrainz": {
      "command": "uv",
      "args": ["run", "--directory", "/path/to/mcp-musicbrainz", "mcp-musicbrainz"]
    }
  }
}

Development

uv sync --all-groups
uv run pytest tests/ -v
uv run ruff check .

Caching

Responses are cached locally in .musicbrainz_cache/ using diskcache with a 24-hour TTL to respect MusicBrainz rate limits.

License

GPL-3.0-or-later

Reviews

No reviews yet

Sign in to write a review