Skip to main content
Glama
nih-rxclass-drug-classes-mcp

nih-rxclass-drug-classes-mcp

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

Related MCP server: rxnorm

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.

{
  "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.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      D
      maintenance
      Enables drug terminology standardization and name normalization via RxNav API, supporting drug name search, generic/brand name conversion, ATC classification, and ingredient lookup.
      6
      GPL 3.0
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables users to query standardized drug concepts from the National Library of Medicine's RxNorm, including name-based search, drug property retrieval, and related concept exploration via the RxNav REST API.
      51 npm
      MIT
    • A
      license
      Not graded
      quality
      C
      maintenance
      Enables searching clinical terms and codes across UMLS vocabularies, retrieving concept details, listing source-asserted atoms, and crosswalking codes between vocabularies via the NLM UMLS Terminology Services REST API.
      67 npm
      MIT
    • A
      license
      Not graded
      quality
      B
      maintenance
      Enables querying openFDA for drug label text, Drugs@FDA application records, and device submission and product-code classification data, including end-to-end validation of device application details. It also supports an experimental sweep of drug labels for real-world-evidence vocabulary.
      59 npm
      MIT