{"uid":"cap_LSGN7zO-Mxn2iwmVg9M72","slug":"magent-cerebral-perfusion-pressure-cpp-calculator-b02db5f3","name":"magent Cerebral Perfusion Pressure (CPP) Calculator","description":"Cerebral perfusion pressure from caller-supplied MAP and ICP in mm Hg: CPP = MAP − ICP, rounded to 1 decimal. Returns cpp_ge_70 when CPP is at least 70 mm Hg (Rosner 1995 protocol minimum). magent does not measure MAP or ICP and is not an invasive monitor. Not a medical device and not a treatment protocol.","url":"https://api.magentlab.com/api/calc/cpp","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","required":["map_mm_hg","icp_mm_hg"],"properties":{"icp_mm_hg":{"type":"number","description":"Intracranial pressure in mm Hg (0-100). Caller-supplied; magent does not measure ICP. ICP may exceed MAP."},"map_mm_hg":{"type":"number","description":"Mean arterial pressure in mm Hg (30-180). Caller-supplied; magent does not measure MAP."}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_WsyV6KOBocA8M4pO9JkpQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Calculates cerebral perfusion pressure (CPP) from caller-supplied mean arterial pressure (MAP) and intracranial pressure (ICP) using CPP = MAP − ICP, and flags whether CPP meets the Rosner 1995 protocol minimum of 70 mm Hg.","exampleAgentPrompt":"Calculate the cerebral perfusion pressure for a patient with a mean arterial pressure of 85 mm Hg and an intracranial pressure of 18 mm Hg, and tell me whether the CPP meets the Rosner 1995 minimum of 70 mm Hg.","exampleUseCases":[{"title":"TBI monitoring CPP adequacy check","prompt":"My TBI patient has a MAP of 95 mm Hg and an ICP of 22 mm Hg — what's the CPP and does it hit the Rosner 1995 target of 70 mm Hg?"},{"title":"Automated neuro-ICU documentation","prompt":"For my neuro-ICU flow sheet, compute CPP from a MAP of 78 mm Hg and an ICP of 14 mm Hg, and flag whether it's at or above 70 mm Hg."},{"title":"Elevated ICP scenario evaluation","prompt":"If a patient's ICP spikes to 35 mm Hg while MAP stays at 80 mm Hg, what does that do to CPP and does it still meet the 70 mm Hg Rosner threshold?"}],"resultDescription":"Returns the calculated CPP value in mm Hg rounded to one decimal place, along with a boolean field cpp_ge_70 indicating whether the CPP is at or above the Rosner 1995 protocol minimum of 70 mm Hg.","failureModes":["MAP value outside the accepted range of 30–180 mm Hg returns a validation error","ICP value outside the accepted range of 0–100 mm Hg returns a validation error","Missing required query parameters (map_mm_hg or icp_mm_hg) returns a 400-level error","Non-numeric input for MAP or ICP causes a schema validation failure","Payment failure (x402) prevents the calculation from being returned"],"whenToPreferThis":"Choose this endpoint when you need a fast, deterministic arithmetic computation of CPP from already-known MAP and ICP values, particularly in automated pipelines, agent workflows, or clinical documentation tools that require the Rosner 1995 threshold flag (cpp_ge_70). It is not appropriate when MAP or ICP values are unknown — this endpoint does not measure or estimate those values.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T01:03:06.071Z","isFirstParty":false}