4,000+ servers built on vurb.ts
Vinkius

NLM RxNorm (Drug Database) MCP Server for Mastra AIGive Mastra AI instant access to 21 tools to Find Related Ndcs, Find Rxcui By Id, Find Rxcui By String, and more

MCP Inspector GDPR Free for Subscribers

Mastra AI is a TypeScript-native agent framework built for modern web stacks. Connect NLM RxNorm (Drug Database) through Vinkius and Mastra agents discover all tools automatically. type-safe, streaming-ready, and deployable anywhere Node.js runs.

Ask AI about this MCP Server for Mastra AI

The NLM RxNorm (Drug Database) MCP Server for Mastra AI is a standout in the Databases category — giving your AI agent 21 tools to work with, ready to go from day one.

Built for AI Agents by Vinkius

Vinkius delivers Streamable HTTP and SSE to any MCP client

ClaudeClaude
ChatGPTChatGPT
CursorCursor
GeminiGemini
WindsurfWindsurf
VS CodeVS Code
JetBrainsJetBrains
VercelVercel
+ other MCP clients
typescript
import { Agent } from "@mastra/core/agent";
import { createMCPClient } from "@mastra/mcp";
import { openai } from "@ai-sdk/openai";

async function main() {
  // Your Vinkius token. get it at cloud.vinkius.com
  const mcpClient = await createMCPClient({
    servers: {
      "nlm-rxnorm-drug-database": {
        url: "https://edge.vinkius.com/[YOUR_TOKEN_HERE]/mcp",
      },
    },
  });

  const tools = await mcpClient.getTools();
  const agent = new Agent({
    name: "NLM RxNorm (Drug Database) Agent",
    instructions:
      "You help users interact with NLM RxNorm (Drug Database) " +
      "using 21 tools.",
    model: openai("gpt-4o"),
    tools,
  });

  const result = await agent.generate(
    "What can I do with NLM RxNorm (Drug Database)?"
  );
  console.log(result.text);
}

main();
NLM RxNorm (Drug Database)
Fully ManagedVinkius Servers
60%Token savings
High SecurityEnterprise-grade
IAMAccess control
EU AI ActCompliant
DLPData protection
V8 IsolateSandboxed
Ed25519Audit chain
<40msKill switch
Stream every event to Splunk, Datadog, or your own webhook in real-time

* Every MCP server runs on Vinkius-managed infrastructure inside AWS - a purpose-built runtime with per-request V8 isolates, Ed25519 signed audit chains, and sub-40ms cold starts optimized for native MCP execution. See our infrastructure

About NLM RxNorm (Drug Database) MCP Server

Connect your AI agent to the National Library of Medicine (NLM) RxNorm database. This server provides comprehensive access to standardized drug nomenclature and relationships, allowing for precise identification and analysis of pharmaceutical products.

Mastra's agent abstraction provides a clean separation between LLM logic and NLM RxNorm (Drug Database) tool infrastructure. Connect 21 tools through Vinkius and use Mastra's built-in workflow engine to chain tool calls with conditional logic, retries, and parallel execution. deployable to any Node.js host in one command.

What you can do

  • Drug Search — Find RxNorm Concept Unique Identifiers (RxCUIs) by name, identifier (NDC, ATC, SNOMEDCT), or approximate matching using find_rxcui_by_string and find_rxcui_by_id.
  • Property Inspection — Retrieve detailed drug properties, including names, synonyms, and attributes categorized by source via get_all_properties.
  • Relationship Mapping — Explore related concepts and term types (TTY) to understand drug hierarchies and ingredients using get_all_related_info.
  • Spelling Correction — Get suggestions for misspelled drug names to ensure accurate queries with get_spelling_suggestions.
  • NDC & Identifier Lookup — Map external codes to RxNorm standards for interoperability.

The NLM RxNorm (Drug Database) MCP Server exposes 21 tools through the Vinkius. Connect it to Mastra AI in under two minutes — credentials fully managed, no infrastructure to provision, no vendor lock-in. Your configuration, your data, your control.

All 21 NLM RxNorm (Drug Database) tools available for Mastra AI

When Mastra AI connects to NLM RxNorm (Drug Database) through Vinkius, your AI agent gets direct access to every tool listed below — spanning drug-database, rxnorm, medical-data, and more. Every call runs in a secure, isolated environment with full audit visibility. Beyond a simple connection, you get real-time monitoring of agent activity, enterprise governance, and optimized token usage.

find

Find related ndcs on NLM RxNorm (Drug Database)

Find NDCs related by concept, drug, or NDC product

find

Find rxcui by id on NLM RxNorm (Drug Database)

Search for an identifier and return associated RxCUIs

find

Find rxcui by string on NLM RxNorm (Drug Database)

Search for a drug by name from any vocabulary in RxNorm

find

Find similar classes by drug list on NLM RxNorm (Drug Database)

Identify classes with drug members similar to a provided list of RxCUIs

get

Get all properties on NLM RxNorm (Drug Database)

Return detailed properties for an RxNorm concept

get

Get all related info on NLM RxNorm (Drug Database)

