Skip to main content
Glama
sonovault-mcp

sonovault-mcp

Official
README.md
# sonovault-mcp

[![CI](https://github.com/rekordcloud/sonovault-mcp/actions/workflows/ci.yml/badge.svg)](https://github.com/rekordcloud/sonovault-mcp/actions/workflows/ci.yml)
[![npm](https://img.shields.io/npm/v/sonovault-mcp)](https://www.npmjs.com/package/sonovault-mcp)

MCP server for the **[SonoVault](https://sonovault.now)** music metadata API. Gives Claude, Cursor, and any MCP client search across 93M+ tracks, artists, labels, and releases, with full metadata per result: genre, BPM, musical key, label, release dates, artist credits, ISRC and ISWC codes, and cross-platform IDs (Spotify, Apple Music, Tidal, Beatport, Discogs, MusicBrainz, YouTube, Deezer, SoundCloud).

Ask your assistant things like:

- "What releases did mau5trap put out this year?"
- "Find Daft Punk's Veridis Quo and give me its genre, label, and ISRC"
- "What key and BPM is One More Time, and which tracks on Discovery mix well with it?"
- "Show me the tracklist of Discovery with ISRCs"
- "What's the Spotify and Beatport ID for ISRC GBDUW0000053?"
- "Resolve this play log to ISRCs and labels" (paste up to 100 lines)
- "List every recording of ISWC T-071.020.439-9"

## Setup

You need a SonoVault API key. The free tier is 1,000 requests/month, no credit card: [get a key](https://sonovault.now).

### Claude Desktop

Add to `claude_desktop_config.json`:

```json
{
  "mcpServers": {
    "sonovault": {
      "command": "npx",
      "args": ["-y", "sonovault-mcp"],
      "env": { "SONOVAULT_API_KEY": "svk_live_..." }
    }
  }
}
```

### Claude Code

```bash
claude mcp add sonovault -e SONOVAULT_API_KEY=svk_live_... -- npx -y sonovault-mcp
```

### Cursor

Add to `~/.cursor/mcp.json` (or `.cursor/mcp.json` in your project):

```json
{
  "mcpServers": {
    "sonovault": {
      "command": "npx",
      "args": ["-y", "sonovault-mcp"],
      "env": { "SONOVAULT_API_KEY": "svk_live_..." }
    }
  }
}
```

### VS Code (GitHub Copilot)

Add to `.vscode/mcp.json`:

```json
{
  "servers": {
    "sonovault": {
      "command": "npx",
      "args": ["-y", "sonovault-mcp"],
      "env": { "SONOVAULT_API_KEY": "svk_live_..." }
    }
  }
}
```

### Windsurf

Add the same `mcpServers` block as Claude Desktop to `~/.codeium/windsurf/mcp_config.json`.

### Other MCP clients

Any client that speaks MCP over stdio works. Command: `npx -y sonovault-mcp` with the `SONOVAULT_API_KEY` environment variable set.

## Tools

| Tool | What it does |
|---|---|
| `search_tracks` | Fuzzy search by artist + title. Returns ISRC, genre, BPM, musical key, label, release date. |
| `lookup_isrc` | Exact recording lookup by ISRC, with BPM and musical key. |
| `get_track` | Fetch a track by SonoVault ID, with BPM and musical key. |
| `get_work_codes` | Recording to composition: the ISWC(s) behind a recording. |
| `get_recordings_of_work` | Composition to recordings: every recording of an ISWC. |
| `get_platform_links` | One track's ID and deep link on all 9 platforms, from any ID or ISRC. |
| `resolve_tracks` | Bulk resolve up to 100 track names, ISRCs, or platform IDs. |
| `search_artists`, `get_artist_releases` | Artist search and discography, with Wikidata and MusicBrainz identifiers. |
| `search_labels`, `get_label_releases` | Label search and catalog, optionally for one release date or a date range. |
| `get_release_by_upc` | The release behind a UPC, EAN or GTIN barcode. `search_releases` returns each result's `digital_upc`, so album to UPC works too. |
| `search_releases`, `get_release` | Release search, and tracklists with ISRCs, BPM and key in playing order with disc and track numbers, plus MusicBrainz release and release-group ids. `get_release` also lists the real editions behind a release, each with its own label and catalog number, and takes an `edition` id to render that edition's numbering. |
| `list_genres` | The canonical genre hierarchy. |
| `browse_tracks` | Discover by label, artist, genre, or year (paid tier). |

All tools are read-only. Most work on the free tier; `browse_tracks` needs a paid plan.

## Example workflows

### Enrich a radio play log for royalty reporting

Paste a play log with just artist and title, and ask: "Resolve these to ISRC, album, and label, and give me a table I can map onto a SoundExchange Report of Use." The assistant calls `resolve_tracks` once per 100 lines and returns the identifiers collecting societies match on. Works the same for PPL, Sena, GVL, and Re:Sound reporting.

### Clean up a DJ library

"Here are 50 tracks from my rekordbox export. Find the canonical version of each, flag duplicates that share an ISRC, and tag each with its genre, BPM and key." The assistant combines `resolve_tracks` with the genre, tempo and key fields on each result.

### Bridge recordings to compositions

"I have ISRCs from my distributor. Which musical works do they belong to, and what other recordings exist of each work?" The assistant chains `get_work_codes` and `get_recordings_of_work`. Useful for publishing administration and cover/version research.

### Check cross-platform availability

"Is this Beatport exclusive on Spotify yet? Beatport ID 6014288." One `get_platform_links` call answers it, with deep links per platform.

### Research a label

"Summarize what Anjunabeats released in the last six months, grouped by subgenre." The assistant pages through `get_label_releases` and pulls genre from the tracklists.

## FAQ

### Is there a free tier?

Yes. A free SonoVault key includes 1,000 requests/month with no credit card. Every tool except `browse_tracks` works on it.

### What metadata does each track include?

Title, artist credits (with primary/remixer flags), ISRC, duration, BPM, musical key, genre and subgenre, and per-release album title, label, and release date. ISWC work codes come from the dedicated work-code tools.

### Does it return BPM or musical key?

Yes. Every track carries `bpm` (full tempo, up to 2 decimals, so 174 rather than 87) and its musical key in three notations:

- `key_alphanumeric`: 1 to 12 plus `A` for minor or `B` for major, e.g. `10B`. Neighbouring numbers and the same number with the other letter mix harmonically.
- `key_musical`: standard notation, e.g. `D`, `Am`, `F#m`, `Ebm`.
- `key_open`: Open Key notation, lowercase, e.g. `3d`, `1m`.

`keys` lists every key held for the track, one entry per source. Key comes from OpenKeyScan and BPM from the Lexicon DJ beat detector (trusted by 100k+ DJs), both run by SonoVault on the audio. Daft Punk's One More Time comes back as 123 BPM, `10B` / `D` / `3d`. All of these are null (and `keys` empty) for a track that has not been analysed yet. Other audio features such as energy or danceability are not exposed.

### Where does the data come from?

Aggregated and deduplicated from MusicBrainz, Discogs, Spotify, Apple Music, Tidal, and Beatport, with ISWC links from The MLC. Details: [sonovault.now/data-sources](https://sonovault.now/data-sources).

### How is this different from a Spotify API integration?

Single-platform APIs return their own IDs only. SonoVault resolves one recording to its IDs on all nine supported platforms, keyed by ISRC, and adds identifiers (ISRC, ISWC) that platform APIs don't expose. Comparison: [sonovault.now/compare/spotify-api](https://sonovault.now/compare/spotify-api).

### Is my API key sent anywhere besides SonoVault?

No. The server runs locally over stdio and sends your key only to `api.sonovault.now` as a request header. The code is small and auditable: [src/server.ts](src/server.ts).

## Agent Skill

Not using MCP? [`skill/SKILL.md`](skill/SKILL.md) is an [Agent Skill](https://agentskills.io/) that teaches any agent to call the SonoVault API directly over HTTP: search rules, ISRC/ISWC recipes, bulk resolution, and error handling.

## Related

- [SonoVault API docs](https://sonovault.now/docs)
- [sonovault-js](https://github.com/rekordcloud/sonovault-js) and [sonovault-python](https://github.com/rekordcloud/sonovault-python), the client SDKs (this server is built on sonovault-js)

## License

MIT

TDQS

A3.8/5.0

Scored across 16 tools

Disambiguation4/5

Most tools are cleanly separated by resource + lookup key (get_track by ID, lookup_isrc by ISRC, search_tracks by artist+title, get_release_by_upc by barcode), and the inverse pair get_recordings_of_work / get_work_codes is explained in the descriptions. The one real overlap is get_platform_links vs resolve_tracks, which both resolve cross-platform links (single vs batch), so an agent could pick either; otherwise boundaries are clear.

Naming Consistency4/5

All names are snake_case and verb-first (get_*, search_*, list_*, browse_*, resolve_*), with the noun consistently referring to the domain object. The only deviation is lookup_isrc using 'lookup' where the analogous get_track uses 'get', which slightly blurs the verb vocabulary but is still readable and intentional.

Tool Count4/5

16 tools is at the upper edge but each maps to a distinct lookup or listing surface (artists, releases, labels, tracks, works, barcodes, platform links, genres, browse). Nothing looks redundant enough to cut except arguably get_platform_links given resolve_tracks, so the count is slightly heavy but well-scoped.

Completeness4/5

Coverage is strong for a read-only catalog: entry points by name, ISRC, UPC/EAN, ISWC, SonoVault ID, platform ID, plus release tracklists, editions, genres and filtered browsing. Minor gaps remain — no artist/label detail fetch by ID (only search + their release lists) and no free-text track search by design, so agents must work around a few dead ends.

Maintenance

ActivityActive
ResponsivenessLimited data