[Integrations](https://spiral.ai/integrations) › [Gemini](https://spiral.ai/integrations/gemini) › [Library of Congress recording search](https://spiral.ai/integrations/gemini/library-of-congress-recording-search)

# How to Use Library of Congress recording search in Gemini

Returns matching recording summaries from Library of Congress audio collections. Use it to build a shortlist by topic, place, period, or contributor, then retrieve a selected recording’s full description and rights text.

|  |  |
| --- | --- |
| Model | Library of Congress recording search |
| 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 Library of Congress recording search in Gemini

- Use Library of Congress recording search to find work songs recorded in Texas during 1939. Show the returned titles, contributors, dates, and source links.
- Use Library of Congress recording search to find early opera recordings in the National Jukebox from 1901 through 1920 and organize the results by performer.
- Use Library of Congress recording search to look this up and give me the result as a table.
- Pull the latest numbers from Library of Congress recording search and tell me what changed since last week.
- Check Library of Congress recording search and summarize what you find in three bullet points.

## How to set up Library of Congress recording search in Gemini

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

### Use the Gemini connector

1. **Open Connected Apps**: On your computer, go to gemini.google.com. At the bottom, click Settings › Connected Apps. If you don't see Connected Apps, click Personal Intelligence first, then Connected Apps.

2. **Add Spiral as a custom app**: Under Custom apps, click Add a custom app and paste this MCP server URL:

```text
https://api.spiral.ai/mcp
```

3. **Sign in to Spiral and approve**: Follow the on-screen instructions. Spiral opens: sign in, pick the organization and click Authorize. No API key.

### Use the Spiral skill

1. **Send Gemini 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 Library of Congress recording search**: 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": "loc-gov/audio-assets/search_audio",
    "input": {
      "url": "<url>"
    }
  }'
```

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

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

## Library of Congress recording search tools and prices

- [Library of Congress Audio · Search audio](https://spiral.ai/tools/alexandria/loc-gov/audio-assets/search_audio) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| url |  | — | A loc.gov/audio/?q=... or loc.gov/collections/<slug>/?q=... URL; its q, fa and dates fill any filter not given. |
| limit | 1 to 50 | — | Results per page; default 10. |
| query |  | — | Words to search titles, notes, subjects and contributors, e.g. work songs. |
| date_to | 1000 to 2100 | — | Latest year. |
| part_of |  | — | Part-of facet (collection or division name), e.g. american folklife center. |
| subject |  | — | Subject facet, e.g. work songs, blues, interviews. |

## What can you do with Library of Congress recording search in Gemini?

Prepare a listening shortlist for a lesson or exhibit using Library of Congress archival descriptions. A chat app can help you choose a collection and explain selected recordings using their catalog information.

### 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.

## Overview

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

## Library of Congress recording search in other agents

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

## More Gemini guides

- [Library of Congress recording details](https://spiral.ai/integrations/gemini/library-of-congress-recording-details)
- [MIT News article](https://spiral.ai/integrations/gemini/mit-news-article)
- [Library of Congress audio collections](https://spiral.ai/integrations/gemini/library-of-congress-audio-collections)
- [MIT News stories](https://spiral.ai/integrations/gemini/mit-news-stories)
- [Launch Library upcoming space events](https://spiral.ai/integrations/gemini/launch-library-upcoming-space-events)
- [MIT Sloan article](https://spiral.ai/integrations/gemini/mit-sloan-article)

## Questions about Library of Congress recording search in Gemini

**Can Gemini use Library of Congress recording search?**

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

**How much does Library of Congress recording search cost in Gemini?**

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

**Do I need an Alexandria account to use Library of Congress recording search in Gemini?**

No. Spiral runs Library of Congress recording 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 Library of Congress recording search in Gemini?**

About two minutes: open Connected Apps, then add Spiral as a custom app, then sign in to Spiral and approve.

**Does Gemini wait while Library of Congress recording search runs?**

Library of Congress recording search runs in the background. Gemini 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.

