Skip to content
Back to skills

Rxnorm

ASecurity

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.

  • 171 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added September 6, 2026
ai-agentspythongoapi

Works with

  • cli
  • api

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned September 6, 2026

npx -y skills add BioTender-max/awesome-bio-agent-skills --skill rxnorm --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Rxnorm?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Rxnorm
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/biotender-max-rxnorm/badge)](https://www.skillsdirectory.com/skills/biotender-max-rxnorm)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: rxnorm-query
description: >
  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.
---

# RxNorm Query Skill

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

## Capabilities

| Function | Input | Returns |
|---|---|---|
| `find_rxcui(name)` | drug name string | RxCUI string or None |
| `get_drug_info(rxcui)` | RxCUI string | full info dict |
| `get_drug_interactions(rxcui)` | RxCUI string | list of interaction dicts |
| `get_related_drugs(rxcui, tty)` | RxCUI + term type | list of related drug dicts |
| `normalize_drug_name(name)` | approximate drug string | normalized name string |
| `query(entity)` | **str or list[str]** | dict keyed by drug name |
| `summarize(results)` | output of `query()` | compact text summary |

## Quick Start

```python
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.

Files in this skill

  • README.md968 B
  • SKILL.md1.9 KB
  • __init__.py130 B
  • example.py6.2 KB
  • retrieve.py706 B
  • rxnorm_skill.py4.5 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…