Hcup Inpatient Stats
liveHealthHCUP Inpatient Stats — national hospitalization discharges, costs and outcomes by condition and year.
Tools
condition_hospital_costsNational U.S. inpatient hospital discharges and aggregate costs by principal diagnosis (CCSR category) and year, from AHRQ HCUP's published "Most Expensive Conditions by Payer" Statistical Brief serie
No parameters required.
Try it
sepsis_hospital_outcomesNational U.S. inpatient hospital length of stay and mean cost per stay for sepsis (principal diagnosis), by patient population and year, 2016-2021, from AHRQ HCUP Statistical Brief #306. This is the o
No parameters required.
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/hcup-inpatient-stats/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'curl -X POST https://gateway.pipeworx.io/hcup-inpatient-stats/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"condition_hospital_costs","arguments":{}}}'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("condition_hospital_costs", {});// Or ask in plain English:
const answer = await px.ask("hcup inpatient stats — national hospitalization discharges, costs and outcomes by condition and year");