Musicbrainz MCP logo

Musicbrainz MCP

Search MusicBrainz metadata, retrieve cover art, and optionally manage tags, ratings, and collections through MCP.

Install Musicbrainz MCP

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "musicbrainz-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "musicbrainz-mcp"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

Automated check passed— started and listed 9 tools correctly (16d ago).

Overview

The musicbrainz-mcp MCP server connects MCP clients to MusicBrainz and the Cover Art Archive for music metadata lookup and discovery. It exposes search, lookup, browse, URL resolution, cover-art, and connectivity tools, with optional OAuth-backed tools for tags, ratings, and collections. Reads require no credentials, while write operations require MusicBrainz OAuth and confirmation. Use it when an agent needs structured information about artists, releases, recordings, labels, works, or related entities.

Use cases

  • Search for artists, releases, recordings, labels, or works
  • Look up linked MusicBrainz entities by MBID
  • Retrieve cover-art image URLs for releases
  • Apply personal tags and ratings with OAuth
  • Manage entities in a MusicBrainz collection

Key features

  • Lucene search across MusicBrainz entity types
  • MBID lookup with linked-data expansion
  • Related-entity browsing
  • Cover Art Archive URL retrieval
  • OAuth-backed tags, ratings, and collection edits
  • Confirmation flow for write operations

Tools9

What Musicbrainz MCP lets your agent do. Expand a tool for its parameters.

Verified live~3.2k tokens of context

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked 2d ago

Recent health check succeeded.

12/12 checks healthy over the last 61d

What it can do

From the 9 tools this server returned when we ran it; 9 declare their own safety hints.

Can delete or modify data · 3Handles credentials · 3Makes network requests · 9Read-only tools · 6
Network at startup3 connections
Files written at startupNone
Install scriptsNone
npm provenanceSigned build
Package age133 days
Maintainers1

Observed 2026-10-21 in an isolated sandbox. A description of reach, not a security audit.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 15d ago via OSV.dev · musicbrainz-mcp (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

npm downloads1.9kPackage downloads in the last 30 days.
Last commit2d agoMost recent push to the default branch.
Availability100%Our rolling endpoint + install checks that succeeded.
Install checkPassedOur sandbox started it and listed its tools.
Tools exposed9Callable tools this server registers over MCP.
Directory activity1 viewsConfig copies, upvotes, and views on AllMCPs.

How Musicbrainz MCP works

What musicbrainz-mcp MCP server does

The musicbrainz-mcp MCP server gives an MCP client access to MusicBrainz, an open music encyclopedia, along with Cover Art Archive image URLs. It covers common entity types such as artists, releases, recordings, labels, and works. The server supports both read operations and optional account-based changes.

Read tools can search MusicBrainz with Lucene queries, retrieve an entity by MusicBrain ID (MBID), enumerate entities connected to another entity, resolve a pasted MusicBrainz URL, return cover-art URLs, and check service connectivity. Write tools can apply tags, set a personal rating from 0 to 100, or add and remove entities from one of the user’s collections.

How it works

The musicbrainz-mcp MCP server runs as a Node-based stdio process. An MCP host starts it with npx, then exposes its tools to the connected agent. Read requests work without an account or credentials.

Most read tools accept a view option. The default compact view removes image and avatar URLs, while full returns the MusicBrainz response without that reduction. The cover-art tool does not use view, because its result consists of the image URLs themselves.

Requests to MusicBrainz are automatically paced at no more than one per second. This applies to larger browse operations as well as individual requests, helping the server follow MusicBrainz’s stated request limit.

Write operations use MusicBrainz OAuth. Before submitting a change, the server requires confirmation. Depending on the client, this is either an interactive prompt or a two-step preview-and-confirm flow using a temporary token. Changing arguments between the preview and confirmation invalidates the token.

Setup and configuration

Add the stdio server to an MCP host with a configuration equivalent to:

config.json
{
  "mcpServers": {
    "musicbrainz": {
      "command": "npx",
      "args": ["-y", "musicbrainz-mcp"]
    }
  }
}

This configuration is sufficient for read-only use. To enable writes, register an application with MusicBrainz using the out-of-band redirect URI, complete OAuth with the tag, rating, and collection scopes, and provide a client ID, client secret, and refresh token through the host environment or a local .env file.

Confirmation behavior can be adjusted with MCP_CONFIRM_MODE, MCP_CONFIRM_ELICITATION, MCP_CONFIRM_TTL_SECONDS, and MCP_CONFIRM_SECRET. These settings control how clients without interactive prompts handle previews, whether elicitation is used, token lifetime, and whether confirmation tokens remain valid across restarts.

Tools and capabilities

The musicbrainz-mcp MCP server provides these tools:

  • musicbrainz_search: Run a Lucene search across an entity type and return ranked results with MBIDs.
  • musicbrainz_lookup: Fetch an entity by MBID, optionally including linked data with inc subqueries.
  • musicbrainz_browse: List entities related to another entity, such as releases associated with an artist.
  • musicbrainz_cover_art: Return Cover Art Archive image URLs for a release or release group.
  • musicbrainz_resolve: Convert a MusicBrainz URL into its corresponding entity.
  • musicbrainz_healthcheck: Check connectivity and whether OAuth write configuration is present.
  • musicbrainz_submit_tags: Add user tags to an entity.
  • musicbrainz_submit_rating: Set the user’s rating for an entity.
  • musicbrainz_modify_collection: Add or remove entities from a user collection.

Limitations and notes

Write tools are optional and unavailable for authenticated changes until OAuth is configured. Every write requires confirmation, and clients differ in how that confirmation is presented. Read and browse activity is subject to the one-request-per-second pacing enforced by the server.

The software is MIT-licensed. MusicBrainz data is identified in the project as available under CC0 or CC BY-NC-SA terms.

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Musicbrainz MCP

musicbrainz-mcp is an MCP server that connects AI clients to MusicBrainz and the Cover Art Archive. Its main tools search, look up, browse, resolve, and retrieve cover art for music entities. With optional OAuth, it can also submit tags, ratings, and collection changes to the user’s MusicBrainz account.

Install it by configuring your MCP host to run `npx -y musicbrainz-mcp` as a stdio server. Reads work immediately without credentials. Add MusicBrainz OAuth environment variables only if you need to submit tags, ratings, or collection changes.

Enable writes by registering a MusicBrainz application, completing OAuth with the `tag`, `rating`, and `collection` scopes, and setting `MUSICBRAINZ_OAUTH_CLIENT_ID`, `MUSICBRAINZ_OAUTH_CLIENT_SECRET`, and `MUSICBRAINZ_OAUTH_REFRESH_TOKEN`. Each write also requires confirmation.

Yes, musicbrainz-mcp works with Claude Desktop through its stdio configuration. Claude Desktop does not provide the same interactive confirmation prompt as clients such as Claude Code, so writes use a two-step preview and confirmation flow.

It uses the `musicbrainz_cover_art` tool to return Cover Art Archive image URLs for a release or release group. This tool does not accept the `view` option because the image URLs are its result.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMusicbrainz MCP AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/musicbrainz-mcp?style=directory)](https://allmcps.com/mcp/musicbrainz-mcp)
HTML Embed
<a href="https://allmcps.com/mcp/musicbrainz-mcp"><img src="https://allmcps.com/api/badge/musicbrainz-mcp?style=directory" alt="Musicbrainz MCP on AllMCPs" /></a>