[Integrations](https://spiral.ai/integrations) › [opencode](https://spiral.ai/integrations/opencode) › [ccMixter track details](https://spiral.ai/integrations/opencode/ccmixter-track-details)

# How to Use ccMixter track details in opencode

Get one ccMixter upload's license, attribution, BPM, duration, and available file links. Use it to check a chosen track and identify its audio files before adding it to a project.

|  |  |
| --- | --- |
| Model | ccMixter track details |
| Available through | Alexandria |
| Category | News & Media |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with ccMixter track details in opencode

- Use ccMixter track details for https://ccmixter.org/files/grapes/16626. Add its available audio file links and attribution to this project's music asset list.
- Use ccMixter track details for https://ccmixter.org/files/snowflake/33628. Draft a CREDITS.md entry from the returned attribution and list the available files separately.
- Use ccMixter track details to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from ccMixter track details and tell me what changed since last week.
- Check ccMixter track details and summarize what you find in three bullet points.

## How to set up ccMixter track details 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.

```bash
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.

```bash
opencode mcp auth spiral
```

3. **Check it**: Spiral shows as connected.

```bash
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.

```bash
npx -y spiral-cli@latest init
```

### Call the Spiral API

1. **Create an API key**: In the console, under API keys.

2. **Run ccMixter track details**: One request; the result comes back by polling or a webhook.

```bash
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": "ccmixter-org/audio-assets/get_upload",
    "input": {
      "id": 1
    }
  }'
```

Then paste one of the prompts above: opencode finds ccMixter track details on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/opencode

## ccMixter track details tools and prices

- [ccMixter · Get upload](https://spiral.ai/tools/alexandria/ccmixter-org/audio-assets/get_upload) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| id | 1 to … | — | ccMixter upload id, e.g. 16626. |
| url |  | — | A ccmixter.org/files/<user>/<id> or dig.ccmixter.org/files/<user>/<id> page, used when id is absent. |

## What can you do with ccMixter track details in opencode?

Build a music selection table with ccMixter file links, durations, BPM, and credits. A coding agent can put those details into the project's asset list and attribution file.

### Choose music for a podcast

Find instrumental candidates, compare their durations and licenses, and prepare attribution for the selected intro or background track.

### Prepare a game soundtrack

Compare ambient or electronic music for a game scene, then inspect the chosen upload's files and credit requirements.

### Find material for a remix

Locate vocals, samples, or stems, then inspect the available file formats, BPM, and attribution before planning the arrangement.

### Build a documentary music shortlist

Collect candidate tracks with durations, source links, and licenses so an editor can audition them and prepare credits.

### Replace music restricted to noncommercial use

Check a selected track's license and compare replacements whose licenses permit the intended commercial project.

### Prepare music credits

Collect attribution and license links for tracks under consideration, then assemble the credits for the final selections.

### Plan a tempo-matched arrangement

Compare reported BPM values and available files when selecting vocals or instrumental material for a remix.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All opencode guides](https://spiral.ai/integrations/opencode)

## ccMixter track details in other agents

- [Amp](https://spiral.ai/integrations/amp/ccmixter-track-details)
- [ChatGPT](https://spiral.ai/integrations/chatgpt/ccmixter-track-details)
- [Claude](https://spiral.ai/integrations/claude-desktop/ccmixter-track-details)
- [Claude Code](https://spiral.ai/integrations/claude-code/ccmixter-track-details)
- [Cline](https://spiral.ai/integrations/cline/ccmixter-track-details)
- [Codex](https://spiral.ai/integrations/codex/ccmixter-track-details)
- [Cursor](https://spiral.ai/integrations/cursor/ccmixter-track-details)
- [Devin](https://spiral.ai/integrations/devin/ccmixter-track-details)
- [dots](https://spiral.ai/integrations/dots/ccmixter-track-details)
- [Factory Droid](https://spiral.ai/integrations/factory-droid/ccmixter-track-details)
- [Gemini](https://spiral.ai/integrations/gemini/ccmixter-track-details)
- [Gemini CLI](https://spiral.ai/integrations/gemini-cli/ccmixter-track-details)
- [Google Antigravity](https://spiral.ai/integrations/antigravity/ccmixter-track-details)
- [goose](https://spiral.ai/integrations/goose/ccmixter-track-details)
- [Grok](https://spiral.ai/integrations/grok/ccmixter-track-details)
- [Grok Build](https://spiral.ai/integrations/grok-build/ccmixter-track-details)
- [Hermes](https://spiral.ai/integrations/hermes/ccmixter-track-details)
- [Instinct](https://spiral.ai/integrations/instinct/ccmixter-track-details)
- [Manus](https://spiral.ai/integrations/manus/ccmixter-track-details)
- [Muse](https://spiral.ai/integrations/muse/ccmixter-track-details)
- [Muse Code](https://spiral.ai/integrations/muse-code/ccmixter-track-details)
- [n8n](https://spiral.ai/integrations/n8n/ccmixter-track-details)
- [Notion](https://spiral.ai/integrations/notion/ccmixter-track-details)
- [OpenClaw](https://spiral.ai/integrations/openclaw/ccmixter-track-details)
- [Perplexity](https://spiral.ai/integrations/perplexity/ccmixter-track-details)
- [Raycast](https://spiral.ai/integrations/raycast/ccmixter-track-details)
- [VS Code](https://spiral.ai/integrations/vscode/ccmixter-track-details)
- [Windsurf](https://spiral.ai/integrations/windsurf/ccmixter-track-details)
- [Zapier](https://spiral.ai/integrations/zapier/ccmixter-track-details)

## More opencode guides

- [ccMixter music search](https://spiral.ai/integrations/opencode/ccmixter-music-search)
- [gob.mx agency directory](https://spiral.ai/integrations/opencode/gob-mx-agency-directory)
- [ambientCG asset search](https://spiral.ai/integrations/opencode/ambientcg-asset-search)
- [gob.mx articles and documents](https://spiral.ai/integrations/opencode/gob-mx-articles-and-documents)
- [ambientCG asset details](https://spiral.ai/integrations/opencode/ambientcg-asset-details)
- [gob.mx photo gallery](https://spiral.ai/integrations/opencode/gob-mx-photo-gallery)

## Questions about ccMixter track details in opencode

**Can opencode use ccMixter track details?**

Yes. Add Spiral to opencode as an MCP server, and opencode can find and run ccMixter track details like any built-in tool.

**How much does ccMixter track details 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 ccMixter track details in opencode?**

No. Spiral runs ccMixter track details on its own Alexandria account. You sign in to Spiral once and never paste a key.

**How long does it take to set up ccMixter track details in opencode?**

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

**Does opencode wait while ccMixter track details runs?**

ccMixter track details runs in the background. opencode starts the run, checks on it and gives you the json when it's ready.

**What music does ccMixter cover?**

ccMixter is a community remixing catalog containing Creative Commons remixes and samples. Its coverage centers on music contributed to that community.

**Does a ccMixter listing guarantee that all rights are cleared?**

No. ccMixter's terms explicitly decline to guarantee that uploaded content does not infringe third-party rights.

**Does ccMixter include older recordings?**

Yes. For example, grapes' 'I dunno' remains listed as a 2008 work under Attribution 3.0.

**Why might a returned download link fail?**

The provider warns that ccMixter protects file links against hotlinking. A direct request without a ccmixter.org referrer can return HTTP 403; use the track page to access its download.

