Skip to content
Eden Engine

Medical Code Lookup in LOINC, UCUM or HL7 Code Systems (FHIR Terminology Server)

fhirtx/lookup-code

Looks up one code in a FHIR code system on the HL7 terminology server and returns its display name, version, properties and designations (translations and synonyms). Offered systems: LOINC (http://loinc.org, for example 4548-4 Hemoglobin A1c/Hemoglobin.total in Blood), UCUM units (http://unitsofmeasure.org) and code systems published by HL7. SNOMED CT, CPT and other restricted systems are refused. Typical size is 2 to 15 KB. An unknown code is refused as a validation error. Includes content from LOINC (http://loinc.org); LOINC is copyright Regenstrief Institute, Inc. HL7 FHIR terminology server data served by Eden Engine; not an official HL7 product.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

HL7 FHIR Terminology Server (tx.fhir.org)

Source: HL7 FHIR Terminology Server (tx.fhir.org). Contains content from LOINC (http://loinc.org); LOINC is copyright Regenstrief Institute, Inc. and the LOINC Committee and is available under the license at http://loinc.org/license. Served by Eden Engine; not an official HL7 product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "fhirtx/lookup-code" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "fhirtx/lookup-code" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "fhirtx/lookup-code", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "fhirtx/lookup-code", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "system",
    "code"
  ],
  "properties": {
    "code": {
      "type": "string",
      "pattern": "^[^\\s][\\x20-\\x7e]*$",
      "maxLength": 100,
      "minLength": 1,
      "description": "The code to look up, for example 4548-4 or male."
    },
    "system": {
      "type": "string",
      "pattern": "^(http://loinc\\.org|http://unitsofmeasure\\.org|http://hl7\\.org/fhir/(?!sid/)[A-Za-z0-9._/-]{1,100}|http://terminology\\.hl7\\.org/CodeSystem/[A-Za-z0-9._-]{1,100})$",
      "description": "Code system URI. Offered: LOINC (http://loinc.org), UCUM units (http://unitsofmeasure.org), and HL7-published systems (http://hl7.org/fhir/... excluding /sid/, and http://terminology.hl7.org/CodeSystem/...). Other systems are refused."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "resourceType",
    "parameter"
  ],
  "properties": {
    "parameter": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "name": {
            "type": "string"
          }
        },
        "additionalProperties": true
      }
    },
    "resourceType": {
      "type": "string"
    }
  },
  "description": "A FHIR Parameters resource: a list of named values (result, display, system, code, message, issues, ...).",
  "additionalProperties": true
}