SafetySearch
Created 4 months ago
A comprehensive Model Context Protocol (MCP) server providing access to FDA food safety information.
development
location
documentation
public
food safety
What is SafetySearch?
Real-time FDA food safety data: recalls, adverse events, analysis.
Documentation
SafetySearch
What This Server Provides
This MCP server offers 8 tools to access product safety data...
Quick Start# Prerequisites
- Python 3.10 or higher
- pip or uv package manager
Installation
- Clone or download the project:
git clone https://github.com/surabhya/SafetySearch.git cd SafetySearch - Install dependencies:
pip install "mcp[cli]>=1.0.0" httpx>=0.24.0 pydantic>=2.0.0
Usage# Using uv (Recommended)
...
Available Tools# Food Safety Tools (8 tools)
| Tool | Description | Parameters |
|---|---|---|
search_recalls_by_product_description |
Searches for food recalls... | query: str |
| ... |
Architecture
The server is built with a simple, modular architecture...
Example Prompts and Tool Calls# Food Safety Tools
- User Prompt: "Are there any recalls for ice cream?"
food.search_recalls_by_product_description(query="ice cream")...
Running Tests
To verify that all tools work as expected...
API Endpoints Used# Food Safety
- Enforcement API:
https://api.fda.gov/food/enforcement.json - Adverse Events API:
https://api.fda.gov/food/event.json
Server Config
{
"mcpServers": {
"safetysearch-server": {
"command": "npx",
"args": [
"safetysearch"
]
}
}
}
Links & Status
Project Info
Hosted
Featured
Created At:
Jul 17, 2025
Updated At:
Aug 07, 2025
Author:
Surabhya
Category:
community
License:
MIT License
Tags:
development
location
documentation