How to Use NPS sound library search in Codex
Finds sound pages across the NPS Sound Gallery and the Yellowstone, Rocky Mountain, and Glacier Bay libraries. Use it to discover recordings of wildlife, weather, geological activity, or human-made sounds before choosing clips.
Prompts to try with NPS sound library search in Codex
Copy an example into Codex, or ask in your own words.
Use NPS sound library search to find Yellowstone geyser recordings, then create an audio shortlist in this project's docs with titles and source links.
Use NPS sound library search to find Rocky Mountain stream and forest recordings for our mountain game scene. Add a candidate list with descriptions and source pages to the asset notes.
Use NPS sound library search to find rain and thunder recordings. Create a weather-audio manifest from the returned clip details and links for our exhibit prototype.
Use NPS sound library search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from NPS sound library search and tell me what changed since last week.
How to set up NPS sound library search in Codex
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
codex mcp add spiral --url https://api.spiral.ai/mcp
- 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
- Send Codex 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 NPS sound library 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": "nps-gov/sound-effects/search_sounds", "input": { "url": "<url>" } }'
Then paste one of the prompts above: Codex finds NPS sound library search on Spiral, shows the price and runs it.
NPS sound library search providers and prices
Spiral runs NPS sound library search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Codex for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 0 to 10 | How many matching sound pages to read for clips, one request each; default 5 with a query, 0 when browsing. | |
| Library | all, gallery, yellowstone, rocky_mountain, or glacier_bay | Which library to search: all (default), gallery (NPS Sound Gallery), yellowstone, rocky_mountain or glacier_bay. |
Every API field of National Park Service Sound Libraries · Search sounds is on its tool page: open its card above.
What can you do with NPS sound library search in Codex?
Build a park listening feature with NPS clip links, descriptions, and credits. A coding agent can turn selected recordings into project assets and pair published transcripts with playback controls.
Build a wildlife listening lesson
Find elk and humpback whale recordings, then assemble listening questions from the published descriptions and transcripts. Include the recording's park and credit beside each clip.
Source ambience for a game scene
Find Rocky Mountain stream, forest, and weather recordings for a mountain scene. Inspect the selected clips' descriptions and reuse information before adding them to an asset shortlist.
Prepare a documentary sound cue sheet
Locate Yellowstone geyser recordings and build a cue sheet with clip titles, source pages, MP3 links, and credits. Compare the recordings on Old Faithful's page before choosing an eruption sound.
Create an exhibit about park noise
Find natural and human-made park sounds for a listening exhibit. Use the Old Faithful aircraft recording as a candidate for explaining how transportation changes a park's acoustic experience.
Draft a text companion to a listening collection
Choose wildlife and weather recordings, then collect their published transcripts and descriptions for a text companion. Identify which selected clips have enough published text for the exhibit.
Prepare a virtual park listening tour
Find recordings for Yellowstone, Rocky Mountain, and Glacier Bay, then organize selected clips by park. Ground each stop in the audio's description and recording location.
More on NPS sound library search and Codex
Overview
NPS sound library search in other agents
Questions about NPS sound library search in Codex
Can Codex use NPS sound library search?
Yes. Add Spiral to Codex as an MCP server, and Codex can find and run NPS sound library search like any built-in tool.
How much does NPS sound library 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 NPS sound library search in Codex?
No. Spiral runs NPS sound library 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 NPS sound library search in Codex?
About two minutes: add the hosted server, then sign in.
Does Codex wait while NPS sound library search runs?
NPS sound library search runs in the background. Codex starts the run, checks on it and gives you the json when it's ready.
Which NPS sound collections does this cover?
Coverage includes four collections: the NPS Sound Gallery and the Yellowstone, Rocky Mountain, and Glacier Bay libraries. The Sound Gallery describes its clips as selections, so coverage does not imply every park, species, or sound is represented.
Are these live sounds or saved recordings?
These are saved recordings. Old Faithful's page includes audio created in 2014 and 2015, while Rocky Mountain explicitly describes its library as a snapshot in time.
Can I reuse the recordings in a project?
The NPS Sound Gallery identifies its audio files as public domain and downloadable. Yellowstone explicitly permits downloading and use without limitation, while asking for National Park Service credit where appropriate.
Does one sound page always mean one recording?
No. Old Faithful's page contains four entries, including mono, stereo, aircraft-noise, and composite recordings, so a page can offer several distinct clips.
Can I choose clips by exact running time?
The provider documentation says durations are not published and audio files are linked rather than fetched. An exact-length selection therefore requires checking the linked audio separately.
Start using NPS sound library search in Codex
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Codex:
set up https://spiral.ai/SKILL.md


