bls_search
Pack: bls · Endpoint: https://gateway.pipeworx.io/bls/mcp
Search BLS economic data series by keyword. Returns matching series IDs and titles. Use bls_get_series with an ID to fetch historical data points.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
keyword | string | yes | Keyword to search for (e.g., “rent”, “construction”, “unemployment”, “CPI”, “housing”) |
Example call
Arguments
{
"keyword": "unemployment"
}
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_search","arguments":{"keyword":"unemployment"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('bls_search', {
"keyword": "unemployment"
});
More examples
{
"keyword": "CPI inflation"
}
Response shape
Always returns: keyword, total_matches, series
| Field | Type | Description |
|---|---|---|
keyword | string | Search keyword that was used |
total_matches | integer | Number of matching series found |
series | array | Matching BLS series |
note | string | Note when no matches found |
Full JSON Schema
{
"type": "object",
"properties": {
"keyword": {
"type": "string",
"description": "Search keyword that was used"
},
"total_matches": {
"type": "integer",
"description": "Number of matching series found"
},
"series": {
"type": "array",
"description": "Matching BLS series",
"items": {
"type": "object",
"properties": {
"series_id": {
"type": "string",
"description": "BLS series ID"
},
"title": {
"type": "string",
"description": "Series title"
},
"category": {
"type": "string",
"description": "Series category (e.g., 'employment', 'housing', 'prices')"
},
"description": {
"type": "string",
"description": "Series description"
}
},
"required": [
"series_id",
"title",
"category",
"description"
]
}
},
"note": {
"type": "string",
"description": "Note when no matches found"
}
},
"required": [
"keyword",
"total_matches",
"series"
]
}
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.