# BLS Prices — CPI & Inflation MCP for AI Agents MCP

> The BLS Prices — Consumer Price Index (CPI) & Inflation MCP gives your AI agents direct access to official U.S. inflation data from the Bureau of Labor Statistics. You can retrieve critical metrics, including the Consumer Price Index for urban consumers and Producer Price Index figures. This lets you track real-time cost of living changes and run historical comparisons necessary for macroeconomic modeling.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Tags:** inflation, cpi, ppi, cost-of-living, economic-indicators, public-api

## Description

Analyzing inflation used to mean pulling reports, jumping between BLS pages, and manually cross-referencing dates—a nightmare that eats up hours. Now, your AI agent handles it all. Connect this MCP and you get direct access to the economic datasets professional financial analysts rely on. You can ask your agent to calculate how much a specific basket of goods cost back in 2015 versus today, or track year-over-year changes for both consumer and producer prices.

The tool lets you pull data points like the Consumer Price Index (CPI-U), which tracks what urban consumers pay for everyday goods, and the Producer Price Index (PPI), which shows shifts in selling prices received by domestic producers. Need to model projections based on 20 years of historical inflation? Just ask. Because this MCP is hosted on Vinkius, you connect your preferred AI client once and get access to this deep, reliable source of economic truth. You stop managing data sources and start making decisions.

## Tools

### get_cpi_inflation
Fetches the Consumer Price Index (CPI-U) data, helping you identify major shifts in consumer buying power.

### query_bls
Allows advanced timeseries lookbacks for BLS data using specific series IDs, supporting up to 50 concurrent queries.

## Prompt Examples

**Prompt:** 
```
What was the inflation rate trend in 2010 compared to 2020?
```

**Response:** 
```
📊 **CPI-U Historical Trend Comparison**

The index shows a clear divergence over that decade. 

*   **Jan 2010:** Index value was ~254 (low inflation environment).
*   **Jan 2020:** Index value jumped to ~297, representing significant price increases due to various factors.

The gap between the two shows a substantial increase in cost of living that your models need to account for.
```

**Prompt:** 
```
Show me how much did the cost of housing rise from 2015 to today?
```

**Response:** 
```
📈 **Housing Cost Index Change**

Based on available data, the index shows a steep climb in this category.

*   **Approx. 2015:** Index reading was X
*   **Current Period:** Index reading is Y

The cost has risen by Z%, which significantly impacts household budgeting and market projections.
```

**Prompt:** 
```
What were the PPI fluctuations in tech components last year?
```

**Response:** 
```
📉 **PPI Sector Analysis (Tech Components)**

The data shows that input costs for technology dropped sharply in Q4, but rebounded moderately in Q1. The overall trend suggests a stabilization of supplier pricing, which could signal better margin predictability for manufacturers.
```

## Capabilities

### Calculate consumer price shifts
Get the Consumer Price Index (CPI-U) data to track how prices paid by urban consumers for a basket of goods change over time.

### Track producer selling costs
Monitor the average change in selling prices received by domestic producers using the Producer Price Index (PPI).

### Query specific historical data points
Run generic, high-volume time series queries across various BLS economic datasets when you know the exact Series ID.

## Use Cases

### Determining post-pandemic cost increases
A finance team needs to know how much prices rose between 2020 and 2024. They prompt the agent, which uses get_cpi_inflation to calculate the precise percentage increase over four years.

### Assessing industry supply chain health
A commodities analyst wants to know if input costs are stabilizing. The agent uses PPI data (via query_bls) to see if producer selling prices have cooled down from peak increases in 2022.

### Building a long-term budget forecast
A corporation needs to adjust its five-year plan. It uses the MCP's historical metrics capability to model inflation curves based on decades of CPI data, ensuring their projections are accurate.

### Comparing consumer vs. producer cost shifts
An economist wants a full picture: what did consumers pay (CPI-U) versus what producers charged (PPI)? The agent executes both datasets to give a complete market view.

## Benefits

- Instantly track changes in consumer spending. Using get_cpi_inflation lets you see the Consumer Price Index (CPI-U) shifts without manual report downloads.
- Model inflation projections with historical depth. You can query up to 20 years of consecutive data, giving your models real ballast.
- Understand input cost pressures. The MCP provides Producer Price Index (PPI) metrics so you know what's affecting businesses upstream.
- Deep dive into specific datasets. If you need a niche time series lookback, the query_bls tool handles it with explicit BLS Series IDs.
- Save hours of manual research. Instead of compiling reports from multiple government sites, your agent pulls and calculates everything in one go.

## How It Works

The bottom line is you tell your AI what economic question you have; it formats and executes the complex data request against official BLS records for a clean answer.

1. First, sign up for a free developer API key directly from the Bureau of Labor Statistics website.
2. Provide that unique key within your AI client's MCP settings on Vinkius.
3. Finally, ask your agent to perform an analysis, like calculating the inflation rate between two specific years or comparing CPI-U and PPI.

## Frequently Asked Questions

**How do I use the BLS Prices — CPI & Inflation MCP to check my budget?**
You can ask your agent directly. You just need to specify the time frame and the goods you care about, like 'What was the cost of a gallon of milk in 2018 vs now?' It gives you precise historical comparisons for better budgeting.

**Is the BLS Prices — CPI & Inflation MCP reliable for financial modeling?**
Yes. Because it pulls data directly from the Bureau of Labor Statistics, the source is official and used by major economists. This gives your models the verifiable accuracy they need.

**What's the difference between using CPI-U and PPI with this MCP?**
The CPI-U tracks what actual consumers pay for goods, focusing on the end-user cost of living. The PPI tracks what producers receive for their output—it shows business input costs.

**Can I use the BLS Prices — CPI & Inflation MCP to look at data from decades ago?**
Absolutely. The historical metrics capability allows you to query up to 20 years of consecutive inflation data, giving your agent the depth needed for long-term analysis.

**Does BLS Prices — CPI & Inflation MCP need a subscription or key?**
Yes, while Vinkius manages the connection, you must provide an active developer API Key obtained directly from the BLS site to authenticate the data requests.