BLS MCP
The BLS MCP server provides access to U.S. Bureau of Labor Statistics data (employment, unemployment, wages, CPI, and more) through the following capabilities:
get_single_series– Fetch up to 3 years of historical data for any BLS series ID (e.g.,CUUR0000SA0for CPI)get_latest_series– Retrieve only the most recent data point for a given seriesget_multiple_series– Query 1–50 series simultaneously with optional year ranges and extras like calculations, annual averages, catalog info, and aspect data (most extras require an API key)get_popular_series– List the 25 most popular BLS series, optionally filtered by survey type (e.g.,CUfor CPI,LAfor Local Area Unemployment)get_all_surveys– Browse all available BLS surveys with abbreviations and full namesget_survey– Get detailed metadata for a specific survey by its 2-letter abbreviationNatural language support – A bundled Claude skill maps conversational queries (e.g., "What's the current CPI?") to the correct series IDs and tools
Access tiers:
Unregistered: 25 daily queries, up to 25 series per query, 10-year range
Registered (API key): 500 daily queries, up to 50 series per query, 20-year range, plus enhanced data options
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@BLS MCP What's the latest Consumer Price Index (CPI) data?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
BLS MCP
An MCP (Model Context Protocol) server that wraps the Bureau of Labor Statistics Public Data API v2, letting Claude query U.S. labor statistics — employment, unemployment, wages, CPI, and more — directly from a conversation.
Disclaimer: This project is an independent, unofficial tool and is not affiliated with, endorsed by, or associated with the U.S. Bureau of Labor Statistics, the U.S. Department of Labor, or any government agency. All data is fetched in real time from the publicly available
api.bls.govAPI. The accuracy, completeness, and timeliness of the data are the sole responsibility of that API. This tool is provided for informational and research purposes only. Nothing returned by this server constitutes legal, financial, economic, or policy advice. Use responsibly and in accordance with applicable laws.
API status: The BLS Public Data API is at v0.0.2-beta and subject to change without notice. Tool behaviour may change as the upstream API evolves.
Available Tools
Tool | Endpoint | Description |
|
| Retrieve data for a single time series for the past three years |
|
| Retrieve the most recent data point for a series |
|
| Retrieve data for one or more series with optional parameters |
|
| List the 25 most popular BLS series, optionally filtered by survey |
|
| List all BLS surveys with abbreviations and names |
|
| Retrieve metadata for a single BLS survey |
Related MCP server: BLS (Bureau of Labor Statistics) MCP Server
Tool Parameters
get_single_series / get_latest_series
Parameter | Type | Description |
| string | BLS series ID (uppercase, digits, |
get_multiple_series
Parameter | Type | Required | Description |
| string[] | Yes | Array of BLS series IDs (1–50) |
| string | No | Start year in |
| string | No | End year in |
| boolean | No | Include catalog data (requires API key) |
| boolean | No | Include net/percent change calculations (requires API key) |
| boolean | No | Include annual averages (requires API key) |
| boolean | No | Include aspect data (requires API key) |
get_popular_series
Parameter | Type | Required | Description |
| string | No | 2-letter survey abbreviation (e.g. |
get_survey
Parameter | Type | Required | Description |
| string | Yes | 2-letter survey abbreviation (e.g. |
get_all_surveys — no parameters.
Series ID Format
BLS series IDs may contain uppercase letters, digits, underscores (_), dashes (-), and hashes (#). Lowercase letters and other special characters are not accepted. Examples:
LAUCN040010000000005— Local Area UnemploymentCUUR0000SA0— Consumer Price IndexCES0000000001— Current Employment StatisticsOEUN000000056--5747213213— Occupational Employment
Use get_popular_series or get_all_surveys to discover valid series IDs and survey abbreviations.
Registered vs. Unregistered Access
The BLS API works without an API key, but with reduced limits:
Unregistered | Registered | |
Daily query limit | 25 | 500 |
Series per query | 25 | 50 |
Year range | 10 years | 20 years |
Optional parameters | No | catalog, calculations, annual averages, aspects |
Register for a free API key at https://data.bls.gov/registrationEngine/ and pass it via the BLS_API_KEY environment variable.
Prerequisites
Node.js 18 or later
npm 9 or later
Claude Desktop (or any MCP-compatible client)
Installation
git clone https://github.com/larasrinath/bls_mcp.git
cd bls_mcp
npm install
npm run buildThe compiled server lands in ./dist/index.js.
Claude Desktop Configuration
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
Add the following block (adjust the path to match your machine):
{
"mcpServers": {
"bls": {
"command": "node",
"args": ["/absolute/path/to/bls_mcp/dist/index.js"],
"env": {
"BLS_API_KEY": "your-registration-key-here"
}
}
}
}The env block is optional — omit it to use the API without a key (lower rate limits apply).
macOS/Linux example:
"args": ["/Users/yourname/Projects/bls_mcp/dist/index.js"]Windows example:
"args": ["C:\\Users\\yourname\\Projects\\bls_mcp\\dist\\index.js"]Restart Claude Desktop after saving. The six BLS tools will appear in the tool picker.
Bundled Skill
This repo includes a Claude skill at skills/bls-query/ that teaches Claude how to map natural language queries (e.g. "What's the current CPI?") to the correct BLS series IDs and tools — without guessing.
The skill includes a series catalog covering CPI, unemployment, employment, JOLTS, PPI, wages, productivity, and more (~100 common series IDs).
To install for Claude Code: Copy the skills/bls-query folder into ~/.claude/skills/.
To install for Claude.ai: Upload the skills/bls-query folder via Settings > Capabilities > Skills.
Example Prompts
What is the current unemployment rate? (use
get_popular_seriesto find the series, thenget_latest_series)Show me CPI data for the last 3 years using series CUUR0000SA0.
Compare employment data for series CES0000000001 and CES3000000001 from 2020 to 2024.
What BLS surveys are available?
Tell me about the American Time Use survey.
What are the most popular Local Area Unemployment series?
Development
# Run directly without building (uses tsx, included in devDependencies)
npm run dev
# Rebuild after changes
npm run buildProject Structure
bls_mcp/
├── src/
│ ├── index.ts # MCP server entry point
│ ├── client.ts # Typed BLS API client (axios)
│ └── tools/
│ ├── series.ts # get_single_series, get_latest_series, get_multiple_series
│ └── surveys.ts # get_popular_series, get_all_surveys, get_survey
├── skills/
│ └── bls-query/
│ ├── SKILL.md # Query workflow and tool selection guide
│ └── references/
│ └── series-catalog.md # ~100 common series ID mappings
├── package.json
├── tsconfig.json
├── LICENSE
└── README.mdRate Limits
The BLS API enforces daily query limits (25 for unregistered, 500 for registered users). If you hit a rate limit, the server surfaces a clear error message rather than crashing silently. Register for a free API key to increase your limits.
License
MIT — see LICENSE.
Available Tools
6 toolsget_all_surveysB
Retrieve a list of all BLS surveys with their abbreviations and names.
Inputs: no named parameters.
get_latest_seriesB
Retrieve the most recent data point for a given BLS series ID.
Inputs: series_id (required).
get_multiple_seriesA
Retrieve data for one or more BLS time series. Registered users can include up to 50 series IDs. Optionally specify start/end years (up to 20-year range), and enable catalog, calculations, annual averages, or aspects.
Inputs: series_ids (required), start_year, end_year, catalog, +3 more.
get_popular_seriesA
Retrieve the 25 most popular BLS series IDs overall or for a specific survey. Optionally provide a survey abbreviation to filter by survey.
Inputs: survey.
get_single_seriesA
Retrieve data for a single BLS time series for the past three years. Provide a valid BLS series ID (uppercase letters, numbers, underscores, dashes, hashes only).
Inputs: series_id (required).
get_surveyA
Retrieve metadata for a single BLS survey by its abbreviation.
Inputs: survey_abbreviation (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool targets a distinct aspect of BLS data: surveys, single series, multiple series, latest, popular, and survey metadata. No overlap or ambiguity.
All tools follow a consistent 'get_' prefix with descriptive noun phrases (e.g., get_all_surveys, get_latest_series), making it easy to infer functionality.
With 6 tools, the set is well-scoped for a data retrieval API—neither too sparse nor overloaded.
Covers core operations: listing surveys, retrieving single/multiple series, popular series, and latest data. Missing search or filtering by year for single series, but overall quite complete.
Maintenance
Related MCP Connectors
Fetch US Bureau of Labor Statistics data — CPI, unemployment, wages, JOLTS, and more via MCP.
BLS Occupational Employment and Wage Statistics market wages, bundled; no API key. 8 tools.
Macro data for AI agents: GDP, inflation, unemployment and more (World Bank, US BLS). No keys.
Macro data for AI agents: GDP, inflation, unemployment and more (World Bank, US BLS). No keys.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables access to Bureau of Labor Statistics (BLS) economic data including Consumer Price Index, employment statistics, and other labor market indicators. Supports fetching data series, listing available datasets, and retrieving metadata through natural language queries.4MIT
- FlicenseNot gradedqualityDmaintenanceProvides access to U.S. labor market data including employment statistics, Consumer Price Index inflation rates, and wage information. Users can query specific time series data or use shortcuts for common economic indicators like unemployment and industry-specific employment.3-
- AlicenseNot gradedqualityNot gradedmaintenanceProvides access to worldwide labor market data including unemployment, wages, and employment statistics from BLS (US) and Eurostat (EU). Offers tools for comparing countries and sectors, and retrieving occupation outlooks.MIT
- AlicenseNot gradedqualityCmaintenanceWraps the Bureau of Labor Statistics public API v2 to provide economic data through natural language queries or direct tool calls.55 npmMIT