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

# How to Use BLS consumer price index in Grok

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, no API key |

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

- Use BLS consumer price index to show unadjusted U.S. city average food indexes for 2022 through 2024 and explain how the index changed.
- 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.

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

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

### Use the Grok connector

1. **Add a custom connector**: In Grok open Settings › Connect Apps, then Add a custom connector. Name it Spiral, paste this URL, leave Headers empty and click Add MCP.

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

2. **Sign in to Spiral and approve**: Grok opens Spiral: sign in, pick the organization and click Authorize. Spiral gives the connection its own API key; Grok never sees it, and you can remove the connection under Settings › Connected apps.

3. **Check that it is connected**: Connect Apps › Custom shows Spiral as Connected. It works in every Grok chat and Grok bot.

### Use the Spiral skill

1. **Send Grok 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 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: Grok finds BLS consumer price index on Spiral, shows the price and runs it.

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

## 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 Grok?

Turn BLS results into a briefing on consumer prices and the labor market in a specific U.S. place. Ask the agent to explain the selected measures using their BLS descriptions and published periods.

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

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

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

## Questions about BLS consumer price index in Grok

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

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

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

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

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

No. Spiral runs BLS consumer price index 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 consumer price index in Grok?**

About two minutes: add a custom connector, then sign in to Spiral and approve, then check that it is connected.

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

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

