# Dailymed [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/pipeworx-io/mcp-dailymed  
**GitHub Stars:** 0  
**npm Downloads (last month):** 493  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/dailymed

## Description
DailyMed MCP — FDA Structured Product Labels via NLM

## Tools
Capabilities this server exposes over MCP:

- **search_drugs** — Search Structured Product Labels by any combination of name, ANDA/NDA, NDC, RxCUI.
- **get_drug** — FULL FDA DRUG LABEL TEXT from the current DailyMed Structured Product Label — indications, dosage and administration, contraindications, warnings and precautions, boxed warning, adverse reactions, and every other labeled section, as readable plain text. Pass a DRUG NAME ("Ozempic", "ibuprofen") and it resolves the label automatically, or a DailyMed set_id. PREFER OVER WEB SEARCH for "what are the warnings for X", "what is X indicated for", "what is the dose of X", "does X have a boxed warning". Returns the label title, labeler, SPL version and publication date alongside the sections.
- **list_labels_for_drug_name** — All labels mentioning a drug name.
- **recent_updates** — Return the most recently updated FDA Structured Product Labels from DailyMed (NLM), up to 100 results, ordered by update date descending. Useful for tracking newly revised drug labeling.
- **label_history** — Drug LABEL REVISION HISTORY — when a prescription drug's FDA label was revised, and how many times. Pass a DRUG NAME ("Ozempic", "semaglutide") and it resolves to that drug's Structured Product Label automatically; or pass a DailyMed set_id directly. PREFER OVER WEB SEARCH for "has the label for X changed recently", "when was X's label last updated", "how many label revisions does X have", label-change monitoring, and safety-labeling-change surveillance. Returns every published SPL version with its date, plus official archive URLs where DailyMed exposes them. Use before label_diff to see which versions are downloadable and pick two to compare.
- **label_diff** — WHAT CHANGED between two versions of a drug's FDA label — conservative section-level text comparison of official DailyMed SPL versions. Pass a DRUG NAME ("Ozempic") and it resolves the label automatically; or pass a set_id. Defaults to the latest version versus its immediate predecessor. PREFER OVER WEB SEARCH for "what changed in X's label", "new warnings added to X", "did X get a boxed warning", label-change diffing. Reports added, removed, and changed sections with normalized before/after text. Reports textual change only and leaves clinical materiality to the caller.
- **list_classes** — List pharmacologic drug-class reference entries from DailyMed, optionally filtered by class_code or class type (EPC = established pharmacologic class, MoA = mechanism of action, PE = physiologic effect, CS = chemical structure). Returns class codes and display names. ~1,210 classes total, 100 per page.

## Claude Desktop Quick Installation
Install path detected from listing signals. Uses `npx` (confidence: high):

```json
"mcpServers": {
  "dailymed": {
    "command": "npx",
    "args": ["-y","@pipeworx/mcp-dailymed"]
  }
}
```

## Documentation

## What Dailymed does

Dailymed connects MCP clients to the National Library of Medicine's DailyMed service, which publishes FDA-submitted Structured Product Labels. The service covers approximately 150,000 labels and provides metadata and label sections through a REST and JSON API. Dailymed is an independent, unofficial integration and is not affiliated with or endorsed by the upstream provider.

The hosted pack endpoint is useful for agents that need drug-label lookups without building a DailyMed client. It can also be called through the Pipeworx HTTP API or used locally through an npm package that forwards requests to the hosted gateway.

## How it works

The hosted MCP connection is available at `https://gateway.pipeworx.io/dailymed/mcp`. A client can connect directly to that URL, while the full Pipeworx gateway is available at `https://gateway.pipeworx.io/mcp`. The Dailymed endpoint lists its own tools and also exposes shared Pipeworx meta-tools, including routing and discovery functions. The exact tool scope is returned by the connection's `initialize` response.

For clients without MCP support, individual tools can be invoked over HTTP at `https://gateway.pipeworx.io/v1/tools/<tool-name>`. The underlying data source is the DailyMed v2 service at `https://dailymed.nlm.nih.gov/dailymed/services/v2/`.

## Setup and configuration

A hosted MCP client can use this configuration:

```json
{
  "mcpServers": {
    "dailymed": {
      "url": "https://gateway.pipeworx.io/dailymed/mcp"
    }
  }
}
```

The local option runs the stdio bridge with `npx`:

```json
{
  "mcpServers": {
    "dailymed": {
      "command": "npx",
      "args": ["-y", "@pipeworx/mcp-dailymed"]
    }
  }
}
```

The npm bridge needs network access and has no offline mode. Anonymous calls are limited to 50 per day. Setting `PIPEWORX_API_KEY` adds a Pipeworx account key and raises the free-account limit to 200 calls per day. Setting `PIPEWORX_META_TOOLS=1` makes the local bridge list the shared gateway tools in addition to the Dailymed tools. Behind an HTTPS proxy, newer Node versions may require `NODE_USE_ENV_PROXY=1`.

## Tools and capabilities

- `search_drugs` searches labels using optional name, application number, NDC, RxCUI, page, and page-size parameters.
- `get_drug` retrieves metadata and sections for a label identified by its set ID.
- `list_labels_for_drug_name` finds labels that mention a specified drug name.
- `recent_updates` returns recently updated labels, with an optional result limit.
- `list_classes` provides pharmacologic or drug-class references, with optional class-code and type filters.
- `ask_pipeworx` can route a plain-language question to an appropriate tool when the shared meta-tools are available.

## Limitations and notes

The integration depends on the remote Pipeworx gateway and DailyMed service. The local package is a forwarding bridge rather than an offline copy of the data. The hosted endpoint requires no account for initial calls, while authenticated usage is subject to Pipeworx call limits and metering. The project is independent of the upstream DailyMed provider.

_Full upstream README: https://allmcps.com/mcp/dailymed/readme_

