Command Palette

Search for a command to run...

UnylyUnyly
Весь каталог

deadletterq/mcp-opennutrition

БесплатноНе проверен

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

GitHubEmbed

Описание

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

README

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

from github.com/deadletterq/mcp-opennutrition

Установка deadletterq/mcp-opennutrition

У этого сервера нет опубликованного пакета — он собирается из исходников. Открой репозиторий и следуй инструкции в README.

▸ github.com/deadletterq/mcp-opennutrition

FAQ

deadletterq/mcp-opennutrition MCP бесплатный?

Да, deadletterq/mcp-opennutrition MCP бесплатный — установка в пару кликов через Unyly без оплаты.

Нужен ли API-ключ для deadletterq/mcp-opennutrition?

Нет, deadletterq/mcp-opennutrition работает без API-ключей и переменных окружения.

deadletterq/mcp-opennutrition — hosted или self-hosted?

Self-hosted: сервер запускается локально на твоей машине командой из раздела установки.

Как установить deadletterq/mcp-opennutrition в Claude Desktop, Claude Code или Cursor?

Открой deadletterq/mcp-opennutrition на unyly.org, выбери вкладку своего клиента (Claude Desktop, Claude Code, Cursor) и нажми Install — конфиг сгенерируется автоматически, без правки JSON.

Похожие MCP

Compare deadletterq/mcp-opennutrition with

Не уверен что выбрать?

Найди свой стек за 60 секунд

Автор?

Embed-бейдж для README

Похожее

Все в категории data