[Integrations](https://spiral.ai/integrations) › [Muse Code](https://spiral.ai/integrations/muse-code) › [BLS survey directory](https://spiral.ai/integrations/muse-code/bls-survey-directory)

# How to Use BLS survey directory in Muse Code

Returns BLS survey names, abbreviations, and survey metadata. Use it to identify the program covering your question before searching for individual series.

|  |  |
| --- | --- |
| Model | BLS survey directory |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, no API key |

## Prompts to try with BLS survey directory in Muse Code

- Use BLS survey directory to identify the programs for consumer prices, payroll employment, and local unemployment, then document their abbreviations in this project's economic-data module.
- Use BLS survey directory to look this up and give me the result as a table. Save the result in ./assets.
- Pull the latest numbers from BLS survey directory and tell me what changed since last week.
- Check BLS survey directory and summarize what you find in three bullet points.
- Pull the newest data from BLS survey directory and give me the result as a table.

## How to set up BLS survey directory in Muse Code

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

### Use Spiral's MCP server

1. **Install Muse Code**

```bash
curl -fsSL https://dev.meta.ai/install.sh | bash
```

2. **Ask Muse to add the server**: Start `muse` and ask:

```text
Add the Spiral MCP server at https://api.spiral.ai/mcp
```

3. **Sign in**: In your terminal, run:

```bash
muse mcp login spiral
```

### Use the Spiral skill

1. **Send Muse Code 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 BLS survey directory**: 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": "bls-gov/economic-statistics/bls_surveys",
    "input": {
      "survey": "<survey>"
    }
  }'
```

Then paste one of the prompts above: Muse Code finds BLS survey directory on Spiral, shows the price and runs it.

Setup guide in the docs: https://spiral.ai/docs/quickstarts/muse-code

## BLS survey directory tools and prices

- [BLS labor statistics · Bls surveys](https://spiral.ai/tools/alexandria/bls-gov/economic-statistics/bls_surveys) (Alexandria): $0.00873 per call.

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| survey |  | — | Optional 2-letter survey abbreviation (LA, CU, CE, ...). When given, only that survey is returned, with its calculation flags. Pattern: ^[A-Za-z]{2}$. |

## What can you do with BLS survey directory in Muse 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.

## Overview

- [Alexandria](https://spiral.ai/providers/alexandria)
- [All Muse Code guides](https://spiral.ai/integrations/muse-code)

## BLS survey directory in other agents

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

## More Muse Code guides

- [BLS series search](https://spiral.ai/integrations/muse-code/bls-series-search)
- [BLS time series observations](https://spiral.ai/integrations/muse-code/bls-time-series-observations)
- [BLS series details and history](https://spiral.ai/integrations/muse-code/bls-series-details-and-history)
- [BLS top picks](https://spiral.ai/integrations/muse-code/bls-top-picks)
- [BLS consumer price index](https://spiral.ai/integrations/muse-code/bls-consumer-price-index)
- [BLS unemployment rate](https://spiral.ai/integrations/muse-code/bls-unemployment-rate)

## Questions about BLS survey directory in Muse Code

**Can Muse Code use BLS survey directory?**

Yes. Add Spiral to Muse Code as an MCP server, and Muse Code can find and run BLS survey directory like any built-in tool.

**How much does BLS survey directory cost in Muse 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 Muse Code plan is separate.

**Do I need an Alexandria account to use BLS survey directory in Muse Code?**

No. Spiral runs BLS survey directory 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 survey directory in Muse Code?**

About two minutes: install Muse Code, then ask Muse to add the server, then sign in.

**Does Muse Code wait while BLS survey directory runs?**

BLS survey directory runs in the background. Muse 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.

