How to Use Discogs artist discography in opencode
Returns paginated releases and master records associated with a Discogs artist, including titles, years, and credit roles. Use it to explore an artist’s catalog before opening individual editions.
Prompts to try with Discogs artist discography in opencode
Copy an example into opencode, or ask in your own words.
Use Discogs artist discography for Daft Punk and compare the returned titles and years with our discography JSON. Report unmatched titles and distinguish master records from individual releases.
Use Discogs artist discography to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from Discogs artist discography and tell me what changed since last week.
Check Discogs artist discography and summarize what you find in three bullet points.
Pull the newest data from Discogs artist discography and give me the result as a table.
How to set up Discogs artist discography in opencode
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- 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
- 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
- Check it
Spiral shows as connected.
opencode mcp list
Use the Spiral skill
- Send opencode this message
Your agent reads Spiral's skill and sets itself up.
set up https://spiral.ai/SKILL.md
- Sign in or paste a key
Approve Spiral in the browser, or give the agent a key from the console.
Use the Spiral CLI
- 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
- Create an API key
In the console, under API keys.
- Run Discogs artist discography
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/artist_releases", "input": { "artist_id": 1 } }'
Then paste one of the prompts above: opencode finds Discogs artist discography on Spiral, shows the price and runs it.
Discogs artist discography providers and prices
Spiral runs Discogs artist discography through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask opencode for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Artist ID | a number | Discogs artist ID. | |
| Page | 1 to 10000 | 1 | Result page, 1-based. |
| Sort | year, title, or format | Sort field. | |
| Per page | 1 to 100 | 25 | Results per page, 1 to 100. |
| Sort order | asc or desc | sort_order |
Every API field of Discogs · Artist releases is on its tool page: open its card above.
What can you do with Discogs artist discography 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.
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.
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.
Review artist and label identity matches
Check whether catalog entries point to the intended artist and imprint. Compare profiles, aliases, label relationships, and associated releases to flag matches that need manual review.
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.
More on Discogs artist discography and opencode
Overview
Discogs artist discography in other agents
Questions about Discogs artist discography in opencode
Can opencode use Discogs artist discography?
Yes. Add Spiral to opencode as an MCP server, and opencode can find and run Discogs artist discography like any built-in tool.
How much does Discogs artist discography 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 artist discography in opencode?
No. Spiral runs Discogs artist discography 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 artist discography in opencode?
About two minutes: add the server, then sign in, then check it.
Does opencode wait while Discogs artist discography runs?
Discogs artist discography 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.
Start using Discogs artist discography in opencode
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into opencode:
set up https://spiral.ai/SKILL.md


