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

Factory Droid · News & Media

How to Use Library of Congress recording details in Factory Droid

Returns one recording’s descriptive metadata, rights statement, attribution, citation, and audio file URLs. Use it to check a selected recording’s provenance and reuse conditions before adding it to a listening guide or publication.

Prompts to try with Library of Congress recording details in Factory Droid

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

Use Library of Congress recording details for https://www.loc.gov/item/lomaxbib000313/ and add its description, citation, rights text, and file URLs to this project's listening catalog.

Library of Congress recording detailsFactory Droid
Try asking
  • Use Library of Congress recording details to look this up and give me the result as a table. Save the result in ./assets.

  • Pull the latest numbers from Library of Congress recording details and tell me what changed since last week.

  • Check Library of Congress recording details and summarize what you find in three bullet points.

  • Pull the newest data from Library of Congress recording details and give me the result as a table.

How to set up Library of Congress recording details in Factory Droid

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

Use Spiral's MCP server

  1. Add the server

    Droid saves it to your user config, ~/.factory/mcp.json, so it works in every project.

    droid mcp add spiral https://api.spiral.ai/mcp --type http
  2. Sign in

    Start droid, type /mcp, select spiral and authenticate it. Sign in to Spiral in the browser and click Authorize. No API key.

  3. Check it

    Spiral shows as connected. needs authentication means the sign-in did not finish: run /mcp again.

    droid mcp list

Use the Spiral skill

  1. Send Factory Droid 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 Library of Congress recording details

    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": "loc-gov/audio-assets/get_audio",
        "input": {
          "id": "<id>"
        }
      }'

Then paste one of the prompts above: Factory Droid finds Library of Congress recording details on Spiral, shows the price and runs it.

Library of Congress recording details providers and prices

Spiral runs Library of Congress recording details through Alexandria. Open a card for today's price, with every fee included.

AlexandriaNews & Media
Library of Congress Audio · Get audio
loc-gov/audio-assets/get_audio

What can you do with Library of Congress recording details in Factory Droid?

Build a historical listening catalog with Library of Congress collection links and recording descriptions. Your coding agent can turn selected records into project data while preserving citations and rights text.

Build a classroom listening guide

Find relevant folk music collections, shortlist recordings about work or travel, and attach recording descriptions, citations, and rights statements to the lesson.

Research sound for a museum exhibit

Identify collections relevant to an exhibit’s place and period, find candidate recordings, and assemble provenance and reuse information for curatorial review.

Prepare a documentary audio shortlist

Locate suitable historical collections and recordings, then collect source links, credits, and rights text for the production team’s selection process.

Plan a regional music research project

Choose collections relevant to Texas or Mississippi, find recordings within the project’s period, and document each selection’s contributors, description, and source.

Compare catalog descriptions of work songs

Find recordings described as work songs and compare their full notes, dates, places, and contributor credits without inferring lyrics from catalog summaries.

Questions about Library of Congress recording details in Factory Droid

Can Factory Droid use Library of Congress recording details?

Yes. Add Spiral to Factory Droid as an MCP server, and Factory Droid can find and run Library of Congress recording details like any built-in tool.

How much does Library of Congress recording details cost in Factory Droid?

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

Do I need an Alexandria account to use Library of Congress recording details in Factory Droid?

No. Spiral runs Library of Congress recording 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 Library of Congress recording details in Factory Droid?

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

Does Factory Droid wait while Library of Congress recording details runs?

Library of Congress recording details runs in the background. Factory Droid starts the run, checks on it and gives you the json when it's ready.

Does this cover every recording held by the Library of Congress?

No. The API does not provide the entire library catalog, although digitized catalog items are retrievable. Southern Mosaic also explicitly omits some recordings from its online presentation.

How much historical material can a collection contain?

Coverage depends on the collection. For example, the 1939 John and Ruby Lomax trip produced approximately 25 hours of folk music from more than 300 performers on 267 discs.

How does the available data change?

The Library uses the API to update loc.gov as new digital content enters its collections. This means online availability can expand even when the recordings themselves are historical.

Will every collection describe recordings the same way?

No. Detailed fields vary according to the collecting division’s practices, and catalog terminology is not always consistent across divisions. Use the wording found in the relevant collection when narrowing a search.

Can one broad search retrieve the whole archive?

The source does not support paging beyond the 100,000th search result, and some searches fail earlier. Divide a large research project into narrower searches by collection, period, or subject.

Get started

Start using Library of Congress recording details in Factory Droid

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

Paste this into Factory Droid:

Set up Factory Droid

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