# BLS Public Data API MCP for AI Agents AI Agent Connect

> BLS Public Data API lets your AI agent pull real-time labor statistics and economic indicators from the Bureau of Labor Statistics. It handles complex time series data, CPI markers, and unemployment rates so you can audit trends without navigating government portals. It turns your AI into a real-time economic analyst that handles the heavy lifting of data retrieval for your research.

## Overview
- **Category:** data-analytics
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_47awxtKfX9CEteo5y3jUQDLTbO4ppm7vv5ysYpcO/ai-agent-connect
- **Tags:** economic-indicators, labor-statistics, time-series-data, macroeconomics, public-data, trend-analysis

## Description

Stop wrestling with clunky government websites to find the numbers you need. This Connector lets your agent pull official labor statistics and economic indicators directly into your chat. You can ask for specific time series data, check unemployment trends, or pull the Consumer Price Index without ever touching a portal. It turns your AI into a real-time economic analyst that handles the heavy lifting of data retrieval for your research. You no longer have to copy and paste values from tables or search through nested menus. Instead, you just state what you need to see. This Connector is part of the Vinkius catalog, making it easy to plug into your existing stack. It moves your research from manual searching to conversational querying. You get verified data from the authoritative source for United States labor statistics, ensuring your reports are backed by the right numbers. Whether you're looking for regional economic constraints or national inflation markers, your agent handles the API calls and returns the data you actually care about. You can audit historical trends to see how economic scales have shifted over time or pull unique series identifiers for deep-dive classification. It takes the friction out of staying informed.

## Tools

### check_api_status
Check if the BLS Public Data service is currently operational. This ensures your agent doesn't waste time on a downed connection.

### get_bls_timeseries_data
Get historical data for specific BLS series IDs like the Consumer Price Index. This allows for rapid retrieval of multi-year economic trends.

## Prompt Examples

**Prompt:** 
```
Get Consumer Price Index (CPI) data for the last 5 years.
```

**Response:** 
```
I've pulled the CPI data for you. Here is the summary for the last 5 years:

| Year | CPI Value |
| :--- | :--- |
| 2023 | [Value] |
| 2022 | [Value] |
| 2021 | [Value] |
| 2020 | [Value] |
| 2019 | [Value] |

**Key Trend:** The data shows a steady [increase/decrease] in inflation markers over this period. Would you like a more detailed breakdown of the monthly percent changes?
```

**Prompt:** 
```
Show employment statistics for series 'LNS14000000' (Unemployment Rate).
```

**Response:** 
```
I've retrieved the unemployment rate data for series LNS14000000. 

* **Latest Rate:** [Value]% 
* **Period:** [Period] 

I can also audit other related employment markers if you need to see how this compares to other labor categories.
```

**Prompt:** 
```
Compare data for series 'WPUFD4' and 'WPUFD491' from 2020 to 2023.
```

**Response:** 
```
I've retrieved the data for both series. Here is the comparative breakdown:

* **Series WPUFD4:** [Trend/Value Description]
* **Series WPUFD491:** [Trend/Value Description]

There are notable differences in the distribution of values between these two markers from 2020 to 2023. Let me know if you need the specific metadata for these series.
```

## Capabilities

### Pull historical time series
Fetch data for specific BLS identifiers like CPI or unemployment rates.

### Check service availability
Verify that the BLS Public Data service is online before starting a task.

### Audit labor trends
Review historical statistics to see how labor markets have shifted over time.

### Identify fiscal markers
Query specific series IDs to find relevant economic indicators for your research.

### Retrieve metadata
Get unique series identifiers and year-based data for better classification.

## Use Cases

### Inflation Reporting
A journalist asks for the last 5 years of CPI data. The agent uses get_bls_timeseries_data to pull the numbers and summarize the trend.

### Policy Briefing
A policy analyst needs to see unemployment rates for a specific region. The agent identifies the correct series and retrieves the data.

### Macroeconomic Research
A researcher wants to compare two different economic markers from 2020 to 2023. The agent pulls both sets and provides a comparison.

### Data Auditing
An operations lead wants to check if the data source is live before running a batch report. The agent uses check_api_status to verify.

## Benefits

- Skip the government portal by using get_bls_timeseries_data to pull data directly into your chat.
- Verify your research instantly with data from the authoritative source for US labor statistics.
- Audit inflation markers and unemployment trends without manual copy-pasting from tables.
- Get real-time status updates with check_api_status to keep your research workflow moving.
- Identify relevant fiscal markers by asking your agent to find specific series IDs for you.
- Retrieve unique series identifiers to help classify complex economic data sets quickly.

## How It Works

The bottom line is you get official government economic data through a simple chat interface.

1. Subscribe to the Connector via the Vinkius marketplace
2. Enter your BLS Registration Key in the configuration
3. Ask your AI client to pull specific labor stats or economic trends

## Frequently Asked Questions

**Can I use the BLS Public Data API to get real-time news headlines?**
No, this Connector is designed for pulling official labor statistics and economic indicators, not news. It provides historical and current data points like CPI and unemployment rates.

**Do I need a special key to use the BLS Public Data API?**
Yes, you will need a BLS Registration Key. Once you have it, you can add it to your Connector configuration to start pulling data.

**Can the BLS Public Data API help me with inflation research?**
Yes, it is perfect for that. You can use it to pull the Consumer Price Index (CPI) and other fiscal markers to audit inflation trends over time.

**Is the data from the BLS Public Data API accurate for academic papers?**
Yes, it pulls directly from the authoritative Bureau of Labor Statistics, making it a reliable source for verified economic data in academic and professional research.

**How do I connect the BLS Public Data API to my AI client?**
You can connect it through the Vinkius marketplace. Once you subscribe and add your registration key, your AI client can start querying the data for you.

**What kind of labor statistics can I get with the BLS Public Data API?**
You can access a wide range of stats, including unemployment rates, labor force participation, and various regional economic constraints by querying specific series IDs.

**How do I find my BLS Registration Key?**
Register for an account at the [**BLS developer portal**](https://data.bls.gov/registrationEngine/), and you will receive your Registration Key via email. Copy and paste it below.

**What is a series ID?**
A series ID is a unique code identifying a specific statistical dataset, such as 'CUUR0000SA0' for the Consumer Price Index.

**Can I query multiple series at once?**
Yes. The `get_bls_timeseries_data` tool accepts an array of series IDs to retrieve metadata for multiple datasets in a single request.