clinical-mcp

Tool reference
← All tools  /  Clinical Tables & Code Lookups
lookup_loinclive API

LOINC lab codes

LOINC lab tests/measurements and panels — with long common name, component, and computed datatype (REAL, CNE/CWE, ST…).

How to use

Search by name or LOINC number. `type` narrows to question / form / panel. Use get_loinc_answers for a coded question’s answer list.

Parameters

NameTypeDescription
querystringrequiredLab/measurement term or LOINC number.
typeenum(question | form | panel)optionalNarrow the search.
limitnumberoptionalMax results (default 20).

Example input

{
  "query": "serum sodium",
  "type": "question",
  "limit": 1
}

Example output

{
  "total": 23,
  "rows": [
    {
      "code": "2951-2",
      "text": "Sodium SerPl-sCnc",
      "longCommonName": "Sodium [Moles/volume] in Serum or Plasma",
      "component": "Sodium",
      "datatype": "REAL"
    }
  ]
}

Call it (MCP tools/call)

{
  "method": "tools/call",
  "params": {
    "name": "lookup_loinc",
    "arguments": {
      "query": "serum sodium",
      "type": "question",
      "limit": 1
    }
  }
}
  • Endpoint: POST https://clinical-mcp.mcharge.in/mcp (Streamable HTTP).

Notes

  • LOINC is copyrighted by Regenstrief Institute; use is subject to the LOINC Terms of Use.