Spiral gives your agent every tool with one account. Browse the tools →

opencode · E-commerce

How to Use Discogs master release in opencode

Returns a Discogs master record’s title, genres, styles, representative tracklist, and main release reference. Use it for an album or single overview before comparing its individual editions.

Prompts to try with Discogs master release in opencode

Copy an example into opencode, or ask in your own words.

Use Discogs master release to look this up and give me the result as a table. Save the result in ./assets.

Discogs master releaseopencode
Try asking
  • Pull the latest numbers from Discogs master release and tell me what changed since last week.

  • Check Discogs master release and summarize what you find in three bullet points.

  • Pull the newest data from Discogs master release and give me the result as a table.

  • Check Discogs master release every morning and tell me only when something changed.

How to set up Discogs master release in opencode

Pick the way that suits you. Each takes about two minutes.

Use Spiral's MCP server

  1. Add the server

    Leave out --global to add Spiral to the current project only. No header and no client ID or secret: opencode registers itself with Spiral.

    opencode mcp add spiral --global --url https://api.spiral.ai/mcp
  2. Sign in

    Your browser opens. Sign in to Spiral, pick the organization and click Authorize, then return to the terminal. No API key. Inside opencode, /mcps starts the same sign-in.

    opencode mcp auth spiral
  3. Check it

    Spiral shows as connected.

    opencode mcp list

Use the Spiral skill

  1. Send opencode this message

    Your agent reads Spiral's skill and sets itself up.

    set up https://spiral.ai/SKILL.md
  2. Sign in or paste a key

    Approve Spiral in the browser, or give the agent a key from the console.

Use the Spiral CLI

  1. Install and sign in

    Installs the Spiral CLI, signs you in and adds its skill to your coding agents.

    npx -y spiral-cli@latest init

Call the Spiral API

  1. Create an API key

    In the console, under API keys.

  2. Run Discogs master release

    One request; the result comes back by polling or a webhook.

    curl https://api.spiral.ai/v1/runs \
      -H "Authorization: Bearer $SPIRAL_API_KEY" \
      -H "Content-Type: application/json" \
      -H "Idempotency-Key: $(uuidgen)" \
      -d '{
        "provider": "alexandria",
        "model": "discogs-com/releases/master",
        "input": {
          "master_id": 1
        }
      }'

Then paste one of the prompts above: opencode finds Discogs master release on Spiral, shows the price and runs it.

Discogs master release providers and prices

Spiral runs Discogs master release through Alexandria. Open a card for today's price, with every fee included.

AlexandriaE-commerce
Discogs · Master
discogs-com/releases/master

Settings you can ask for

Ask opencode for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Master IDa number

Discogs master ID from search or artist_releases, or from a discogs.com/master/<id> URL.

Every API field of Discogs · Master is on its tool page: open its card above.

What can you do with Discogs master release in opencode?

Build a music catalog checker that separates artist identities, label identities, master records, and individual editions. A coding agent can compare Discogs metadata with project files and flag ambiguous matches for review.

Compare editions before choosing a record

Find an album, inspect its master record, list its editions, and compare individual release notes and tracklists. Produce a shortlist distinguished by label, format, catalog number, and release market.

Research an artist’s discography

Check the artist’s identity and aliases, work through their catalog, and separate master records from individual editions. Use release details to investigate titles that need closer inspection.

Check an album research brief

Cross-check artist and label identities against their catalogs, then use the master overview and an individual release’s tracklist to support the brief. Keep edition-specific details attached to the edition that supplied them.

Resolve duplicate music catalog entries

Search ambiguous artist, label, and album names, check their profiles, and compare the master’s editions. Decide whether two catalog rows refer to the same edition or different releases of the same recording.

Explain the differences in a reissue

Place a reissue in the artist’s and label’s catalogs, inspect the master overview, and compare edition records. Draft a comparison using documented formats, release markets, tracklists, and notes.

Prepare a catalog update digest

Recheck selected public artists, labels, and albums and summarize relevant catalog changes. Describe newly discovered Discogs entries separately from their recorded release dates.

Questions about Discogs master release in opencode

Can opencode use Discogs master release?

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Discogs master release like any built-in tool.

How much does Discogs master release cost in opencode?

$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your opencode plan is separate.

Do I need an Alexandria account to use Discogs master release in opencode?

No. Spiral runs Discogs master release on its own Alexandria account. You sign in to Spiral once and never paste a key.

How long does it take to set up Discogs master release in opencode?

About two minutes: add the server, then sign in, then check it.

Does opencode wait while Discogs master release runs?

Discogs master release runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

What kinds of recordings does Discogs cover?

Discogs catalogs audio releases made available to the general public, including commercially sold releases and free giveaways. That is its submission boundary, rather than a promise that every eligible release has been entered.

How quickly can Discogs information change?

Submitted information goes live immediately. A newly appearing catalog entry can therefore be an older recording that someone has just documented.

Does Discogs include artists and labels without cataloged releases?

Artists and labels are created through release submissions and cannot be added directly. Discogs is therefore tied to documented releases rather than a standalone directory of every artist or music business.

What does a release’s country mean?

Discogs uses country for the market where a release was sold and distributed. It does not necessarily identify where the record was manufactured.

Does a master record describe one exact pressing?

A master collects two or more matching releases. Its displayed tracklist comes from a selected key release, so consult an individual release record when checking an edition’s tracks.

Get started

Start using Discogs master release in opencode

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into opencode:

Set up opencode

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options