Openfda
An MCP server for drug information query based on the OpenFDA API, providing multi - dimensional query functions such as drug labels, adverse reactions, and manufacturers.
2 points
7.9K

What is the OpenFDA MCP Server?

This is a service interface specifically designed for querying public drug data from the US FDA. Detailed drug information, side effect reports, manufacturer data, etc. can be obtained through simple commands.

How to use the OpenFDA MCP Server?

You need to obtain an OpenFDA API key first, and then you can start querying drug data through simple configuration. It supports querying by various methods such as drug brand name, generic name, and manufacturer.

Applicable scenarios

Suitable for scenarios where medical R & D personnel, healthcare practitioners, drug information researchers, etc. need to obtain authoritative drug data.

Main functions

Drug label query
Query the complete label information by drug brand name
Generic name query
Query relevant drug information by active ingredient (generic name)
Brand version query
Get all brand versions of a generic drug
Side effect report
Query the adverse reaction (side effect) report data of drugs
Manufacturer query
Get all drugs produced by a specific pharmaceutical company
Drug safety information
Query the safety information such as warnings, contraindications, and interactions of drugs
NDC format processing
Automatically standardize and verify the National Drug Code (NDC) format
Advantages
Provide authoritative FDA drug data
Support multiple query methods (brand name, generic name, manufacturer, etc.)
Automatically handle complex drug code formats
Friendly error prompts and suggestions
Limitations
An OpenFDA API key is required
Only drug data approved by the US FDA is available
Query results may be limited by the API

How to use

Get an API key
Register on the OpenFDA official website to obtain an API key
Configure the environment
Create a.env file and add your API key
Install dependencies
Clone the repository and install the necessary dependencies
Build the project
Compile the source code
Start the service
Run the compiled server

Usage examples

Query drug label information
Get the complete label information of a specific brand drug
Find brands corresponding to a generic name
Get all brand drugs of an active ingredient
Query drug side effects
Get the adverse reaction report data of drugs

Frequently Asked Questions

How to obtain an OpenFDA API key?
What should I do if the query results are inaccurate?
Which countries' drug data does the service support?
How to handle NDC code format issues?

Related resources

OpenFDA official website
OpenFDA official data portal
API key registration
Apply for an OpenFDA API key
GitHub repository
Project source code
Support the developer
Sponsor the developer

Installation

Copy the following command to your Client for configuration
{
     "mcpServers": {
       "openfda": {
         "command": "npx",
         "args": ["@ythalorossy/openfda"],
         "env": {
           "OPENFDA_API_KEY": "************"
         },
         "timeout": 60000
       }
     }
   }
Note: Your key is sensitive information, do not share it with anyone.

Alternatives

K
Klavis
Klavis AI is an open-source project that provides a simple and easy-to-use MCP (Model Context Protocol) service on Slack, Discord, and Web platforms. It includes various functions such as report generation, YouTube tools, and document conversion, supporting non-technical users and developers to use AI workflows.
TypeScript
9.2K
5 points
S
Scrapling
Scrapling is an adaptive web scraping library that can automatically learn website changes and re - locate elements. It supports multiple scraping methods and AI integration, providing high - performance parsing and a developer - friendly experience.
Python
8.4K
5 points
A
Apple Health MCP
An MCP server for querying Apple Health data via SQL, implemented based on DuckDB for efficient analysis, supporting natural language queries and automatic report generation.
TypeScript
8.7K
4.5 points
M
MCP Server Airbnb
Certified
MCP service for Airbnb listing search and details query
TypeScript
13.7K
4 points
F
Firecrawl MCP Server
The Firecrawl MCP Server is a Model Context Protocol server integrating Firecrawl's web - scraping capabilities, providing rich web - scraping, searching, and content - extraction functions.
TypeScript
69.0K
5 points
R
Rednote MCP
RedNote MCP is a tool that provides services for accessing Xiaohongshu content. It supports functions such as authentication management, keyword - based note search, and command - line initialization, and can access note content via URL.
TypeScript
12.4K
4.5 points
P
Perplexity MCP
Certified
An MCP server based on the Perplexity AI API, providing web search functionality for the Claude desktop client.
Python
15.8K
4.1 points
E
Exa Web Search
Certified
The Exa MCP Server is a server that provides web search capabilities for AI assistants (such as Claude), enabling real-time and secure web information retrieval through the Exa AI Search API.
TypeScript
28.5K
5 points
N
Notion Api MCP
Certified
A Python-based MCP Server that provides advanced to-do list management and content organization functions through the Notion API, enabling seamless integration between AI models and Notion.
Python
15.0K
4.5 points
M
Markdownify MCP
Markdownify is a multi-functional file conversion service that supports converting multiple formats such as PDFs, images, audio, and web page content into Markdown format.
TypeScript
25.0K
5 points
G
Gitlab MCP Server
Certified
The GitLab MCP server is a project based on the Model Context Protocol that provides a comprehensive toolset for interacting with GitLab accounts, including code review, merge request management, CI/CD configuration, and other functions.
TypeScript
17.1K
4.3 points
D
Duckduckgo MCP Server
Certified
The DuckDuckGo Search MCP Server provides web search and content scraping services for LLMs such as Claude.
Python
45.7K
4.3 points
U
Unity
Certified
UnityMCP is a Unity editor plugin that implements the Model Context Protocol (MCP), providing seamless integration between Unity and AI assistants, including real - time state monitoring, remote command execution, and log functions.
C#
19.6K
5 points
F
Figma Context MCP
Framelink Figma MCP Server is a server that provides access to Figma design data for AI programming tools (such as Cursor). By simplifying the Figma API response, it helps AI more accurately achieve one - click conversion from design to code.
TypeScript
46.8K
4.5 points
G
Gmail MCP Server
A Gmail automatic authentication MCP server designed for Claude Desktop, supporting Gmail management through natural language interaction, including complete functions such as sending emails, label management, and batch operations.
TypeScript
15.2K
4.5 points
M
Minimax MCP Server
The MiniMax Model Context Protocol (MCP) is an official server that supports interaction with powerful text-to-speech, video/image generation APIs, and is suitable for various client tools such as Claude Desktop and Cursor.
Python
30.2K
4.8 points
AIBase
Zhiqi Future, Your AI Solution Think Tank
© 2025AIBase