[Integrations](https://spiral.ai/integrations) › [n8n](https://spiral.ai/integrations/n8n) › [BLS consumer price index](https://spiral.ai/integrations/n8n/bls-consumer-price-index)

# How to Use BLS consumer price index in n8n

Returns CPI-U index observations for a spending category and area. Use it for a focused inflation lookup; use BLS time series observations when you already know the exact series ID.

|  |  |
| --- | --- |
| Model | BLS consumer price index |
| Available through | Alexandria |
| Category | Finance |
| Price | $0.00873 per call. |
| Returns | json |
| Runs | In the background |
| Setup | About 2 minutes, with a Spiral API key |

## Prompts to try with BLS consumer price index in n8n

- Every Monday at 9am: use BLS consumer price index to look this up and give me the result as a table.
- Pull the latest numbers from BLS consumer price index and tell me what changed since last week.
- Check BLS consumer price index and summarize what you find in three bullet points.
- Pull the newest data from BLS consumer price index and give me the result as a table.
- Check BLS consumer price index every morning and tell me only when something changed.

## How to set up BLS consumer price index in n8n

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

### Use the Spiral skill

1. **Send n8n 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 Spiral's MCP server

1. **Create a key**: Create a key under API keys in the console.

2. **Add an MCP Client node**: In a workflow, add an MCP Client node (or, under an AI Agent node, an MCP Client Tool) and set:

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

3. **Pick a tool**: The node lists Spiral's tools. In an MCP Client node pick one, such as `run`, and give it its arguments:

```json
{
  "provider": "fal",
  "model": "fal-ai/flux/schnell",
  "input": { "prompt": "a lighthouse at dawn" },
  "wait": true
}
```

4. **Run BLS consumer price index in a workflow step**: Give the step an instruction like the ones below and run it on your trigger or schedule. Spiral finds BLS consumer price index, prices it and runs it each time the step fires.

### 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 consumer price index**: 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_cpi",
    "input": {
      "category": "all_items"
    }
  }'
```

Then paste one of the prompts above: n8n finds BLS consumer price index on Spiral, shows the price and runs it.

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

## BLS consumer price index tools and prices

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

## Settings you can ask for

| Setting | Allowed values | Default | Description |
| --- | --- | --- | --- |
| end_year | 1900 to 2100 | — | end_year |
| area_code |  | 0000 | BLS CPI area code: 0000 U.S. city average, 0100 Northeast, 0200 Midwest, 0300 South, 0400 West, S49A Los Angeles, S12A New York, S23A Chicago, S37B Houston, S49B San Francisco. Pattern: ^[A-Za-z0-9]{4}$. |
| start_year | 1900 to 2100 | — | start_year |
| seasonally_adjusted |  | — | Seasonally adjusted (CUSR) instead of unadjusted (CUUR). Only available for area_code 0000. |

## What can you do with BLS consumer price index in n8n?

Keep an economic briefing current as BLS publications and series catalogs change. The agent can check publication status, refresh selected observations, and report changes to the saved comparison.

### 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 n8n guides](https://spiral.ai/integrations/n8n)

## BLS consumer price index in other agents

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

## More n8n guides

- [BLS QCEW publication status](https://spiral.ai/integrations/n8n/bls-qcew-publication-status)
- [BLS series details and history](https://spiral.ai/integrations/n8n/bls-series-details-and-history)
- [BLS QCEW employment and wage tables](https://spiral.ai/integrations/n8n/bls-qcew-employment-and-wage-tables)
- [BLS series search](https://spiral.ai/integrations/n8n/bls-series-search)
- [BLS QCEW employment and wage record](https://spiral.ai/integrations/n8n/bls-qcew-employment-and-wage-record)
- [BLS survey directory](https://spiral.ai/integrations/n8n/bls-survey-directory)

## Questions about BLS consumer price index in n8n

**Can n8n use BLS consumer price index?**

Yes. Add Spiral to n8n as an MCP server, and n8n can find and run BLS consumer price index like any built-in tool.

**How much does BLS consumer price index cost in n8n?**

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

**Do I need an Alexandria account to use BLS consumer price index in n8n?**

You need no Alexandria account. n8n uses one Spiral API key for every tool, and Spiral runs BLS consumer price index on its own Alexandria account.

**How long does it take to set up BLS consumer price index in n8n?**

About two minutes: create a key, then add an MCP Client node, then pick a tool.

**Does n8n wait while BLS consumer price index runs?**

BLS consumer price index runs in the background. n8n 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.

