← Back to directory
O

OpenNutrition MCP Server

Community
Access the OpenNutrition food database with 300,000+ items
GitHub source repository ↗
★ 203 Stars Category · Database Very popular Source revision 724984a7308d
33FMRS · D
Reliability
6/20
Security and permissions
6/20
Maintenance
8/20
Documentation
7/20
Setup experience
6/20
Read the FMRS scoring method →

A Model Context Protocol (MCP) server providing access to the comprehensive OpenNutrition food database with 300,000+ food items, nutritional data, and barcode lookups. It aggregates authoritative public sources (USDA, CNF, FRIDA, AUSNUT) to provide transparent, comprehensive, and accurate nutritional data, addressing issues of fragmented and unreliable data.

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

Setup

Using Docker (recommended): run docker run --rm -p 9113:3000 deadletterq/mcp-opennutrition, then add to MCP config: {"mcp-opennutrition": { "type": "streamable-http", "url": "http://localhost:9113" }}. From source: in the repo root, run npm install and npm run build, then specify node path and the built index.js in MCP config.

Fit and risk

Best for

  • Developers requiring reliable nutritional data
  • Researchers
  • Health app developers

Not for

  • Those needing real-time web data
  • Those needing user-generated content databases

Required permissions

  • Local file access (possible)
  • Network access (for dataset download, but no external calls at runtime)

Risks and side effects

  • Local data storage may consume space
  • Risk of outdated data

Troubleshooting

  1. Check that the Docker container is running
  2. Verify the URL and port in MCP config
  3. For source install, ensure node version and paths are correct

Use cases

Query nutritional information for foods
Identify foods quickly via barcode
Search for foods for recipes or meal planning

Supported clients

ClaudeFull support