← All tools / Clinical Calculators
calc_pack_yearsdeterministicGeneral
Smoking Pack-Years
Cumulative cigarette exposure.
How to use
Call with the inputs below. Boolean inputs are optional (absent = false). Returns the value, an interpretation, and a breakdown. Deterministic — no network call.
Parameters
| Name | Type | Description | |
|---|---|---|---|
| packs_per_day | number | required | Packs per day (1 pack = 20 cigarettes) — unit: packs/day |
| years_smoked | number | required | Years smoked — unit: years |
Example input
{
"packs_per_day": 1,
"years_smoked": 30
}Example output
{
"calculator": "Smoking Pack-Years",
"category": "General",
"value": "30 pack-years",
"interpretation": "≥20 pack-years — meets a common threshold for lung-cancer screening eligibility (with age criteria).",
"severity": "moderate"
}Call it (MCP tools/call)
{
"method": "tools/call",
"params": {
"name": "calc_pack_years",
"arguments": {
"packs_per_day": 1,
"years_smoked": 30
}
}
}
- Endpoint:
POST https://clinical-mcp.mcharge.in/mcp(Streamable HTTP).