cdc_hospital_admissions
Pack: cdc · 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/cdc_hospital_admissions for the schema, then POST the same URL with its arguments for the data.
Latest weekly national or state hospital admissions for confirmed COVID-19, influenza, and RSV from CDC NHSN Hospital Respiratory Data. Returns the week ending date, admission counts, rates per 100,000, CDC admission levels, and reporting-hospital coverage. Defaults to the USA national row and COVID-19; use jurisdiction for a state or territory and pathogen for influenza or RSV.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
jurisdiction | string | yes | USA for the national row (default), or a two-letter state or territory code such as CA, PR, or VI. |
pathogen | string | yes | Pathogen to highlight: covid, influenza, or rsv. Defaults to covid; the response also includes all three pathogens. |
Example call
Arguments
{}
curl
curl -X POST https://gateway.pipeworx.io/cdc/mcp \
-H 'Content-Type: application/json' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"cdc_hospital_admissions","arguments":{}}}'
TypeScript (@pipeworx/sdk)
import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();
const result = await pipeworx.call('cdc_hospital_admissions', {});
More examples
{
"jurisdiction": "CA",
"pathogen": "influenza"
}
Response shape
Always returns: found, jurisdiction, pathogen, source
| Field | Type | Description |
|---|---|---|
found | boolean | Whether a weekly row was found. |
jurisdiction | string | CDC jurisdiction code returned. |
week_ending | string | null | Latest week ending date. |
data_as_of | string | null | Date represented by the returned row. |
pathogen | string | Selected pathogen highlighted in admissions. |
admissions | object | |
all_pathogens | object | |
message | string | Explanation when no row was found. |
source | string | CDC NHSN dataset attribution. |
note | string | Caveat about preliminary surveillance data. |
Full JSON Schema
{
"type": "object",
"properties": {
"found": {
"type": "boolean",
"description": "Whether a weekly row was found."
},
"jurisdiction": {
"type": "string",
"description": "CDC jurisdiction code returned."
},
"week_ending": {
"type": [
"string",
"null"
],
"description": "Latest week ending date."
},
"data_as_of": {
"type": [
"string",
"null"
],
"description": "Date represented by the returned row."
},
"pathogen": {
"type": "string",
"description": "Selected pathogen highlighted in admissions."
},
"admissions": {
"type": "object",
"properties": {
"pathogen": {
"type": "string"
},
"admissions": {
"type": [
"number",
"null"
]
},
"rate_per_100k": {
"type": [
"number",
"null"
]
},
"admission_level": {
"type": [
"string",
"null"
]
},
"hospitals_reporting": {
"type": [
"number",
"null"
]
},
"reporting_hospital_percent": {
"type": [
"number",
"null"
]
}
}
},
"all_pathogens": {
"type": "object",
"properties": {
"covid_19": {
"type": "object"
},
"influenza": {
"type": "object"
},
"rsv": {
"type": "object"
}
}
},
"message": {
"type": "string",
"description": "Explanation when no row was found."
},
"source": {
"type": "string",
"description": "CDC NHSN dataset attribution."
},
"note": {
"type": "string",
"description": "Caveat about preliminary surveillance data."
}
},
"required": [
"found",
"jurisdiction",
"pathogen",
"source"
]
}
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 cdc pack
{
"mcpServers": {
"cdc": {
"url": "https://gateway.pipeworx.io/cdc/mcp"
}
}
}
See Getting Started for client-specific install steps.