# Nutrition MCP

A hosted server that keeps a food diary through chat: meals and macros, USDA and barcode lookups, history, and a CSV import from another tracker.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · ★ 81
- Author: akutishevsky
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/akutishevsky/nutrition-mcp
- Updated: 2026-10-10
- HTML: https://affpapa.org/en/nevibecode/mcp/nutrition-mcp

## What it does

Nothing runs on your machine. You hand the client `https://nutrition-mcp.com/mcp`, and the first connection asks for a sign-in: Google, or an email address with a password you set. The diary belongs to that account, so it survives reconnects.

The tools cover a normal day of eating. `log_meal` takes a plain description and splits it into calories, protein, fat and carbs, plus fiber, both sugar figures, saturated and trans fat, caffeine and free text notes; every value carries a note of where it came from. Generic foods come from USDA FoodData Central through `search_foods` and `get_food_macros`, packaged labels are read by `lookup_barcode` via Open Food Facts. For reading back there is `get_meals_today`, a single-date call and a range call capped at 31 days. Meals you repeat can be stored and logged again by name, and water, body weight and measurements have their own entries.

Switching trackers goes through `start_meal_import`. Pick the CSV, map its columns, look at the preview before anything is written. Watch the alcohol part. That tracking is off unless you enable it, and while it stays off the importer drops the column, so re-sending the same file later will not put those values back.

## Requirements
- Remote server: `https://nutrition-mcp.com/mcp`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http nutrition-mcp https://nutrition-mcp.com/mcp
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add nutrition-mcp --url https://nutrition-mcp.com/mcp
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "nutrition-mcp": {
            "url": "https://nutrition-mcp.com/mcp"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "nutrition-mcp": {
            "type": "http",
            "url": "https://nutrition-mcp.com/mcp"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http nutrition-mcp https://nutrition-mcp.com/mcp
```

## When to use it
- log a meal and its macros from one chat message
- pull a packaged product's numbers from its barcode
- scale USDA values to the portion actually eaten
- move an old food diary over from a CSV export
- check what was eaten on a given day or over a range

## Example prompts
- Log lunch: chicken pasta, 620 kcal, 40 g protein, 70 g carbs
- Search USDA for `chicken breast` and scale the macros to my portion
- Import my diary from `export.csv`, it came out of my old tracker

## Similar
- [Reactive Resume](https://affpapa.org/en/nevibecode/mcp/reactive-resume.md) — MCP server · ★ 44874
- [screenpipe](https://affpapa.org/en/nevibecode/mcp/screenpipe.md) — MCP server · ★ 22053
- [Inbox Zero](https://affpapa.org/en/nevibecode/mcp/inbox-zero.md) — MCP server · ★ 12791
- [kaneo](https://affpapa.org/en/nevibecode/mcp/kaneo.md) — MCP server · ★ 9602
- [Mindwtr](https://affpapa.org/en/nevibecode/mcp/mindwtr.md) — MCP server · ★ 2318
- [Azure DevOps (ADO)](https://affpapa.org/en/nevibecode/mcp/azure-devops-ado.md) — MCP server · ★ 2067

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
