nih-rxclass-drug-classes-mcp
README.md
# 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.
```text
https://nih-rxclass-drug-classes-mcp.lipmichal.workers.dev/mcp
```
## Available tools
| Tool | Purpose |
| --- | --- |
| `list_rxclass_therapeutic_classes` | List and filter therapeutic drug classes across ATC1-4, EPC, MOA, PE, VA, and MESHPA |
| `get_rxclass_by_drug_name` | Find standardized therapeutic classes and mechanisms of action for a drug name |
| `get_rxclass_members_by_id` | List member drug ingredients and RxCUIs belonging to a therapeutic class identifier |
| `get_rxclass_class_tree` | Retrieve the hierarchical therapeutic class tree for an RxClass identifier |
| `search_rxclass_by_rxcui` | Look 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.
```json
{
"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.
```bash
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.
- [Free live-data MCP directory](https://www.mcpstamp.com/free-servers/) with hosted keyless endpoints and client setup guides.
- [Free MCP readiness checker](https://www.mcpstamp.com/check/) to score any MCP server for Claude, ChatGPT, and registry submission.
- [MCP Readiness Audit ($490)](https://www.mcpstamp.com/services/#audit) for teams shipping a production server who want a hands-on security, schema, and store review.
- [Zovo Pro MCP Bundle ($39 one-time)](https://mcp.zovo.one/buy/bundle?src=gh.nih-rxclass-drug-classes-mcp) with hosted commercial servers and priority endpoints.
This server cannot be deployed
Maintenance
ActivityMaintained
ResponsivenessNo recent community issues