{"uid":"cap_Dx8rbE0ViX-KvxZWNDbj4","slug":"meld-3-0-calculator-kim-2021-f47a8f6d","name":"MELD 3.0 Calculator (Kim 2021)","description":"Kim 2021 MELD 3.0 from sex, bilirubin, INR, creatinine, sodium, albumin, and dialysis. meld_3 = round(1.33*(female) + 4.56*ln(bilirubin) + 0.82*(137-Na) - 0.24*(137-Na)*ln(bilirubin) + 9.09*ln(INR) + 11.14*ln(creatinine) + 1.85*(3.5-albumin) - 1.83*(3.5-albumin)*ln(creatinine) + 6). Creatinine 1.0-3.0 (dialysis 3.0); bilirubin and INR floor 1.0; sodium 125-137; albumin 1.5-3.5. Not original MELD or MELD-Na. Not a transplant listing or allocation order.","url":"https://api.magentlab.com/api/calc/meld_3","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":["sex","inr","sodium_mmol_l","dialysis"],"properties":{"inr":{"type":"number","description":"INR (0.8-10). Kim 2021 floors at 1.0."},"sex":{"enum":["female","male"],"type":"string","description":"Sex used in the Kim 2021 female term (female adds 1.33)."},"dialysis":{"type":"boolean","description":"Dialysis twice in the prior week. true sets creatinine used to 3.0 (Kim 2021 ceiling)."},"albumin_g_l":{"type":"number","description":"Serum albumin in g/L (10-60). Converted as g/dL = g/L / 10."},"albumin_g_dl":{"type":"number","description":"Serum albumin in g/dL (1.0-6.0). Provide this or albumin_g_l. Kim 2021 clamps 1.5-3.5."},"sodium_mmol_l":{"type":"number","description":"Serum sodium in mmol/L (110-160). Kim 2021 clamps 125-137."},"bilirubin_mg_dl":{"type":"number","description":"Total bilirubin in mg/dL (0.1-40). Provide this or bilirubin_umol_l. Kim 2021 floors at 1.0."},"bilirubin_umol_l":{"type":"number","description":"Total bilirubin in µmol/L (2-684). Converted as mg/dL = µmol/L / 17.1."},"creatinine_mg_dl":{"type":"number","description":"Serum creatinine in mg/dL (0.1-20). Provide this or creatinine_umol_l. Kim 2021 floors at 1.0 and caps at 3.0."},"creatinine_umol_l":{"type":"number","description":"Serum creatinine in µmol/L (9-1768). Converted as mg/dL = µmol/L / 88.42."}}}},"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_fWPNTC_vYBLxPj9i1rHoR","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 the MELD 3.0 score using the Kim 2021 formula from sex, bilirubin, INR, creatinine, sodium, and albumin","exampleAgentPrompt":"Calculate the MELD 3.0 score for a female patient with a bilirubin of 3.2 mg/dL, INR of 1.8, creatinine of 1.5 mg/dL, sodium of 132 mmol/L, and albumin of 2.8 g/dL — she is not on dialysis.","exampleUseCases":[{"title":"Cirrhosis severity assessment in clinic","prompt":"I need the MELD 3.0 score for a male patient with bilirubin 5.1 mg/dL, INR 2.1, creatinine 2.3 mg/dL, sodium 129 mmol/L, and albumin 2.2 g/dL — not on dialysis."},{"title":"Dialysis patient liver scoring","prompt":"Can you compute the Kim 2021 MELD 3.0 for a female patient who has been on dialysis twice this week? Her bilirubin is 4.0 mg/dL, INR is 1.6, sodium is 131 mmol/L, and albumin is 1.9 g/dL."},{"title":"Comparing lab trends over time","prompt":"My patient's labs just came back — male, bilirubin 1.8 mg/dL, INR 1.2, creatinine 1.1 mg/dL, sodium 136 mmol/L, albumin 3.2 g/dL, no dialysis. What's his updated MELD 3.0 score?"}],"resultDescription":"Returns a rounded MELD 3.0 integer score computed per the Kim 2021 formula, with input clamping applied: creatinine floored at 1.0 and capped at 3.0 (forced to 3.0 if on dialysis), bilirubin and INR floored at 1.0, sodium clamped 125–137, albumin clamped 1.5–3.5. Female sex adds 1.33 points. The score quantifies liver disease severity but is not a transplant listing or allocation order.","failureModes":["Missing required parameters (sex, INR, sodium, dialysis) return a validation error","Out-of-range numeric values may be rejected or silently clamped depending on server behavior","Providing neither albumin_g_dl nor albumin_g_l when albumin is needed may cause an error","Providing neither bilirubin_mg_dl nor bilirubin_umol_l or neither creatinine unit variant may cause missing-field errors","Network or payment (x402) failures return 402 or 5xx status codes"],"whenToPreferThis":"Use this endpoint when you specifically need the Kim 2021 MELD 3.0 score — the version that incorporates serum albumin and a sex-specific female term — as distinct from the original MELD or MELD-Na formulas. Prefer it for clinical research, EHR integration, or decision-support tools that require the most current validated MELD variant. Do not use for transplant listing or organ allocation order decisions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:44:18.138Z","isFirstParty":false}