get_unemployment
Pack: econdata · Endpoint: https://gateway.pipeworx.io/econdata/mcp
Get US civilian unemployment rate trends over time. Returns monthly rates by year and month for analysis and forecasting.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
start_year | string | no | Start year as 4-digit string (e.g. “2020”). Optional. |
end_year | string | no | End year as 4-digit string (e.g. “2024”). Optional. |
Example call
Arguments
{
"start_year": "2019",
"end_year": "2024"
}
curl
curl -X POST https://gateway.pipeworx.io/econdata/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_unemployment","arguments":{"start_year":"2019","end_year":"2024"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('get_unemployment', {
"start_year": "2019",
"end_year": "2024"
});
Response shape
Always returns: series_id, description, unit, start_year, end_year, total, data
| Field | Type | Description |
|---|---|---|
series_id | string | BLS series ID (LNS14000000) |
description | string | Series description |
unit | string | Unit of measurement (percent) |
start_year | string | null | Start year filter if provided, null otherwise |
end_year | string | null | End year filter if provided, null otherwise |
total | integer | Total number of data points returned |
data | array | Monthly unemployment rate data |
Full JSON Schema
{
"type": "object",
"properties": {
"series_id": {
"type": "string",
"description": "BLS series ID (LNS14000000)"
},
"description": {
"type": "string",
"description": "Series description"
},
"unit": {
"type": "string",
"description": "Unit of measurement (percent)"
},
"start_year": {
"type": [
"string",
"null"
],
"description": "Start year filter if provided, null otherwise"
},
"end_year": {
"type": [
"string",
"null"
],
"description": "End year filter if provided, null otherwise"
},
"total": {
"type": "integer",
"description": "Total number of data points returned"
},
"data": {
"type": "array",
"description": "Monthly unemployment rate data",
"items": {
"type": "object",
"properties": {
"year": {
"type": "string",
"description": "Year of the observation"
},
"month": {
"type": "string",
"description": "Month name (e.g., January)"
},
"period": {
"type": "string",
"description": "Period code (e.g., M01)"
},
"rate": {
"type": "number",
"description": "Unemployment rate as percentage"
}
},
"required": [
"year",
"month",
"period",
"rate"
]
}
}
},
"required": [
"series_id",
"description",
"unit",
"start_year",
"end_year",
"total",
"data"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"econdata": {
"url": "https://gateway.pipeworx.io/econdata/mcp"
}
}
}
See Getting Started for client-specific install steps.