AN

augmented-nature/openfda-mcp-server

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

25 stars 8 forks 质量 44 趋势 11NOASSERTION

一个全面的模型上下文协议(MCP)服务器,通过开放的FDA API提供访问美国食品药品监督管理局(FDA)公开数据集的访问。

概览

一个全面的模型上下文协议(MCP)服务器,通过开放的FDA API提供访问美国食品药品监督管理局(FDA)公开数据集的访问。该服务器支持查询药物不良事件、产品标签、召回、批准、短缺、NDC目录信息以及医疗器械监管数据,包括510(k)许可、分类和不良事件。 - : 搜索FDA不良事件报告系统(FAERS)数据 - : 搜索药品标签信息 - : 查询国家药品代码(NDC)目录 - : 查找药品召回执法报告 - : 搜索Drugs@FDA数据库中的获批产品 - : 查询当前药品短缺 - : 搜索FDA 510(k)器械许可 - : 搜索FDA器械分类 - : 搜索FDA器械不良事件(MDR) - : 搜索FDA器械召回执行报告 - :按药品名称、制造商、适应症、日期等进行高级过滤- :内置对FDA API速率限制的认知(每小时1000个请求,且无......

概述(AI 翻译)

一个全面的模型上下文协议(MCP)服务器,通过开放的FDA API提供访问美国食品药品监督管理局(FDA)公开数据集的访问。该服务器支持查询药物不良事件、产品标签、召回、批准、短缺、NDC目录信息以及医疗器械监管数据,包括510(k)许可、分类和不良事件。

由Augmented Nature开发

特色

药物工具(已实现6个工具)

  • search_drug_adverse_events:搜索FDA不良事件报告系统(FAERS)数据
  • search_drug_labels:搜索药品标签信息
  • search_drug_ndc:查询国家药品代码(NDC)目录
  • search_drug_recalls:查找毒品召回执法报告
  • search_drugs_fda:在Drugs@FDA数据库中搜索批准产品
  • search_drug_shortages:查询当前药品短缺

设备工具(已实现4个工具)

  • search_device_510k:搜索FDA 510(k)器械许可
  • search_device_classifications:搜索FDA器械分类
  • search_device_adverse_events:搜索FDA器械不良事件(MDR)

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

Unofficial FDA API MCP Server

A comprehensive Model Context Protocol (MCP) server that provides access to the U.S. Food and Drug Administration’s public datasets through the openFDA API. This server enables querying of drug adverse events, product labeling, recalls, approvals, shortages, NDC directory information, and medical device regulatory data including 510(k) clearances, classifications, and adverse events.

Developed by Augmented Nature

Features

Drug Tools (6 tools implemented)

  • search_drug_adverse_events: Search FDA Adverse Event Reporting System (FAERS) data
  • search_drug_labels: Search drug product labeling information
  • search_drug_ndc: Query the National Drug Code (NDC) directory
  • search_drug_recalls: Find drug recall enforcement reports
  • search_drugs_fda: Search the Drugs@FDA database for approved products
  • search_drug_shortages: Query current drug shortages

Device Tools (4 tools implemented)

  • search_device_510k: Search FDA 510(k) device clearances
  • search_device_classifications: Search FDA device classifications
  • search_device_adverse_events: Search FDA device adverse events (MDR)
  • search_device_recalls: Search FDA device recall enforcement reports

Key Features

  • Comprehensive Search: Advanced filtering by drug name, manufacturer, indication, dates, and more
  • Rate Limiting: Built-in awareness of FDA API rate limits (1,000 requests/hour without API key)
  • Error Handling: Robust error handling with meaningful error messages
  • Formatted Results: Clean, structured JSON responses with relevant metadata
  • Optional API Key: Supports FDA API key for higher rate limits (120,000 requests/hour)

Installation

  1. The server is already built and configured in your MCP settings
  2. Optionally set an FDA API key for higher rate limits:
# Set FDA_API_KEY environment variable for higher rate limits
export FDA_API_KEY="your_api_key_here"

To get an FDA API key:

  1. Visit https://open.fda.gov/apis/authentication/
  2. Sign up for an API key
  3. Add it to your MCP settings or environment

Usage Examples

Search Drug Adverse Events

Search for adverse events related to aspirin that occurred in the United States in 2023

Search Drug Labels

Find labeling information for diabetes medications manufactured by Novo Nordisk

Search NDC Directory

Look up NDC information for ibuprofen tablets

Search Drug Recalls

Find all Class I drug recalls from 2023 involving contamination

Search FDA Approved Drugs

Find all FDA-approved drugs sponsored by Pfizer with injection dosage form

Search Drug Shortages

Find current drug shortages for antibiotics

API Response Format

All tools return structured JSON with:

  • search_criteria: The parameters used for the search
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →