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 any MusicBrainz entity using Lucene syntax. Primary entry point |
| Typo-tolerant search with automatic exact-first fallback |
| Search for artists with filters (country, type, gender) |
| Search for releases with filters (title, artist, label, barcode) |
| Browse entities linked to another entity with paging (e.g. all releases by an artist) |
| Artist info with aliases, genres, ratings, URLs, and first 10 release groups |
| Full paged discography (release groups) for an artist |
| Release (specific edition) tracklist, barcode, label, and catalog number |
| Release group (album concept) details with type, genres, and editions |
| Recording info with appearances, ISRCs, and genres |
| Tracklist with durations for a release group |
| Musical work details with composers and lyricists |
| Geographic area info (country, city) with aliases |
| Label info with type, area, genres, and URLs |
| Relationships for any entity type (band members, producers, etc.) |
| Cover art image URLs from the Cover Art Archive |
| Find 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 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 --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
Resources
Looking for Admin?
Admins can modify the Dockerfile, update the server description, and track usage metrics. If you are the server author, to access the admin panel.