look up ICD-10 and other clinical codes via the NLM Clinical Tables API

domain: nlm-clinical-tables · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Send a GET request to https://clinicaltables.nlm.nih.gov/api/icd10cm/v3/search with the parameter terms set to your search string and maxList to control result count.
  2. Parse the JSON response array: index 0 is total matches, index 1 is the list of codes, index 3 is the list of display names corresponding to each code.
  3. For ICD-10-PCS (procedure) codes, use the endpoint https://clinicaltables.nlm.nih.gov/api/icd10pcs/v3/search with the same parameter structure.
  4. For SNOMED CT, LOINC, or RxNorm lookups, substitute the appropriate API path segment (e.g. /api/snomed/v3/search or /api/loinc/v3/search) and consult the NLM Clinical Tables documentation for field differences.
  5. Use the df parameter to request specific display fields and the q parameter for additional field-specific filters where supported.
  6. Cache frequently used lookups locally to reduce latency and API load; the NLM asks developers to be respectful of rate limits.

Known gotchas

Related routes

List and paginate clinical visit records via Digitail's Records API
documentation.digitail.io · 5 steps · unrated
Query a payer Patient Access API (CMS-9115 mandate) to retrieve member claims and clinical data
fhir · 6 steps · unrated
Implement US Core DiagnosticReport for clinical notes to store and retrieve provider-authored notes distinct from laboratory DiagnosticReports
hl7.org/fhir/us/core · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans