• MAPPED
  • ENRICHED
  • CLEANED
  • REVIEW

How to map NDC codes to RxNorm with your AI

Connect the NLM RxNorm MCP to your AI client to bridge the gap between packaging codes and clinical drug concepts.

Ask AI about this page

Short answer

How do I map NDC codes to RxNorm?

Your AI uses the NLM RxNorm MCP to look up NDC codes and find their matching RxNorm terms and properties. You'll get a structured breakdown of clinical drug data.

The results.

Where your data lands.

The AI processes raw drug identifiers into structured clinical information.

MAPPED

Standardized concepts

The AI converts NDCs into RxNorm terms. You get a clean list of clinical concepts instead of just packaging codes.

ENRICHED

Detailed drug properties

The AI pulls specific attributes for each drug. You receive technical details like dosage forms or strengths.

CLEANED

Normalized datasets

The AI organizes disparate NDC lists into a uniform format. This makes your drug data ready for analysis.

REVIEW

Human validation

The AI flags ambiguous codes that don't have a clear match. You decide how to handle these edge cases.

The workflow

What your AI does when the NDC arrives.

The AI handles the heavy lifting of database lookups and data normalization.

  1. Identify related codes

    The AI searches for all NDC variations associated with a specific drug identifier.

    find_related_ndcs
  2. Fetch drug properties

    The AI pulls the specific technical attributes tied to a single NDC.

    get_ndc_properties
  3. Retrieve RxNorm terms

    The AI pulls the full clinical term information from the NLM database.

    get_all_rxterm_info
  4. Format the output

    The AI organizes the retrieved properties and terms into a structured response for your use.

    get_ndc_properties

Try it

Copy these to start.

Use these prompts to begin your mapping task.

Starting points

Replace the bracketed text with your actual drug data or specific NDC numbers.

NLM RxNorm Connector

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

Connector linkhttps://edge.vinkius.com/vk_preview_ahlX5aFf1NEeXsovCXMK5VLIRq6haFa8oMYNGd9B/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 — NLM RxNorm capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "nlm-rxnorm-drug-database-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_ahlX5aFf1NEeXsovCXMK5VLIRq6haFa8oMYNGd9B/mcp"
    }
  }
}
Copy into chat04
  • Map these NDC codes to RxNorm concepts: [insert list of NDCs].

  • Find the RxNorm terms and properties for NDC [insert code].

  • Look up all related NDCs for the drug [insert drug name].

  • Get the detailed properties for the NDC in this spreadsheet: [insert file or list].

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

Start here

Connect NLM RxNorm once, then ask.

Just link the MCP to your client. Your credentials stay encrypted, and you can start querying the NLM database immediately.

Connect NLM RxNorm to your AI

FAQ

How this task behaves.

  • 01

    Can the AI update the NLM database?

    No. The AI can only read data from the NLM RxNorm database; it cannot change or add any records.

  • 02

    What happens if an NDC doesn't have a match?

    The AI will tell you it couldn't find a match. It won't guess or invent a mapping for an unknown code.

  • 03

    Can the AI automatically fix my spreadsheet?

    No. The AI provides the mapped data, but you are responsible for applying those changes to your local files or databases.

  • 04

    Does it work with any NDC?

    It works with any NDC that exists within the NLM RxNorm database.

  • 05

    Can the AI perform clinical decisions?

    No. The AI only retrieves and organizes data. All clinical interpretations must be done by a human.

  • More questions about NLM RxNorm? See everything the NLM RxNorm Connector can do

Connect NLM RxNorm to Claude, Cursor, ChatGPT & more