How to Use BLS series search in Claude Code
Returns matching series IDs and catalog rows from a BLS survey. Use it to find a specific price item or labor measure beyond the curated BLS top picks.
Prompts to try with BLS series search in Claude Code
Copy an example into Claude Code, or ask in your own words.
Use BLS series search to find U.S. city average shelter indexes in the consumer price survey, then add the matching IDs and titles to this project's data dictionary.
Use BLS series search to look this up and give me the result as a table. Save the result in ./assets.
Pull the latest numbers from BLS series search and tell me what changed since last week.
Check BLS series search and summarize what you find in three bullet points.
Pull the newest data from BLS series search and give me the result as a table.
How to set up BLS series search in Claude Code
Pick the way that suits you. Each takes about two minutes.
Use Spiral's MCP server
- Add the hosted server
This adds Spiral to the current project. Add --scope user to use it in every project.
claude mcp add --transport http spiral https://api.spiral.ai/mcp
- Sign in
Start claude, type /mcp, choose spiral and Authenticate. Sign in to Spiral in the browser and click Authorize. No API key.
Use the Spiral skill
- Send Claude Code 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 BLS series 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": "bls-gov/economic-statistics/bls_series_search", "input": { "query": "<query>", "survey": "<survey>" } }'
Then paste one of the prompts above: Claude Code finds BLS series search on Spiral, shows the price and runs it.
BLS series search providers and prices
Spiral runs BLS series search through Alexandria. Open a card for today's price, with every fee included.
Settings you can ask for
Ask Claude Code for any of these in your prompt.
| Setting | Allowed values | Default | Description |
|---|---|---|---|
| Limit | 1 to 100 | 25 | limit |
| Offset | a number from 0 | 0 | Skip this many matches; pass |
| Seasonal | S or U | Keep only seasonally adjusted (S) or unadjusted (U) series. |
Every API field of BLS labor statistics · Bls series search is on its tool page: open its card above.
What can you do with BLS series search in Claude Code?
Build a U.S. economic dashboard with inflation, unemployment, and local employment and wage context. Have the agent map BLS series descriptions into the project's labels before adding charts and comparison tables.
Build an economic dashboard
Discover suitable BLS programs and benchmark series, inspect their definitions, and combine inflation and unemployment histories with QCEW employment and wage tables. Check QCEW publication status before refreshing the local figures.
Compare locations for a business expansion
Compare county unemployment and industry employment and wages, with regional inflation as context. Use survey discovery and series definitions to select comparable benchmarks, inspect individual QCEW records, and refresh the comparison when publications change.
Prepare a county economic needs statement
Find and document the BLS measures needed for a grant narrative. Combine unemployment history, local industry employment and wages, and consumer-price changes, then verify selected records and check whether newer QCEW data are available.
Publish a regional business report
Select standard BLS benchmarks and discover industry-specific series for the report. Pair inflation and unemployment trends with QCEW tables and selected records, and check publication status before updating the report.
Research a consumer-price category
Start with a broad CPI category, then find more specific item series and inspect their descriptions. Retrieve the selected histories to compare how those indexes changed over the same period.
More on BLS series search and Claude Code
Overview
BLS series search in other agents
Questions about BLS series search in Claude Code
Can Claude Code use BLS series search?
Yes. Add Spiral to Claude Code as an MCP server, and Claude Code can find and run BLS series search like any built-in tool.
How much does BLS series search cost in Claude Code?
$0.00873 per call. You pay from your Spiral balance as you go, with no subscription, and a failed run is not charged. Your Claude Code plan is separate.
Do I need an Alexandria account to use BLS series search in Claude Code?
No. Spiral runs BLS series 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 BLS series search in Claude Code?
About two minutes: add the hosted server, then sign in.
Does Claude Code wait while BLS series search runs?
BLS series search runs in the background. Claude Code starts the run, checks on it and gives you the json when it's ready.
Are all BLS statistics published monthly?
No. National CPI indexes are monthly, but local CPI schedules differ: Houston is published in even-numbered months, while New York and Los Angeles are monthly.
Does BLS Top Picks include every available series?
No. BLS programs select Top Picks to satisfy commonly requested survey data. The full survey catalogs are the place to look for more specific measures.
What identifies the population or product behind a BLS series?
The series catalog describes the measure. Depending on the survey, its characteristics can include occupation, age, or product, so similar titles can describe different populations or items.
Start using BLS series search in Claude Code
One Spiral account for every tool your agent needs. No subscription; you pay per run.
Paste this into Claude Code:
set up https://spiral.ai/SKILL.md


