bls_latest
Pack: bls · Endpoint: https://gateway.pipeworx.io/bls/mcp
Get the most recent data point for a BLS series. Returns latest value and date. Use when you need current figures without historical context.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
series_id | string | yes | BLS series ID (e.g., “LNS14000000”) |
_apiKey | string | no | BLS registration key (optional) |
Example call
Arguments
{
"series_id": "LNS14000000",
"_apiKey": "your-bls-api-key"
}
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_latest","arguments":{"series_id":"LNS14000000","_apiKey":"your-bls-api-key"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('bls_latest', {
"series_id": "LNS14000000",
"_apiKey": "your-bls-api-key"
});
Response shape
Always returns: series_id, title, latest
| Field | Type | Description |
|---|---|---|
series_id | string | BLS series identifier |
title | string | null | Series title from catalog, or null if not found |
latest | object | Most recent data point |
Full JSON Schema
{
"type": "object",
"properties": {
"series_id": {
"type": "string",
"description": "BLS series identifier"
},
"title": {
"type": [
"string",
"null"
],
"description": "Series title from catalog, or null if not found"
},
"latest": {
"type": "object",
"description": "Most recent data point",
"properties": {
"year": {
"type": "string",
"description": "Year of the latest data point"
},
"period": {
"type": "string",
"description": "Period code (e.g., M01 for January)"
},
"period_name": {
"type": "string",
"description": "Human-readable period name"
},
"value": {
"type": "string",
"description": "Latest value"
}
},
"required": [
"year",
"period",
"period_name",
"value"
]
}
},
"required": [
"series_id",
"title",
"latest"
]
}
Connect
Add this to your MCP client config, or use one-click install buttons:
{
"mcpServers": {
"bls": {
"url": "https://gateway.pipeworx.io/bls/mcp"
}
}
}
See Getting Started for client-specific install steps.