neiss_injuries
Pack: neiss · 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/neiss_injuries for the schema, then POST the same URL with its arguments for the data.
National WEIGHTED estimate of consumer-product-related emergency-department injuries from CPSC’s NEISS surveillance system — “how many people were injured by X”, “ER visits from Y last year”. Pass either an exact 4-digit product_code (see neiss_product_codes) or a free-text product name to resolve. Returns the national estimate (NOT a raw case count — NEISS samples ~100 hospitals and CPSC’s own estimate is the sum of each sampled case’s statistical weight) plus the underlying sample size. Estimates built from fewer than ~20 sampled cases are flagged unstable per CPSC convention and should not be quoted as precise. Optionally narrow by age_range. Covers emergency-department-treated injuries only, not deaths, hospitalizations elsewhere, or injuries that did not reach an ED.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
product_code | string | no | Exact 4-digit CPSC NEISS product code, e.g. “1842”. Leading zeros optional. |
product | string | no | Free-text product name instead of a code, e.g. “stairs”, “swimming pools”. Matched case-insensitively against NEISS product titles; ambiguous matches return candidates instead of a number. |
year | number | no | A single calendar year, e.g. 2024. Default: the most recent year loaded (the response says which). |
from_year | number | no | Start of a year range instead of a single year (inclusive). |
to_year | number | no | End of a year range (inclusive). Requires from_year. |
age_range | string | no | Patient age bucket at time of injury. Default “all” (every age, including unknown). |
Example call
Arguments
{
"product_code": "1842",
"year": 2024
}
curl
curl -X POST https://gateway.pipeworx.io/neiss/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"neiss_injuries","arguments":{"product_code":"1842","year":2024}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('neiss_injuries', {
"product_code": "1842",
"year": 2024
});
More examples
{
"product": "stairs or steps",
"year": 2024,
"age_range": "0-4"
}
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 neiss pack
{
"mcpServers": {
"neiss": {
"url": "https://gateway.pipeworx.io/neiss/mcp"
}
}
}
See Getting Started for client-specific install steps.