musicbrainz-mcp MCP Server
MusicBrainz MCP — search/browse music metadata, cover art, and submit tags/ratings/collections
musicbrainz-mcp scores 66 (Good), licensed MIT and written in TypeScript. It installs as a local process. It declares 9 tools. Filed under Search. GitHub shows 0 stars. Package registries report about 154 downloads a week. Install configs are generated for 12 clients. Being listed in the registry is not the same as being vendor-official.
Good trust
66 of 100 from six public signals. Nobody can buy a point.
- Listed in the official MCP registry.
- OSI-style license: mit.
License, quality and maintenance
Quality: Grade A
90/100 for listing completeness. Lost points: short summary, no docs link.
How quality is graded
Where the 66 comes from
22 + 20 + 0 + 10 + 4 + 10 = 66. Each factor is capped, so no single signal can carry a listing.
Active in the official MCP registry, plus a known vendor namespace.
Registry: 22 of 30 points.How recently the repository saw a commit or release.
Maintenance: 20 of 20 points.GitHub stars and weekly downloads, on a log scale.
Popularity: 0 of 20 points.A clear, OSI-style open-source license.
License: 10 of 10 points.Not archived, a secure install path, a pinned version.
Security: 4 of 10 points.A real summary, a README with depth, listed tools.
Docs: 10 of 10 points.Install
Pick your client, copy the config, paste it in.
Needs Cursor or VS Code installed on this device. The button opens the app and asks you to confirm before it adds the server.
{ "mcpServers": { "chrischall-musicbrainz-mcp": { "command": "npx", "args": [ "-y", "musicbrainz-mcp@1.3.0" ], "env": { "MUSICBRAINZ_USER_AGENT": "", "MUSICBRAINZ_OAUTH_CLIENT_ID": "YOUR_MUSICBRAINZ_OAUTH_CLIENT_ID", "MUSICBRAINZ_OAUTH_CLIENT_SECRET": "YOUR_MUSICBRAINZ_OAUTH_CLIENT_SECRET", "MUSICBRAINZ_OAUTH_REFRESH_TOKEN": "YOUR_MUSICBRAINZ_OAUTH_REFRESH_TOKEN" } } }}
Environment variables
| Name | Required | Notes |
|---|---|---|
MUSICBRAINZ_USER_AGENT | Optional | Optional override for the User-Agent sent to MusicBrainz. |
MUSICBRAINZ_OAUTH_CLIENT_IDSecret | Optional | OAuth client ID (write tools only). Register at musicbrainz.org/account/applications. |
MUSICBRAINZ_OAUTH_CLIENT_SECRETSecret | Optional | OAuth client secret (write tools only). |
MUSICBRAINZ_OAUTH_REFRESH_TOKENSecret | Optional | OAuth refresh token with tag/rating/collection scopes (enables the write tools). |
Tools9Tool docs quality grade C
All capabilitiesList all entities linked to another (e.g. every release by an artist)
Cover Art Archive image URLs for a release / release-group
Verify connectivity and whether OAuth writes are configured
Look up an entity by MBID, with inc subqueries for linked data
Add/remove entities in one of your collections
Turn a pasted musicbrainz.org URL into its entity
Search any entity type with a Lucene query; returns ranked matches + MBIDs
Set your 0–100 rating for an entity
Apply user tags to an entity on your account
About
musicbrainz-mcp
An MCP server for MusicBrainz, the open music encyclopedia. It gives Claude live access to MusicBrainz metadata — artists, releases, recordings, labels, works, and more — plus Cover Art Archive images, and (optionally) lets you submit your own tags, ratings, and collection edits.
Developed and maintained by AI (Claude Code). Use at your own discretion.
Tools
Read (no credentials required):
| Tool | What it does |
|---|---|
musicbrainz_search | Search any entity type with a Lucene query; returns ranked matches + MBIDs |
musicbrainz_lookup | Look up an entity by MBID, with inc subqueries for linked data |
musicbrainz_browse | List all entities linked to another (e.g. every release by an artist) |
musicbrainz_cover_art | Cover Art Archive image URLs for a release / release-group |
musicbrainz_resolve | Turn a pasted musicbrainz.org URL into its entity |
musicbrainz_healthcheck | Verify connectivity and whether OAuth writes are configured |
Write (OAuth, confirmed before sending):
| Tool | What it does |
|---|---|
musicbrainz_submit_tags | Apply user tags to an entity on your account |
musicbrainz_submit_rating | Set your 0–100 rating for an entity |
musicbrainz_modify_collection | Add/remove entities in one of your collections |
Each write asks you to confirm before it makes any network call — see Confirmations.
Every read above takes a view, except musicbrainz_cover_art. It defaults to
compact, which strips image and avatar URLs — a subtractive rule, so it cannot
drop a field nobody knew was there; view: "full" returns MusicBrainz's payload
untouched. musicbrainz_cover_art takes none on purpose: the image URLs are
its answer, and stripping them would not shrink the response, it would empty it.
Install
This is a Node MCP server (stdio). Point your MCP host at it:
{
"mcpServers": {
"musicbrainz": {
"command": "npx",
"args": ["-y", "musicbrainz-mcp"]
}
}
}
Reads work immediately. MusicBrainz asks clients to make at most one request per second — the server throttles itself to stay within that limit, so large browses are paced automatically.
Enabling the write tools (optional)
- Register an application at musicbrainz.org/account/applications (redirect URI
urn:ietf:wg:oauth:2.0:oob). - Complete the OAuth flow with the
tag,rating, andcollectionscopes to obtain a refresh token. - Provide these via your MCP host's env (or a local
.env):
MUSICBRAINZ_OAUTH_CLIENT_ID=...
MUSICBRAINZ_OAUTH_CLIENT_SECRET=...
MUSICBRAINZ_OAUTH_REFRESH_TOKEN=...
Confirmations
Every write asks you first. A client that can show a confirmation prompt (Claude Code) shows one, with the entity, tags / rating / collection change. A client that cannot (claude.ai, Claude Desktop) gets a two-step flow instead: the first call sends nothing and returns a confirmation-required preview — the exact XML for tags and ratings, the method and path for collections — plus a confirmToken; only a repeat of the same call with that token submits. A token acts once, and changing any argument between the two calls invalidates it.
| variable | default | |
|---|---|---|
MCP_CONFIRM_MODE | ask-user | What a write does on a client that cannot show a confirmation prompt (claude.ai, Claude Desktop). ask-user: two steps — the first call does nothing and returns a preview plus a token, and the model must get your approval in chat before calling again with it. auto: the same two steps, but the model may use the token after reviewing the preview itself. refuse: writes are refused on such clients. A client that can show prompts (Claude Code) always gets the real prompt, unless MCP_CONFIRM_ELICITATION=off. An unrecognised value is treated as refuse. |
MCP_CONFIRM_ELICITATION | on | off never shows a confirmation prompt, so every client gets the MCP_CONFIRM_MODE behaviour. Set it for a client that says it can show prompts but never does (the write hangs — opencode 2.0.x). Any other value is treated as on, with a warning on stderr. |
MCP_CONFIRM_TTL_SECONDS | 600 | How long a token stays valid. |
MCP_CONFIRM_SECRET | random per process | Signing key; set it only if tokens must survive a server restart. |
Development
npm install
npm run build
npm test
See CLAUDE.md for architecture and docs/MUSICBRAINZ-API.md for the pinned API shapes.
License
MIT. Data from MusicBrainz, licensed under CC0 / CC BY-NC-SA.
Frequently asked questions
What is musicbrainz-mcp MCP Server?
MusicBrainz MCP — search/browse music metadata, cover art, and submit tags/ratings/collections
How do I install musicbrainz-mcp MCP Server in Claude Desktop, Cursor, or VS Code?
Pick your client in the Install section on this page and copy the generated config into the client's config file. Step-by-step guides: Claude Desktop, Cursor, and VS Code. musicbrainz-mcp MCP Server runs locally from the npm package musicbrainz-mcp with the command npx -y musicbrainz-mcp@1.3.0.
Is musicbrainz-mcp MCP Server free and open source?
Yes. musicbrainz-mcp MCP Server is released under the MIT license, an OSI-approved open-source license, so you can use, modify, and self-host it under those terms.
Does musicbrainz-mcp MCP Server support remote (HTTP) connections?
No remote endpoint is listed for musicbrainz-mcp MCP Server. It runs locally on your machine over stdio, started by your MCP client.
What tools does musicbrainz-mcp MCP Server provide?
musicbrainz-mcp MCP Server provides 9 tools, including musicbrainz_browse, musicbrainz_cover_art, musicbrainz_healthcheck, and musicbrainz_lookup. See the full tool list for descriptions and parameters.
How is musicbrainz-mcp MCP Server's trust score calculated?
musicbrainz-mcp MCP Server scores 66 out of 100 (Good). The score adds six capped public signals: registry status, maintenance, popularity, license, documentation, and security. Nobody can pay for points. Read the methodology for the full formula.
Reviews
No reviews yet—Be the first to review
No published reviews yet. Used it? Tell the next person how it went.
Sign inA verified email is required to review this server.
Add badge to your README
Paste either snippet into the repository README. The image links to this listing.