DailyMed MCP Server

DailyMed MCP Server

Provides access to the official FDA DailyMed database for comprehensive drug information, including drug labels, NDC codes, RxNorm mappings, pharmacologic classifications, and FDA application numbers through natural language queries.

Category
Visit Server

README

DailyMed MCP Server

A Model Context Protocol (MCP) server that provides access to the DailyMed API for comprehensive drug information.

About DailyMed

DailyMed is the official FDA database containing drug labeling information for approved prescription/nonprescription drugs, biologics, and medical devices. It provides structured, up-to-date drug information in multiple formats with cross-references to RxNorm and pharmacologic classifications.

Installation

git clone <repository-url>
cd dailymed-mcp-server
npm install
npm run build

Optional: Download mapping files from DailyMed Mapping Files and place in project root:

  • pharmacologic_class_mappings.txt
  • rxnorm_mappings.txt

Usage

npm start              # Production
npm run dev           # Development with hot reload

Key Features

Search Tools

  • search_spls - Search Structured Product Labels with advanced filtering and pagination
  • search_drug_names - Search drug names with manufacturer and name type filters
  • search_rxcuis - Search RxCUI codes with term type filtering
  • search_drug_classes - Search pharmacologic drug classes
  • search_application_numbers - Search FDA application numbers
  • search_uniis - Search UNII codes with advanced filters

Drug Information

  • get_drug_details - Complete drug information by SET ID
  • get_drug_history - Version history for drugs
  • get_drug_ndcs - NDC codes for specific drugs
  • get_drug_packaging - Packaging information
  • get_drug_media - Media links (images, documents)

Database Access

  • get_all_* - Paginated access to drug names, classes, NDCs, RxCUIs, UNIIs, application numbers
  • get_dailymed_context - Database information and capabilities

Enhanced Mapping (when mapping files present)

  • search_by_rxnorm_mapping - Search RxNorm mappings by drug name
  • get_*_mappings_for_setid - Get mappings for specific drugs
  • search_drugs_by_pharmacologic_class - Find drugs by pharmacologic class

Advanced SPL Search

Simple Search

{
  "query": "aspirin",
  "page": 1,
  "pageSize": 25
}

Advanced Search

{
  "manufacturer": "Pfizer",
  "boxed_warning": true,
  "published_date": "2023-01-01",
  "published_date_comparison": "gte",
  "page": 1,
  "pageSize": 50
}

Available filters: application_number, boxed_warning, dea_schedule_code, drug_name, name_type, labeler, manufacturer, ndc, rxcui, unii_code, published_date, and more.

Pagination

All search and list tools support pagination with consistent response format:

{
  "data": [...],
  "pagination": {
    "page": 1,
    "pageSize": 25,
    "totalResults": 150,
    "totalPages": 6,
    "hasNextPage": true,
    "hasPreviousPage": false
  }
}

Claude Desktop Configuration

{
  "mcpServers": {
    "dailymed": {
      "command": "node",
      "args": ["/path/to/dailymed-mcp-server/dist/index.js"],
      "cwd": "/path/to/dailymed-mcp-server"
    }
  }
}

API Information

  • Base URL: https://dailymed.nlm.nih.gov/dailymed/services/v2
  • Format: JSON
  • Authentication: None required
  • Compliance: Fully compliant with DailyMed API v2 specifications

Development

npm run build    # Build TypeScript
npm run dev      # Development mode

Project Structure:

src/
├── clients/           # Modular API clients
├── types/            # TypeScript type definitions
├── utils/            # Utilities and helpers
├── index.ts          # MCP server implementation
└── tools.ts          # Tool definitions

License

MIT License

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured