Atlas / MCP servers / deadletterq / OpenNutrition

OpenNutritionSAFE

mcp/deadletterq/opennutrition

MCP server providing access to the comprehensive OpenNutrition food database with 300,000+ food items, nutritional data, and barcode lookups

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
4 4r · 0w · 0d
Transport
stdio · streamable-http
License
MIT
Stars
207
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

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

Then add to your MCP configuration:

"mcp-opennutrition": {
"type": "streamable-http",
"url": "http://localhost:9113"
}

From source

  1. Install dependencies:
npm install
  1. Build the project:
npm run build
  1. Add to your MCP configuration (set the same version of node that you used to build the project):
"mcp-opennutrition": {
"command": "/Users/YOUR.USERNAME/.nvm/versions/node/v20.19.0/bin/node",
"args": [
"/ABSOLUTE/PATH/TO/PARENT/FOLDER/mcp-opennutrition/build/index.js"
]
}

Data Source

This server uses the OpenNutrition dataset.

The dataset provides comprehensive nutritional profiles including macronutrients, vitamins, and minerals.

Usage

Once configured, the MCP server runs fully locally on your machine and automatically provides

Read from source at commit 123c5f999c6cOBSERVED · 2026-10-06
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control.

claude-code
claude mcp add mcp-opennutrition -- npx -y [email protected]
claude-desktop
{
  "mcpServers": {
    "mcp-opennutrition": {
      "command": "npx",
      "args": [
        "-y",
        "[email protected]"
      ]
    }
  }
}
03

Exposed tools (4)

4 read · 0 write · 0 destructive.

ToolRiskDescription
get-food-by-ean13read
get-food-by-idread
get-foodsread
search-food-by-nameread
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
none-observed
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (2)

LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@modelcontextprotocol/sdk, better-sqlite3, papaparse, yauzl, zod, @types/better-sqlite3, @types/node, @types/papaparse
Why it matters. 11 dependency range(s) float
Fix. pin exact versions or ship a lockfile
INFOInventory / provenance · inv.oversize · CWE-1104
data/opennutrition-dataset-2025.1.zip
data/opennutrition-dataset-2025.1.zip
Why it matters. 62927029 bytes not read

Gates applied: no_behavioural_pass.

Audited 2026-10-06 · audit v0.4.1 · source sha 123c5f999c6cfull audit observations/trust-audit/mcp-server/deadletterq__opennutrition.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-06123c5f999c6cSAFEB89first audit
06

Questions

What is the OpenNutrition MCP server?

MCP server providing access to the comprehensive OpenNutrition food database with 300,000+ food items, nutritional data, and barcode lookups

What tools does OpenNutrition expose?

4 in total: 4 read-only, 0 that write, and 0 that can delete or overwrite. Every one is listed on this page with its risk.

Is OpenNutrition safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B.

What credentials does OpenNutrition need?

No credential environment variables were found in its source, so it appears to need none.

How does OpenNutrition run?

It speaks stdio and streamable-http, so it runs as a local process your client starts. It is published on npm as mcp-opennutrition at 1.0.0.

How current is this page?

The grade is for one exact copy of the source (123c5f999c6c), read on 2026-10-06. The repository is watched and re-audited when it changes.

Advertisement