deadletterq/mcp-opennutrition

🔎 Search & Data Extraction🟢 Verified Active
0 Views
0 Installs

📇 🏠 - Local MCP server for searching 300,000+ foods, nutrition facts, and barcodes from the OpenNutrition database.

Quick Install

One-Click IDE Configuration
claude_desktop_config.json
{
  "mcpServers": {
    "deadletterq-mcp-opennutrition": {
      "command": "npx",
      "args": [
        "-y",
        "deadletterq-mcp-opennutrition"
      ]
    }
  }
}
Or

Using an AI coding agent (Claude Code, Cursor, etc.)? Copy a ready-made prompt that tells it to fetch the setup instructions and install this server for you.

Documentation Overview

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

Then add to your MCP configuration:

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

From source

  1. Install dependencies:

    npm install
    
  2. Build the project:

    npm run build
    
  3. 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 food and nutrition query capabilities to Claude/Cline. All data processing and queries happen locally with no external API calls, ensuring privacy and fast response times.

Example

Here is an example of how Claude uses the tool for a brownie recipe:

Brownie Recipe Example

Related MCP Servers

linxule/mineru-mcp

📇 ☁️ - MCP server for MinerU document parsing API. Parse PDFs, images, DOCX, and PPTX with OCR (109 languages), batch processing (200 docs), page ranges, and local file upload. 73% token reduction with structured output.

🔎 Search & Data Extraction1 views
0xdaef0f/job-searchoor

📇 🏠 - An MCP server for searching job listings with filters for date, keywords, remote work options, and more.

🔎 Search & Data Extraction0 views
Aas-ee/open-webSearch

🐍 📇 ☁️ - Web search using free multi-engine search (NO API KEYS REQUIRED) — Supports Bing, Baidu, DuckDuckGo, Brave, Exa, and CSDN.

🔎 Search & Data Extraction0 views
ac3xx/mcp-servers-kagi

📇 ☁️ - Kagi search API integration

🔎 Search & Data Extraction0 views

Engagement

Views
0
Installs
0
Upvotes
0

Views and upvotes are unique per visitor network (hashed IP). Installs count copy actions.

Status

Health: Active

Recent health check succeeded.

Last checked: 7/28/2026, 9:26:49 PM

Unclaimed listing (imported or pending owner verification). Claim it →
★ Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to get the verified badge and attach your website.

Claim this listing

Promote this listing

Optional paid placement. Free listings stay free forever.

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.