MCP server exposing 2 tools for hcup-inpatient-stats.
This URL is a JSON-RPC 2.0 endpoint over HTTP. Issue POST requests with a JSON-RPC body. Browsers and search crawlers land here on GET.
POST https://gateway.pipeworx.io/hcup-inpatient-stats/mcp
Content-Type: application/json
{"jsonrpc":"2.0","id":1,"method":"tools/list"}
condition_hospital_costs — National 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 series — e.g. heart failure, septicemia/sepsis, acute myocardial infarction, COVID-19, stroke (cerebral infarction). Returns the top-20 most expensive conditions nationally (or filtered to one condition) with discharge counts, aggregate cost, and mean cost per stay. Years available: 2022, 2017 (AHRQ has not published a 2021 edition of this cross-condition table as of 2026-10-21). Optionally filter by expected payer (Medicare, Medicaid, private insurance, self-pay) for 2022.sepsis_hospital_outcomes — National 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 only public AHRQ cross-year table found that reports a 2021-specific national figure. Separately reports any-listed-diagnosis sepsis stay counts (a broader population than principal diagnosis) for the years AHRQ printed a figure (2016, 2019, 2021).Code samples (curl / TypeScript / one-click client install), schemas, and the live playground are on the pack page:
https://pipeworx.io/packs/hcup-inpatient-stats/
Pipeworx is an open MCP gateway connecting AI agents to live data. pipeworx.io