Repository avatar
Other Tools
v1.0.1
active

nih-rxclass-drug-classes-mcp

io.github.theluckystrike/nih-rxclass-drug-classes-mcp

NIH NLM RxClass ATC, FDA EPC, MOA, VA, and MeSH therapeutic drug classifications.

Documentation

nih-rxclass-drug-classes-mcp

Live NIH National Library of Medicine RxClass drug classification lookup over Model Context Protocol (MCP). Clinical pharmacists, health tech engineers, and formulary teams can browse ATC, FDA EPC, mechanism of action, and VA classes, map drug names or RxCUIs to therapeutic groups, and traverse class trees without an API key or account.

Hosted endpoint

Point any Streamable HTTP MCP client at the free Cloudflare Worker endpoint.

https://nih-rxclass-drug-classes-mcp.lipmichal.workers.dev/mcp

Available tools

ToolPurpose
list_rxclass_therapeutic_classesList and filter therapeutic drug classes across ATC1-4, EPC, MOA, PE, VA, and MESHPA
get_rxclass_by_drug_nameFind standardized therapeutic classes and mechanisms of action for a drug name
get_rxclass_members_by_idList member drug ingredients and RxCUIs belonging to a therapeutic class identifier
get_rxclass_class_treeRetrieve the hierarchical therapeutic class tree for an RxClass identifier
search_rxclass_by_rxcuiLook up all therapeutic drug classes associated with an RxNorm RxCUI

Client configuration

Add the remote URL to Claude Desktop, Cursor, or VS Code MCP settings.

{
  "mcpServers": {
    "nih-rxclass-drug-classes": {
      "url": "https://nih-rxclass-drug-classes-mcp.lipmichal.workers.dev/mcp"
    }
  }
}

Run locally over stdio

You can run the server locally on Node 20 or newer over stdio.

npm install
npm run build
npm start

Compliance and reliability

Every request calls rxnav.nlm.nih.gov/REST/rxclass with a polite User-Agent string (mcpstamp-nih-rxclass-drug-classes/1.0.1 (hello@mcpstamp.com)) and automatic retry on transient 5xx or network errors. All five tools declare read-only, non-destructive, idempotent, and open-world annotations. The Worker also negotiates future protocol versions cleanly.

More MCP servers and readiness check

This server belongs to the public MCP directory maintained by MCPStamp and Zovo.