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.
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.txtrxnorm_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 paginationsearch_drug_names- Search drug names with manufacturer and name type filterssearch_rxcuis- Search RxCUI codes with term type filteringsearch_drug_classes- Search pharmacologic drug classessearch_application_numbers- Search FDA application numberssearch_uniis- Search UNII codes with advanced filters
Drug Information
get_drug_details- Complete drug information by SET IDget_drug_history- Version history for drugsget_drug_ndcs- NDC codes for specific drugsget_drug_packaging- Packaging informationget_drug_media- Media links (images, documents)
Database Access
get_all_*- Paginated access to drug names, classes, NDCs, RxCUIs, UNIIs, application numbersget_dailymed_context- Database information and capabilities
Enhanced Mapping (when mapping files present)
search_by_rxnorm_mapping- Search RxNorm mappings by drug nameget_*_mappings_for_setid- Get mappings for specific drugssearch_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
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
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.
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.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
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.
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.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
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.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.