# NLM RxNorm (Drug Database) MCP for AI Agents AI Agent Connect

> NLM RxNorm (Drug Database) lets your AI client query the National Library of Medicine's standardized drug nomenclature. Use it to find RxCUIs, map NDC codes, inspect drug properties, and identify relationships between pharmaceutical products. It's the standard for ensuring your AI handles drug names and identifiers accurately across clinical and research applications, providing a reliable foundation for pharmaceutical data.

## Overview
- **Category:** databases
- **Price:** Free
- **Endpoint:** https://edge.vinkius.com/vk_preview_ahlX5aFf1NEeXsovCXMK5VLIRq6haFa8oMYNGd9B/ai-agent-connect
- **Tags:** drug-database, rxnorm, medical-data, pharmacology, healthcare-api

## Description

NLM RxNorm (Drug Database) connects your AI agent to the National Library of Medicine's standardized drug nomenclature. It moves you away from the headache of inconsistent drug naming by providing a reliable source for RxCUIs and pharmaceutical properties. Instead of your agent guessing which medication name is correct, it can pull the exact identifiers needed for clinical accuracy. This Connector handles the heavy lifting of mapping external codes like NDC to the RxNorm standard. You can use it to find synonyms, explore drug hierarchies, and get detailed metadata for specific medications. It's a core tool for anyone who needs to ensure their AI handles pharmaceutical data with the same precision as a human pharmacist. You can find this in the Vinkius catalog to get your agent connected to the gold standard of drug nomenclature in a few minutes. When you connect this, your agent stops hallucinating drug names and starts providing verified data. It bridges the gap between messy user input and the structured data needed for serious healthcare applications. You can automate the verification of drug lists, check the status of specific commercial codes, and ensure that your application uses the correct terminology for clinical decision support. It turns a complex, manual database search into a simple conversation with your agent.

## Tools

### get_all_rxterm_info
Return display names, synonyms, strengths, and routes for an RxCUI. This provides a full view of how a drug is labeled.

### get_approximate_match
Find concepts and atom IDs that approximately match a query string. This is useful for handling non-exact searches.

### get_class_by_rxnorm_drug_id
Return the classes containing a specific drug. Use this to see how a drug is categorized.

### get_class_members
Return all drug members of a specified class. This helps identify all drugs in a specific category.

### get_drugs
Return drug products related to a specified name. This finds brand and generic products for a name.

### get_ndc_properties
Return detailed metadata for an NDC. This gives you the specifics for a National Drug Code.

### get_ndc_status
Return the status and history of an NDC. Use this to check if a specific code is still active.

### get_related_by_relationship
Retrieve concepts directly related by a specific relationship type. This helps find specific links like brand names.

### get_related_by_type
Retrieve related concepts of specific term types. Use this to filter by specific nomenclature categories.

### get_rx_concept_properties
Return basic properties for an RxNorm concept. This gives you the high level details of a drug.

### get_rx_property
Retrieve a specific property value for a concept. Use this to pull just one piece of data.

### get_ndcs
Return active NDCs associated with an RxNorm concept. This maps a drug to its various commercial codes.

### find_similar_classes_by_drug_list
Find classes with drug members similar to a provided list of RxCUIs. This helps group medications with similar profiles.

### get_all_properties
Return detailed properties for an RxNorm concept. Use this to see all attributes associated with a drug.

### get_all_related_info
Retrieve all concepts related to a specified RxCUI. This helps map drug hierarchies and ingredients.

### get_rxterm_display_name
Return the RxTerms display name for a concept. This shows the primary name used in clinical records.

### get_rxcui_history_status
Return the status, attributes, and history of a concept. This lets you see how a drug record has changed.

### get_spelling_suggestions
Return strings similar to a specified string for auto-correction. This helps your agent handle user typos.

### find_related_ndcs
Find NDCs related by concept, drug, or NDC product. This links different commercial identifiers together.

### find_rxcui_by_id
Search for an identifier and return associated RxCUIs. This maps IDs to the standard RxNorm concept.

### find_rxcui_by_string
Search for a drug by name from any vocabulary in RxNorm. This is the primary way to find a drug by its common name.

## Prompt Examples

**Prompt:** 
```
What's the RxCUI for Lisinopril?
```

**Response:** 
```
I found the primary RxCUI for Lisinopril. 

| Medication | RxCUI |
| :--- | :--- |
| **Lisinopril** | 29046 |

Would you like me to pull the full property list for this drug?
```

