monthly_sales_series
Pack: census-business · 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/monthly_sales_series for the schema, then POST the same URL with its arguments for the data.
Monthly or quarterly industry sales series from the Census Bureau economic indicators: Monthly Retail Trade Survey (program “mrts”: retail and food services sales, default category 44X72 total) and Quarterly Services Survey (program “qss”). Returns the time series with seasonal adjustment and error flag. Pass list_codes true to see which category and data-type codes a program publishes before asking for a series. U.S. Census Bureau.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
program | string | no | mrts = Monthly Retail Trade, qss = Quarterly Services Survey (default mrts). |
category_code | string | no | Industry category code the program publishes (mrts default “44X72”, retail and food services total). |
data_type_code | string | no | Measure code (mrts default “SM”, sales). Use list_codes to see the program’s codes. |
seasonally_adj | string | no | Seasonally adjusted (default “yes”). |
from | string | no | First period, “YYYY” or “YYYY-MM” (default: two years back). |
to | string | no | Last period, “YYYY” or “YYYY-MM” (default: latest). |
list_codes | boolean | no | List the category and data-type codes instead of a series. |
Example call
Arguments
{
"program": "mrts",
"from": "2024-01"
}
curl
curl -X POST https://gateway.pipeworx.io/census-business/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"monthly_sales_series","arguments":{"program":"mrts","from":"2024-01"}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('monthly_sales_series', {
"program": "mrts",
"from": "2024-01"
});
Response shape
Full JSON Schema
{}
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 census-business pack
{
"mcpServers": {
"census-business": {
"url": "https://gateway.pipeworx.io/census-business/mcp"
}
}
}
See Getting Started for client-specific install steps.