MusicBrainz MCP Server
The MusicBrainz MCP Server lets you search, browse, and retrieve detailed music metadata from the MusicBrainz database directly from your AI assistant.
Search
Search any MusicBrainz entity (artists, releases, recordings, labels, works, release groups, areas, events, instruments, places, series) using Lucene query syntax
Apply filters like artist country/type/gender, release label/barcode, label type/country, etc.
Perform typo-tolerant fuzzy searches with automatic exact-first fallback (e.g., 'Bjork' → 'Björk')
Browse & Discover
Browse entities linked to another (e.g., full artist discography, all editions of an album, a label's catalog) with paging support
Detailed Lookups
Artists: aliases, genres, ratings, URLs, discography
Releases: tracklist, durations, barcode, label, catalog number
Release groups: type, genres, and all specific editions
Recordings: ISRCs, genres, album appearances, recording-level relationships (studios, engineers, producers)
Works: composers, lyricists, ISWC
Labels, areas, events, instruments, places, series: comprehensive details for each
Relationships: band members, producers, Wikipedia links, and more for any entity
Identifier & Cover Art Lookups
Look up a release by UPC/EAN barcode
Translate a commercial ISRC (Spotify/Apple) to a MusicBrainz recording
Translate a publisher ISWC to a MusicBrainz work
Retrieve cover art URLs (front/back, thumbnails) from the Cover Art Archive for releases or release groups
The server includes built-in caching (24-hour TTL) to respect MusicBrainz rate limits and integrates with Claude Desktop, Cursor, Windsurf, and Kiro CLI via the MCP protocol.
Provides tools for querying the MusicBrainz music database, enabling users to search for artists, albums, recordings, labels, and works, as well as retrieve detailed discography information, tracklists, and cover art.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MusicBrainz MCP ServerFind the tracklist and cover art for Radiohead's 'OK Computer'."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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
Tool | Description |
| Search for artists with filters (country, type, gender) |
| Search for releases with filters (title, artist, label, barcode, catalog number, format) |
| Search for recordings with filters (title, artist, release, ISRC) |
| Search for release groups (albums/EPs/singles) with filters (artist, type) |
| Search for record labels with filters (type, country) |
| Search for musical works/compositions with filters (artist, type) |
| Search for geographic areas with filters (type) |
| Search for music events with filters (artist, type) |
| Search for musical instruments with filters (type) |
| Search for places (venues, studios) with filters (type, area) |
| Search for series (release series, tours) with filters (type) |
| Typo-tolerant search with automatic exact-first fallback |
| Browse entities linked to another entity with paging and optional includes (e.g. all releases by an artist with label info) |
| Artist info with aliases, genres, ratings, URLs, and paged discography |
| Release (specific edition) tracklist, barcode, label, and catalog number |
| Release group (album concept) details with type, genres, and editions (with label, format, country) |
| Recording info with appearances, ISRCs, and genres |
| Tracklist with durations and performer credits (instruments, vocals) for a release group |
| Recording-level relationships (studios, engineers, producers, works) for all tracks on an album in one call |
| Musical work details with composers and lyricists |
| Geographic area info (country, city) with aliases |
| Label info with type, area, genres, and URLs |
| Event info (concert, festival) with date, time, aliases, and tags |
| Musical instrument info with type, description, aliases, and tags |
| Place info (venue, studio) with address, coordinates, aliases, and tags |
| Series info (release series, tour) with type, aliases, and tags |
| Relationships for any entity type (band members, producers, etc.) |
| Cover art image URLs from the Cover Art Archive |
| Cover art image URLs for a release group (album concept) |
| Translate a commercial ISRC (Spotify/Apple) to a MusicBrainz recording |
| Translate a publisher's ISWC to a MusicBrainz work (composition) |
Setup
Requires Python 3.12+ and uv.
git clone https://github.com/zas/mcp-musicbrainz.git
cd mcp-musicbrainz
uv syncUsage
Standalone
uv run mcp-musicbrainzClaude 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
uv run pytest tests/ -v
uv run ruff check .Pre-commit hooks
Install pre-commit hooks to automatically run linting and formatting on commit, and tests on push:
uv run pre-commit installCaching
Responses are cached locally in .musicbrainz_cache/ using diskcache with a 24-hour TTL to respect MusicBrainz rate limits.
License
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
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/zas/mcp-musicbrainz'
If you have feedback or need assistance with the MCP directory API, please join our Discord server