# FDA Drug Labels MCP

> FDA Drug Labels (openFDA) gives you direct access to official drug labels and structured product labeling (SPL) data from the FDA. You can search through thousands of prescription and OTC records using brand names, generic ingredients, or specific warnings. This MCP is essential for researchers needing to analyze market trends by counting unique manufacturers or quickly pulling detailed metadata like dosage forms and indications.

## Overview
- **Category:** industry-titans
- **Price:** Free
- **Tags:** fda, drug-labels, pharmacology, medical-data, openfda

## Description

You need official drug label information—the kind that comes directly out of the FDA database. This connector lets your AI agent query the openFDA source, giving you structured product labeling (SPL) data without having to navigate complex government websites. Instead of reading through mountains of PDF manuals, you talk to your agent and get specific answers right back.

For instance, if you're tracking a competitor, you can ask what manufacturers are associated with 'Advil.' Or maybe you're worried about drug warnings; you can search for all labels containing a specific contraindication. When you connect this MCP via Vinkius, your agent handles the heavy lifting, running complex queries that would take hours of manual research. It’s pure data retrieval—precise, official records used by pharma and health-tech developers alike.

## Tools

### count_drug_labels
Counts the number of unique values for a specific field within FDA drug labels.

### search_drug_labels
Filters and searches through official FDA drug labels (SPL format) using detailed parameters like brand names or warnings.

## Prompt Examples

**Prompt:** 
```
Search for FDA drug labels for 'Tylenol' and show the warnings.
```

**Response:** 
```
I've found the labels for Tylenol. The warnings section includes information about liver warning (acetaminophen), allergy alert, and directions for use. Would you like the full text of the 'warnings' field?
```

**Prompt:** 
```
Count the unique manufacturers for drugs with the brand name 'Advil'.
```

**Response:** 
```
Based on the openFDA data, there are several unique manufacturer entries associated with 'Advil', including 'GlaxoSmithKline Consumer Healthcare Holdings (US) LLC' and 'Pfizer Consumer Healthcare'.
```

**Prompt:** 
```
Find the 5 most recent drug labels for 'Amoxicillin'.
```

**Response:** 
```
I've retrieved the 5 most recent labels for Amoxicillin, sorted by effective time. The latest updates come from manufacturers like 'Aurobindo Pharma Limited' and 'Teva Pharmaceuticals USA, Inc.'.
```

## Capabilities

### Search Drug Labels
Filters thousands of drug labels based on fields like brand name, warnings, or specific product identifiers.

### Count Unique Manufacturers
Calculates how many unique companies are listed for a specific set of drugs in the FDA database.

### Retrieve Detailed Metadata
Accesses precise drug information, including active ingredients, usage instructions, and dosage formats.

## Use Cases

### Tracking Competitive Shifts
An analyst notices a rival drug is gaining market share. They ask their agent to use `count_drug_labels` to count unique manufacturers for the entire class of 'anti-virals' over the last five years, instantly mapping out who controls the sector.

### Safety Signal Detection
A safety officer needs to know if a new warning is appearing across different drug types. They use `search_drug_labels` to filter every label containing 'cardiac risk' and review them all in one place.

### Ingredient Deep Dive
A researcher needs to build a dataset of drugs using a specific excipient. They instruct their agent to query the database for dosage forms and ingredients, skipping manual spreadsheet compilation entirely.

### Historical Compliance Check
Someone is auditing an old drug filing and needs confirmation on its original indications and usage restrictions. The MCP allows them to search by FDA identifiers to confirm the exact historical record.

## Benefits

- You immediately gain the ability to track market competition. Instead of guessing who's making what, you can use `count_drug_labels` to count unique manufacturers for a specific drug class.
- Stop wading through PDFs. You simply ask your agent to find labels based on criteria—like finding every warning related to liver damage—and the `search_drug_labels` tool pulls it.
- It cuts down weeks of manual regulatory review into minutes. The MCP lets you cross-reference precise, official data points like indications and dosage forms instantly.
- The process is structured for scale. If you need to know all drugs with a certain active ingredient, you don't copy/paste; the tool handles the complex filtering syntax for you.
- You get access to primary source material. This isn't aggregated or summarized data—it's the raw, official Structured Product Labeling (SPL) information directly from openFDA.

## How It Works

The bottom line is that you get clean, structured drug label data directly into your workflow without leaving your AI client.

1. Subscribe to this MCP and provide your openFDA API Key.
2. Instruct your agent to perform a query (e.g., 'Count the unique manufacturers for X').
3. Your agent executes the search, returning structured data like manufacturer counts or filtered label text.

## Frequently Asked Questions

**How does the FDA Drug Labels (openFDA) MCP work?**
This MCP connects your AI client directly to the openFDA database. You talk to your agent, and it executes structured queries against millions of official records so you don't have to manually search.

**Can I use search_drug_labels for market analysis?**
Yes. While its name suggests searching, you can combine it with field searches and then pass that data through the counting capabilities to analyze manufacturer trends.

**Does count_drug_labels give me raw text or just a number?**
It gives you the count of unique values for a specified field. It tells you 'how many,' which is perfect for mapping out market presence, not for reviewing the content itself.

**Is this data current enough for regulatory filing?**
It accesses the official openFDA database, providing reliable and structured information used by professionals in the field. Always treat it as a research aid that requires final human review.

**How do I properly authenticate my credentials when using search_drug_labels?**
You must first subscribe to this MCP and enter your unique openFDA API Key in the Vinkius settings. This key authorizes your agent to communicate with the official openFDA database before any searches run.

**What syntax should I use for complex filtering when running search_drug_labels?**
You need to employ Lucene query syntax within the search parameter. This powerful format lets you filter results by specific data fields, like effective dates or product identifiers.

**If I run many unique analyses, are there rate limits when using count_drug_labels?**
While Vinkius manages the connection's overall rate limits, very high query volumes should be chunked. Breaking large data requests into multiple smaller calls prevents throttling and improves reliability.

**Besides counting manufacturers, what other unique metadata can I analyze with count_drug_labels?**
You can count unique values for many fields beyond manufacturer names. This includes analyzing distinct indications, dosage forms, or even active ingredient combinations across different labels.

**Can I search for a specific drug brand like 'Advil'?**
Yes! Use the `search_drug_labels` tool with a search parameter like `openfda.brand_name:"Advil"`. The agent will return the official SPL data including warnings and ingredients.

**How can I find out how many different manufacturers produce a specific generic drug?**
You can use the `count_drug_labels` tool. Set the `count` parameter to `openfda.manufacturer_name.exact` and use the `search` parameter to filter by the generic name.

**Is it possible to sort results by the most recent label updates?**
Yes. When using `search_drug_labels`, you can provide a `sort` parameter such as `effective_time:desc` to see the most recently updated labels first.