Back to catalog

SafetySearch MCP Server

A comprehensive Model Context Protocol (MCP) server that provides access to FDA (Food and Drug Administration) data for food safety information, including recalls, safety alerts, and adverse events.

A comprehensive Model Context Protocol (MCP) server that provides access to FDA (Food and Drug Administration) data for food safety information, including recalls, safety alerts, and adverse events.

Installation

From source with pip

git clone https://github.com/surabhya/SafetySearch.git
cd SafetySearch
pip install "mcp[cli]>=1.0.0" httpx>=0.24.0 pydantic>=2.0.0

From source with uv

git clone https://github.com/surabhya/SafetySearch.git
cd SafetySearch
uv add "mcp[cli]>=1.0.0" httpx>=0.24.0 pydantic>=2.0.0

Development mode

uv run mcp dev server.py

Direct server execution

uv run python server.py

Installation for Claude Desktop

uv run mcp install server.py

Available Tools

Tool Description
search_recalls_by_product_description Search for food product recalls with detailed analysis, safety information, and comprehensive reporting
search_recalls_by_product_type Search recalls by product type with detailed analysis, company trends, and safety recommendations
search_recalls_by_specific_product Check recalls for specific products with detailed safety information and recommendations
search_recalls_by_classification Search recalls by classification with detailed analysis and risk assessment
search_recalls_by_code_info Search recalls by code information with detailed product tracking and safety alerts
search_recalls_by_date Search recalls by date range with detailed timeline analysis and safety trends
search_adverse_events_by_product Search adverse events with detailed case analysis and safety information
get_symptom_summary_for_product Get detailed symptom analysis, case details, and safety information for specific food products

Features

  • Check product recalls and food safety alerts
  • Monitor food safety issues and recall trends
  • Analyze safety trends and company information
  • Get comprehensive food safety information
  • Access FDA Enforcement API for recall data
  • Access FDA Adverse Events API for safety reports

Usage Examples

Are there any recalls for ice cream?
Show me recent recalls for bakery products.
I bought some 'Ben & Jerry's Chocolate Fudge Brownie' ice cream, is it safe?
List all the most serious food recalls.
The code on my food package is '222268'. Is there a recall for it?

Notes

Built with modular architecture for extensibility. Uses openFDA API endpoints for food control and adverse events data. Includes a comprehensive test suite for reliability.

Comments (0)

Sign In Sign in to leave a comment.