• DATA
  • COUNT
  • FILTER
  • REVIEW

How to count drug manufacturers with your AI

Connect to openFDA once. From there, your agent handles the data retrieval and the math.

Ask AI about this page

Short answer

How can I count drug manufacturers with my AI?

Your agent uses the openFDA connector to pull drug labels and extract unique manufacturer names. You get a specific count and a list of the companies involved. This breakdown shows how the agent processes the data.

The results you get.

Data outcomes.

The agent turns raw FDA label data into these specific outputs.

DATA

Unique manufacturer list

The agent pulls every distinct manufacturer name from the labels. You get a clean list of companies without duplicates.

COUNT

Total manufacturer tally

The AI provides the final number of unique companies found. This gives you a direct answer to your query.

FILTER

Specific drug subsets

You can target specific brand names or generic drugs. The agent filters the openFDA records to match your request.

REVIEW

Human verification

You check the final list against your own research needs. The AI does the heavy lifting, but you verify the names.

The workflow

What your AI does when the request arrives.

The agent moves from raw data to a finished count in four steps.

  1. Search labels

    The agent queries the openFDA database for labels matching your drug name.

    count_drug_labels
  2. Extract names

    The agent pulls the manufacturer field from every matching drug label.

    count_drug_labels
  3. Remove duplicates

    The agent identifies and removes redundant entries to ensure each company is only counted once.

    count_drug_labels
  4. Final tally

    The agent calculates the total number of unique manufacturers and presents the count.

    count_drug_labels

Try it

Copy these to start.

Paste these prompts into your chat to begin.

Starting points

These are opening lines. Swap the drug names for the ones you are researching.

openFDA Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_uUtR7MqF3mBuTTc1ZQjFxYGttobXToxaCn8lBJEY/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — openFDA capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "fda-drug-labels-openfda-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_uUtR7MqF3mBuTTc1ZQjFxYGttobXToxaCn8lBJEY/mcp"
    }
  }
}
Copy into chat04
  • How many unique manufacturers are listed for Lipitor in the FDA labels?

  • Count the different manufacturers for generic Ibuprofen using the openFDA data.

  • Find all unique manufacturers for Amoxicillin and give me a total count.

  • List the manufacturers for Metformin and tell me how many there are.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect FDA Drug Labels (openFDA) once, then ask.

One click connects the MCP to your client. Your credentials stay encrypted, and you can start asking questions immediately.

Connect FDA Drug Labels (openFDA) to your AI

FAQ

How this task behaves.

  • 01

    Can the AI change the data in the FDA database?

    No. The agent only reads data from openFDA; it cannot modify or delete any official records.

  • 02

    Does the AI count every single label or just unique manufacturers?

    The tool is designed to find unique manufacturers. While it reads all matching labels, the final output is the count of distinct companies.

  • 03

    Can I ask for the manufacturer's address too?

    No. The count_drug_labels tool is specifically for tallying unique manufacturers based on the label data.

  • 04

    What happens if a drug has no manufacturer listed?

    If the FDA label lacks manufacturer information, the agent will report that no manufacturers were found for that specific query.

  • 05

    Can the AI decide which manufacturer is the 'primary' one?

    No. The AI simply identifies and counts the names present in the data. It does not make qualitative judgments about which company is the lead manufacturer.

  • More questions about FDA Drug Labels (openFDA)? The Connector page answers them. See everything the FDA Drug Labels (openFDA) Connector can do

Connect openFDA to Claude, Cursor, ChatGPT & more