Spiral gives your agent every tool with one account. Browse the tools →

Cursor · Finance

How to Use BLS consumer price index in Cursor

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.

Prompts to try with BLS consumer price index in Cursor

Copy an example into Cursor, or ask in your own words.

Use BLS consumer price index to look this up and give me the result as a table. Save the result in ./assets.

BLS consumer price indexCursor
Try asking
  • 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 Cursor

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

Use Spiral's MCP server

  1. Add the hosted server

    Use Add to Cursor on the console's Agents & MCP page, or add this to .cursor/mcp.json (one project) or ~/.cursor/mcp.json (every project):

    {
      "mcpServers": {
        "spiral": { "url": "https://api.spiral.ai/mcp" }
      }
    }
  2. Sign in

    Open Cursor Settings › MCP, click Connect next to spiral, sign in to Spiral and click Authorize. No API key. Spiral then shows as connected, with its tools listed.

Use the Spiral skill

  1. Send Cursor 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.

    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.

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

BLS consumer price index providers and prices

Spiral runs BLS consumer price index through Alexandria. Open a card for today's price, with every fee included.

AlexandriaFinance
BLS labor statistics · Bls cpi
bls-gov/economic-statistics/bls_cpi

Settings you can ask for

Ask Cursor for any of these in your prompt.

SettingAllowed valuesDefaultDescription
Categoryall_items, core, food, food_at_home, food_away_from_home, energy, gasoline, electricity and 17 more

CPI-U expenditure category.

End year1900 to 2100

end_year

Start year1900 to 2100

start_year

Seasonally adjustedon or off

Seasonally adjusted (CUSR) instead of unadjusted (CUUR). Only available for area_code 0000.

Every API field of BLS labor statistics · Bls cpi is on its tool page: open its card above.

What can you do with BLS consumer price index in Cursor?

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.

Questions about BLS consumer price index in Cursor

Can Cursor use BLS consumer price index?

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

How much does BLS consumer price index cost in Cursor?

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

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

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 Cursor?

About two minutes: add the hosted server, then sign in.

Does Cursor wait while BLS consumer price index runs?

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

Get started

Start using BLS consumer price index in Cursor

One Spiral account for every tool your agent needs. No subscription; you pay per run.

Paste this into Cursor:

Set up Cursor

set up https://spiral.ai/SKILL.md
Are you an AI agent? See setup options