bls_injury_illness_rates
Pack: bls · Connect: https://pipeworx.io/mcp (see Connect below for a single-pack URL)
No MCP client? Call it directly: GET https://gateway.pipeworx.io/v1/tools/bls_injury_illness_rates for the schema, then POST the same URL with its arguments for the data.
Workplace injury and illness rates by INDUSTRY from the Bureau of Labor Statistics, Survey of Occupational Injuries and Illnesses (private industry, all establishment sizes): total recordable case rate, days-away-from-work rate, days-away/restricted/transfer (DART) rate and other recordable rate, per 100 full-time workers, by NAICS code (3 to 6 digits, e.g. “49312” refrigerated warehousing, “722511” full-service restaurants). Builds the series ids for you (bls_get_series needs them). Says which years are published; if the requested year is not out yet it returns the latest available year and says so. Answers “total recordable incident rate for NAICS 49312”, “DART rate for
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
naics | string | yes | NAICS industry code, 3 to 6 digits (e.g. “49312”, “238220”, “622”). Shorter codes are padded; not every level is published for every industry. |
start_year | string | no | First year (default: current year minus 3). |
end_year | string | no | Last year (default: current year). |
case_types | array | no | Which case types to return (default: total_recordable, days_away, days_away_restricted_transfer). |
items | string | no | |
measure | string | no | ”rate” (cases per 100 full-time workers, default) or “count” (cases in thousands). |
_apiKey | string | no | BLS registration key (optional) |
Example call
Arguments
{
"naics": "49312",
"start_year": "2023",
"end_year": "2025"
}
curl
curl -X POST https://gateway.pipeworx.io/bls/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bls_injury_illness_rates","arguments":{"naics":"49312","start_year":"2023","end_year":"2025"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('bls_injury_illness_rates', {
"naics": "49312",
"start_year": "2023",
"end_year": "2025"
});
Response shape
| Field | Type | Description |
|---|---|---|
status | string | |
naics | string | |
ownership | string | |
establishment_size | string | |
latest_year_available | string | |
note | string | |
results | array | |
source | string |
Full JSON Schema
{
"type": "object",
"properties": {
"status": {
"type": "string"
},
"naics": {
"type": "string"
},
"ownership": {
"type": "string"
},
"establishment_size": {
"type": "string"
},
"latest_year_available": {
"type": "string"
},
"note": {
"type": "string"
},
"results": {
"type": "array",
"items": {
"type": "object",
"properties": {
"case_type": {
"type": "string"
},
"case_type_label": {
"type": "string"
},
"series_id": {
"type": "string"
},
"unit": {
"type": "string"
},
"observation_order": {
"type": "string"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"year": {
"type": "string"
},
"value": {
"type": "string"
}
},
"additionalProperties": true
}
}
},
"additionalProperties": true
}
},
"source": {
"type": "string"
}
},
"additionalProperties": true
}
Connect
Add this to your MCP client config — every tool in the catalog, including this one — or use one-click install buttons:
{
"mcpServers": {
"pipeworx": {
"url": "https://pipeworx.io/mcp"
}
}
}
Connect to just the bls pack
{
"mcpServers": {
"bls": {
"url": "https://gateway.pipeworx.io/bls/mcp"
}
}
}
See Getting Started for client-specific install steps.