**Prompt:** 
```
I think I misspelled 'Metformmin'. Can you fix it and find the drug properties?
```

**Response:** 
```
It looks like you meant **Metformin**. 

Here are the key details for Metformin:
- **Display Name**: Metformin
- **Synonyms**: Glucophage, Glucophage XR
- **Routes**: Oral
- **Strengths**: 500mg, 850mg, 1000mg

I can also check for active NDCs if you need them.
```

**Prompt:** 
```
Give me all the properties and attributes for RxCUI 860975.
```

**Response:** 
```
I've retrieved the properties for **RxCUI 860975**:

- **Concept**: Aspirin 81 MG Oral Tablet
- **Sources**: MTHSPL, RXNORM
- **Attributes**: Includes specific dosage and route information.

Let me know if you need related concepts or drug classes.
```

## Capabilities

### Find RxCUIs by name or ID
Retrieve the unique identifier for any drug using its common name or various standard codes.

### Get detailed drug properties
Fetch full metadata including synonyms, strengths, and specific attributes for any medication.

### Map related drug concepts
Explore drug hierarchies, ingredients, and related pharmaceutical terms automatically.

### Correct misspelled drug names
Get accurate suggestions for typos to ensure your agent searches for the right medication.

### Look up NDC metadata
Get the status, history, and specific details for National Drug Codes.

### Identify drug classes
See which pharmacological categories a specific drug belongs to.

## Use Cases

### Clinical App Validation
A developer asks the agent to verify if 'Lisinopril' is in the database and get its RxCUI using find_rxcui_by_string.

### Data Cleaning
A data scientist has a list of 5,000 NDC codes and needs to find the active NDCs for each using get_ndcs.

### Research Analysis
A researcher needs to find all drugs related to a specific ingredient name using get_drugs.

### Spelling Correction
A user types 'Metformmin' and the agent automatically suggests 'Metformin' using get_spelling_suggestions before searching.

## Benefits

- Stop guessing drug names by using find_rxcui_by_string to get the exact RxCUI every time.
- Map messy NDC codes to standards using find_related_ndcs to keep your pharmaceutical data clean.
- Get full drug profiles including synonyms and strengths with get_all_rxterm_info for complete visibility.
- Handle user typos gracefully using get_spelling_suggestions to prevent search errors and improve UX.
- Explore drug hierarchies and ingredients using get_all_related_info for deeper clinical analysis.
- Identify specific drug classes with get_class_by_rxnorm_drug_id for better data categorization.

## How It Works

The bottom line is you get a reliable way to fetch standardized drug data without manual database lookups.

1. Subscribe to the NLM RxNorm (Drug Database) MCP via Vinkius.
2. Provide your NLM UTS API Key in your environment settings.
3. Ask your agent to pull drug data, verify names, or map identifiers from the database.

## Frequently Asked Questions

**What is the NLM RxNorm (Drug Database) MCP used for?**
It connects your AI agent to the National Library of Medicine's standardized drug nomenclature. Use it to fetch drug identifiers, properties, and synonyms accurately.

**Can I use NLM RxNorm (Drug Database) to find drug synonyms?**
Yes. It allows your agent to retrieve all display names and synonyms for a specific medication, which is helpful for ensuring your app recognizes various brand names.

**Does NLM RxNorm (Drug Database) support NDC codes?**
Yes, it provides tools to look up NDC properties, check their current status, and map them to the standard RxNorm concepts.

**How does NLM RxNorm (Drug Database) help with clinical data?**
It provides a reliable foundation for clinical decision support by ensuring that the drug data your agent uses is standardized and verified by the National Library of Medicine.

**Can I use NLM RxNorm (Drug Database) to correct drug name typos?**
Yes. The Connector includes a tool that provides spelling suggestions, allowing your agent to correct user typos and find the correct medication information.

**Is NLM RxNorm (Drug Database) the standard for drug nomenclature?**
It is the gold standard for pharmaceutical nomenclature in the United States, making it the ideal choice for professional healthcare and research applications.

**How can I find the RxCUI for a specific drug name?**
You can use the `find_rxcui_by_string` tool. Simply provide the drug name, and the agent will return the associated RxNorm Concept Unique Identifiers.

**What should I do if I am unsure of the correct spelling of a drug?**
Use the `get_spelling_suggestions` tool. It provides strings similar to your input to help you find the correct standardized drug name.

**Can I retrieve all properties, such as synonyms and attributes, for a drug?**
Yes, the `get_all_properties` tool allows you to fetch detailed attributes, codes, and names associated with a specific RxCUI.