MCP OpenNutrition
A Model Context Protocol (MCP) server providing access to the comprehensive OpenNutrition food database with 300,000+ food items, nutritional data, and barcode lookups.
OpenNutrition addresses the longstanding issues with fragmented and unreliable nutritional data by combining authoritative public sources (USDA, CNF, FRIDA, AUSNUT). Unlike other databases that suffer from inconsistent user-generated content or restrictive commercial licensing, OpenNutrition provides transparent, comprehensive, and accurate nutritional data that's freely accessible to developers and researchers.
Tools
- Search by Name: Find foods by name, brand, or partial matches
- Browse Foods: Get paginated lists of all available foods
- Get by ID: Retrieve detailed nutritional information using food IDs
- Barcode Lookup: Find foods using EAN-13 barcodes
Installation
Docker (recommended)
The easiest way to run the server is via Docker. No build steps required.
Run the container:
docker run --rm -p 9113:3000 deadletterq/mcp-opennutrition





