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

Codex · News & Media

How to Use ccMixter music search in Codex

Find ccMixter music, vocals, samples, and stems with attribution, audio details, and file links. Use it to compare candidates for a soundtrack or remix before choosing a specific upload.

Prompts to try with ccMixter music search in Codex

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

Use ccMixter music search to find five ambient instrumental candidates for the forest scene described in this project's design document. Add their source links, licenses, durations, and attribution to a review table.

ccMixter music searchCodex
Try asking
  • Use ccMixter music search to find vocals by snowflake for a remix prototype. Create a table of titles, reported BPM, available file formats, and licenses.

  • Use ccMixter music search to find instrumental hip-hop candidates for this game's menu. Include only licenses that allow commercial use and add the returned credits to the soundtrack proposal.

  • Use ccMixter music search to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from ccMixter music search and tell me what changed since last week.

How to set up ccMixter music search in Codex

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

Use Spiral's MCP server

  1. Add the hosted server
    codex mcp add spiral --url https://api.spiral.ai/mcp
  2. Sign in

    Codex opens the browser: sign in to Spiral and click Authorize. No API key. codex mcp list then shows Spiral.

    codex mcp login spiral

Use the Spiral skill

  1. Send Codex 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 ccMixter music search

    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": "ccmixter-org/audio-assets/search_uploads",
        "input": {
          "url": "<url>"
        }
      }'

Then paste one of the prompts above: Codex finds ccMixter music search on Spiral, shows the price and runs it.

ccMixter music search providers and prices

Spiral runs ccMixter music search through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media
ccMixter · Search uploads
ccmixter-org/audio-assets/search_uploads

Settings you can ask for

Ask Codex for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Sortnewest, oldest, rank, score, num_scores, remixes, num_playlists, or name

newest (default), oldest, rank (ccMixter's popularity rank), score (ratings), num_scores (number of ratings), remixes (most remixed), num_playlists or name (A to Z).

Limit1 to 10

Uploads per page, 1 to 10 (default 10). ccMixter fails on larger pages; an oversized page is retried at half size.

Commercial useon or off

true keeps only licences that allow commercial use (by, by-sa, cc0), dropping BY-NC, NC-Sampling+ and Sampling+.

Every API field of ccMixter · Search uploads is on its tool page: open its card above.

What can you do with ccMixter music search in Codex?

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.

Questions about ccMixter music search in Codex

Can Codex use ccMixter music search?

Yes. Add Spiral to Codex as an MCP server, and Codex can find and run ccMixter music search like any built-in tool.

How much does ccMixter music search cost in Codex?

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

Do I need an Alexandria account to use ccMixter music search in Codex?

No. Spiral runs ccMixter music search 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 music search in Codex?

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

Does Codex wait while ccMixter music search runs?

ccMixter music search runs in the background. Codex 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.

Get started

Start using ccMixter music search in Codex

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

Paste this into Codex:

Set up Codex

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