RxNorm Query Skill

SkillDev tools

Query the RxNorm drug naming and normalization API. Use whenever the user asks to look up an RxCUI, normalize a drug name, find drug interactions, retrieve brand/trade names, or resolve any clinical drug name via RxNorm. Supports single drug or batch queries. Trigger on mentions of RxNorm, RxCUI, drug normalization, drug interaction lookup, or brand-name resolution.

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

Then ask your AI: use the RxNorm Query Skill skill

What this skill tells your AI

The instructions your AI receives, as published by qsong-github/drugclaw in skills/drug_ontology/rxnorm/SKILL.md and read by ahel’s review.

Look up clinical drug information via the RxNorm REST API (no API key required).

Capabilities

FunctionInputReturns
find_rxcui(name)drug name stringRxCUI string or None
get_drug_info(rxcui)RxCUI stringfull info dict
get_drug_interactions(rxcui)RxCUI stringlist of interaction dicts
get_related_drugs(rxcui, tty)RxCUI + term typelist of related drug dicts
normalize_drug_name(name)approximate drug stringnormalized name string
query(entity)str or list[str]dict keyed by drug name
summarize(results)output of query()compact text summary

Quick Start

from 08_RxNorm import query, summarize

# Single drug
results = query("aspirin")
print(summarize(results))

# Batch drugs
results = query(["tylenol", "metformin", "ibuprofen"])
print(summarize(results))

query() Output Schema

{
  "<drug_name>": {
    "rxcui": "1191" | None,
    "normalized_name": "aspirin",
    "interactions": [
      {"description": "...", "severity": "...", "drugs": ["...", "..."]}
    ],
    "related": [
      {"rxcui": "...", "name": "...", "tty": "..."}
    ]
  }
}

Notes

  • API: RxNorm REST — https://rxnav.nlm.nih.gov/REST
  • Auth: None required
  • Rate limits: NLM asks for reasonable use; no hard key-based limit
  • Related drug types (tty): BN (brand name), SBD (branded dose), SCD (clinical dose), etc.

Signals

GitHub stars
116
Forks
3
Last commit
Aug 2026
Advanced
Item type
skill
Key
rxnorm-query
Source
github.com/qsong-github/drugclaw