Economic Data
live FinanceUS unemployment rate, CPI inflation, and employment figures from the Bureau of Labor Statistics
Tools
get_series
required: series_id Fetch a BLS time series by series ID. Returns data points with year, period, and value.
series_id req string BLS series ID (e.g. "CUUR0000SA0" for CPI) start_year opt string Start year as 4-digit string (e.g. "2020"). Optional. end_year opt string End year as 4-digit string (e.g. "2024"). Optional. Try it
get_unemployment Get the US civilian unemployment rate over time (BLS series LNS14000000). Returns year, month, and rate for each period.
start_year opt string Start year as 4-digit string (e.g. "2020"). Optional. end_year opt string End year as 4-digit string (e.g. "2024"). Optional. Try it
get_cpi Get the US Consumer Price Index for All Urban Consumers (BLS series CUUR0000SA0). Returns year, month, and index value.
start_year opt string Start year as 4-digit string (e.g. "2020"). Optional. end_year opt string End year as 4-digit string (e.g. "2024"). Optional. Try it
get_employment_by_industry Get US non-farm payroll employment figures by industry. Options: "total_nonfarm", "manufacturing", "construction", "retail", "financial", "government". Returns employment in thousands.
industry opt string Industry to retrieve. One of: "total_nonfarm", "manufacturing", "construction", "retail", "financial", "government". start_year opt string Start year as 4-digit string. Optional. end_year opt string End year as 4-digit string. Optional. Try it
Test with curl
The gateway speaks JSON-RPC 2.0 over HTTP POST. You can test any pack directly from the terminal.
curl -X POST https://gateway.pipeworx.io/econdata/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' curl -X POST https://gateway.pipeworx.io/econdata/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"get_series","arguments":{"series_id": "LNS14000000"}}}' Use with the SDK
Install @pipeworx/sdk to call tools from any TypeScript/Node project.
import { Pipeworx } from '@pipeworx/sdk';
const px = new Pipeworx();
const result = await px.call("get_series", {"series_id":"example"}); // Or ask in plain English:
const answer = await px.ask("us unemployment rate, cpi inflation, and employment figures from the bureau of labor statistics");