Retrieve all concepts related to a specified RxCUI

get

Get all rxterm info on NLM RxNorm (Drug Database)

Return display names, synonyms, strengths, and routes for an RxCUI

get

Get approximate match on NLM RxNorm (Drug Database)

Find concepts and atom IDs that approximately match a query string

get

Get class by rxnorm drug id on NLM RxNorm (Drug Database)

Return the classes containing a specific drug

get

Get class members on NLM RxNorm (Drug Database)

g., ATC, MeSH, VA Class). Return all drug members of a specified class

get

Get drugs on NLM RxNorm (Drug Database)

) related to an ingredient or brand name. Return drug products related to a specified name

get

Get ndc properties on NLM RxNorm (Drug Database)

Return detailed metadata for an NDC

get

Get ndc status on NLM RxNorm (Drug Database)

Return the status and history of an NDC

get

Get ndcs on NLM RxNorm (Drug Database)

Return active NDCs associated with an RxNorm concept

get

Get related by relationship on NLM RxNorm (Drug Database)

g., tradename_of). Retrieve concepts directly related by a specific relationship type

get

Get related by type on NLM RxNorm (Drug Database)

g., IN, SBD, SCD). Retrieve related concepts of specific term types

get

Get rx concept properties on NLM RxNorm (Drug Database)

Return basic properties for an RxNorm concept

get

Get rx property on NLM RxNorm (Drug Database)

Retrieve a specific property value for a concept

get

Get rxcui history status on NLM RxNorm (Drug Database)

Return the status, attributes, and history of a concept

get

Get rxterm display name on NLM RxNorm (Drug Database)

Return the RxTerms display name for a concept

get

Get spelling suggestions on NLM RxNorm (Drug Database)

Return strings similar to a specified string for auto-correction

Connect NLM RxNorm (Drug Database) to Mastra AI via MCP

Follow these steps to wire NLM RxNorm (Drug Database) into Mastra AI. The entire setup takes under two minutes — your credentials stay safe behind Vinkius.

01

Install dependencies

Run npm install @mastra/core @mastra/mcp @ai-sdk/openai
02

Replace the token

Replace [YOUR_TOKEN_HERE] with your Vinkius token
03

Run the agent

Save to agent.ts and run with npx tsx agent.ts
04

Explore tools

Mastra discovers 21 tools from NLM RxNorm (Drug Database) via MCP

Why Use Mastra AI with the NLM RxNorm (Drug Database) MCP Server

Mastra AI provides unique advantages when paired with NLM RxNorm (Drug Database) through the Model Context Protocol.

01

Mastra's agent abstraction provides a clean separation between LLM logic and tool infrastructure. add NLM RxNorm (Drug Database) without touching business code

02

Built-in workflow engine chains MCP tool calls with conditional logic, retries, and parallel execution for complex automation

03

TypeScript-native: full type inference for every NLM RxNorm (Drug Database) tool response with IDE autocomplete and compile-time checks

04

One-command deployment to any Node.js host. Vercel, Railway, Fly.io, or your own infrastructure

NLM RxNorm (Drug Database) + Mastra AI Use Cases

Practical scenarios where Mastra AI combined with the NLM RxNorm (Drug Database) MCP Server delivers measurable value.

01

Automated workflows: build multi-step agents that query NLM RxNorm (Drug Database), process results, and trigger downstream actions in a typed pipeline

02

SaaS integrations: embed NLM RxNorm (Drug Database) as a first-class tool in your product's AI features with Mastra's clean agent API

03

Background jobs: schedule Mastra agents to query NLM RxNorm (Drug Database) on a cron and store results in your database automatically

04

Multi-agent systems: create specialist agents that collaborate using NLM RxNorm (Drug Database) tools alongside other MCP servers

Example Prompts for NLM RxNorm (Drug Database) in Mastra AI

Ready-to-use prompts you can give your Mastra AI agent to start working with NLM RxNorm (Drug Database) immediately.

01

"Search for the drug 'Lisinopril' and provide its RxCUI."

02

"I think I misspelled 'Metformmin'. Can you suggest the correct name?"

03

"Get all properties and attributes for RxCUI 860975."

Troubleshooting NLM RxNorm (Drug Database) MCP Server with Mastra AI

Common issues when connecting NLM RxNorm (Drug Database) to Mastra AI through Vinkius, and how to resolve them.

01

createMCPClient not exported

Install: npm install @mastra/mcp

NLM RxNorm (Drug Database) + Mastra AI FAQ

Common questions about integrating NLM RxNorm (Drug Database) MCP Server with Mastra AI.

01

How does Mastra AI connect to MCP servers?

Create an MCPClient with the server URL and pass it to your agent. Mastra discovers all tools and makes them available with full TypeScript types.
02

Can Mastra agents use tools from multiple servers?

Yes. Pass multiple MCP clients to the agent constructor. Mastra merges all tool schemas and the agent can call any tool from any server.
03

Does Mastra support workflow orchestration?

Yes. Mastra has a built-in workflow engine that lets you chain MCP tool calls with branching logic, error handling, and parallel execution.

Explore More MCP Servers

View all →