MCP Hcup Inpatient Stats
MCP server by pipeworx-io Verified · npm:@pipeworx
Returns national U.S. hospital inpatient discharge counts, costs and sepsis outcomes from AHRQ's HCUP statistical briefs. Built for epidemiology and market-sizing research, and keyless for basic use.
Install MCP Hcup Inpatient Stats
Built from the published package, never by AI.
claude mcp add mcp-hcup-inpatient-stats -- npx -y @pipeworx/mcp-hcup-inpatient-statsRun in your terminal. Add --scope user to use it in every project.
Step-by-step: install MCP Hcup Inpatient Stats in Claude Code
{
"mcpServers": {
"mcp-hcup-inpatient-stats": {
"args": [
"-y",
"@pipeworx/mcp-hcup-inpatient-stats"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
Step-by-step: install MCP Hcup Inpatient Stats in Claude Desktop
{
"mcpServers": {
"mcp-hcup-inpatient-stats": {
"args": [
"-y",
"@pipeworx/mcp-hcup-inpatient-stats"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"mcp-hcup-inpatient-stats": {
"args": [
"-y",
"@pipeworx/mcp-hcup-inpatient-stats"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add mcp-hcup-inpatient-stats -- npx -y @pipeworx/mcp-hcup-inpatient-stats{
"mcpServers": {
"mcp-hcup-inpatient-stats": {
"args": [
"-y",
"@pipeworx/mcp-hcup-inpatient-stats"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install MCP Hcup Inpatient Stats in Antigravity CLI
gemini mcp add mcp-hcup-inpatient-stats npx -y @pipeworx/mcp-hcup-inpatient-statsGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
Step-by-step: install MCP Hcup Inpatient Stats in Gemini CLI
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the mcp-hcup-inpatient-stats block.
About
The hcup-inpatient-stats server gives an AI assistant national U.S. hospital inpatient figures from the Agency for Healthcare Research and Quality's Healthcare Cost and Utilization Project (HCUP). It offers the top 20 most expensive principal-diagnosis conditions for 2022 or 2017, with discharge counts, aggregate cost and mean cost per stay. It also reports national sepsis length of stay and cost by year from 2016 to 2021.
The numbers come from AHRQ's public Statistical Brief reports, not live queries, and basic use needs no key. It is aimed at people who need hospitalization and cost figures for epidemiology or market sizing. Heart failure prevalence is not included because no public NCHS or CDC table was found.
Written from the project's README and checked against it.
Tools it gives your assistant
condition_hospital_costsLists the top 20 costliest principal-diagnosis conditions nationally for 2022 or 2017, with optional filters.sepsis_hospital_outcomesGives national sepsis average length of stay and mean cost per stay by year, 2016 to 2021.
What you need
- Node.js, to run the optional npm bridge with npx
- Network access to gateway.pipeworx.io
- Optional free Pipeworx API key for 200 calls a day
Try asking
- How many heart failure hospitalizations were there nationally in 2022?
- What was the mean cost per stay for sepsis in 2021?
- Which conditions had the highest total hospital costs in 2017?
Good to know
- Figures are aggregate statistics from AHRQ reports, not live queries.
- Costs are hospital production costs and exclude separately billed physician fees.
- Anonymous use is capped at 50 calls a day.
- Heart failure prevalence is not included.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to MCP Hcup Inpatient Stats
All alternatives →Standardizes lab test names to LOINC codes and units to UCUM, and symptoms and diagnoses to ICPC-3, offline and with no API key. Built for people who want their health records on their own machine and queryable by an AI agent over MCP.
RuView is a WiFi sensing platform and MCP server that uses low-cost ESP32 sensors to detect people, breathing and heart rate. It is for developers and operators who want room sensing without cameras or wearables.
ToolUniverse is an MCP server that gives AI assistants access to more than 2,700 scientific tools for life science, research and literature. It is aimed at AI scientists, researchers and developers building research systems.
Mirobody is a self-hosted engine that turns lab reports, wearable data and genetic files into a single health record. Its built-in MCP server lets an AI assistant query that record and trace each number back to its source file. It is for people who want their health data on their own machine.
ScanSci PDF gets academic papers for AI agents. Give it a DOI, arXiv ID, article link, reference list or research question, and it searches candidate sources and tries to fetch accessible full texts. It is for students, researchers and labs.
Searches CNKI and Web of Science through an MCP server, returning records with impact factors. It can also open a paper in the user's signed-in browser and read its full text. Built for researchers who want AI answers on science topics backed by the source article.
Compare with Mirobody, Ruview or tooluniverse
MCP Hcup Inpatient Stats: common questions
Does this server return live HCUP data?
No. The figures come from AHRQ's static Statistical Brief reports, because the live HCUPnet and HCUP Fast Stats tools were unreliable to query from the gateway.
Does it use HCUP's NIS or NRD microdata?
No. The pack states it never touches the NIS or NRD files, which are governed by a Data Use Agreement.
How often is the data updated?
There is no fixed schedule. AHRQ posts new briefs irregularly, and the maintainers update the data by hand after checking for them.
How do I install MCP Hcup Inpatient Stats?
In Claude Code run claude mcp add mcp-hcup-inpatient-stats -- npx -y @pipeworx/mcp-hcup-inpatient-stats. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is MCP Hcup Inpatient Stats the official server?
MCP Hcup Inpatient Stats is published by npm:@pipeworx from its verified domain in the official MCP Registry.
Is MCP Hcup Inpatient Stats free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is MCP Hcup Inpatient Stats safe to use?
It scores 76 of 100. Grades: maintenance A, licence A, quality C. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to MCP Hcup Inpatient Stats?
Similar MCP servers: Mirobody, Ruview, tooluniverse, Mirobody.
Does MCP Hcup Inpatient Stats work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
