Skip to content
MCP server

Nutrition MCP

Chat-based calorie and macro tracker for Claude and ChatGPT with USDA and barcode lookups

Install
Pricing
Open source
Platforms
Web, self-hosted
Runs
Remotely
Version
1.33.0
Listing updated
3 days ago

About Nutrition MCP

Nutrition MCP is an open-source MCP server for health and science. It runs as a hosted remote server, so there is nothing to install locally.

Meals are logged by describing them in conversation, sending a photo or a delivery-app screenshot, or scanning a barcode. Generic foods use USDA FoodData Central values where available, packaged products come from Open Food Facts, and each nutrient value records where it came from. Beyond calories and macros it can track fiber, sugars, saturated and trans fat, sodium with an optional ceiling, caffeine, water, body weight and measurements. Alcohol tracking is opt-in.

Meals you eat often can be saved and logged again by name. Asking for daily summaries, weekly trends and progress against goals works in chat, and in-chat widgets are available in ten languages. An importer recognises exports from MyFitnessPal, Cronometer, Lose It! and MacroFactor, and any other CSV can be mapped by hand with a preview before saving. History can be exported as CSV.

You create an account with Google or email on first connect, and OAuth handles the sign-in. The code is open source, built on Bun, Hono and Supabase, with self-hosting instructions in the README.

Install

Run in a terminal

claude mcp add --transport http nutrition-mcp https://nutrition-mcp.com/mcp

Add to Settings → Connectors → Add custom connector

https://nutrition-mcp.com/mcp
Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "nutrition-mcp": {
      "url": "https://nutrition-mcp.com/mcp"
    }
  }
}
Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to .vscode/mcp.json

{
  "servers": {
    "nutrition-mcp": {
      "type": "http",
      "url": "https://nutrition-mcp.com/mcp"
    }
  }
}

Add to ~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "nutrition-mcp": {
      "serverUrl": "https://nutrition-mcp.com/mcp"
    }
  }
}

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "nutrition-mcp": {
      "type": "http",
      "url": "https://nutrition-mcp.com/mcp"
    }
  }
}

Tools this server provides (1)

Taken from the project documentation; the running server may differ.

set_language
Chooses the language for in-chat widgets.

What it does

Plain-language logging
Describe a meal, send a photo or scan a barcode to log it.
Sourced nutrient data
Uses USDA FoodData Central and Open Food Facts and records each value's source.
Saved meals
Reuses frequent meals by name.
Goals and summaries
Tracks daily targets and gives daily and weekly reviews.
App import
Brings in CSV exports from other food trackers after a preview.
CSV export
Exports all logged data for free.
Self-hosting
Open source code with Supabase setup instructions.

Good for

  • Log breakfast by telling the assistant what you ate
  • Move a food diary over from MyFitnessPal or Cronometer
  • Check progress against a daily protein goal
  • Track water, weight and caffeine alongside meals

Pricing

Open source

Free to use; the author accepts donations through Patreon

Prices change. Check nutrition-mcp.com before you buy.

Nutrition MCP FAQ

What does it cost?

The site calls it free and open source, and says CSV export is free.

Where do nutrient values come from?

USDA FoodData Central for generic foods and Open Food Facts for barcodes.

Which clients work?

Any client with remote MCP and OAuth 2.0 with PKCE, including Claude, ChatGPT, Cursor, VS Code and Claude Code.

Can I host it myself?

Yes. The README documents self-hosting with Supabase and environment variables.

Is Nutrition MCP free?

Yes. Nutrition MCP is open source, so you can use and self-host it for free.

How do I add Nutrition MCP to Claude Code?

Run this command in your terminal: claude mcp add --transport http nutrition-mcp https://nutrition-mcp.com/mcp

What are the best alternatives to Nutrition MCP?

The closest alternatives to Nutrition MCP are Tooluniverse, Oya Browser, Later Stages, MedXpert 标准检索连接器 and MedXpert 全球法规连接器 (reg-connector).

Alternatives to Nutrition MCP

  1. Tooluniverse

    MCP server

    MCP server giving AI agents access to thousands of scientific research tools

    Runs locally
    • Open source
    • 1.8K GitHub stars
    • Health and science
  2. Oya Browser

    MCP server

    HIPAA-oriented agentic browser with replayable playbooks, reachable over MCP

    • 32 tools
    • Remote
    • Freemium
    • 349 GitHub stars
    • Browser automation
  3. Later Stages

    MCP server

    California senior living and care provider records from state licensing and Medicare

    • 6 tools
    • Remote
    • Free
    • Health and science
  4. Read-only local index of medical-device standards with official links, no standard text

    Runs locally
    • 4 tools
    • Free
    • Legal and government
  5. Splyt

    MCP server

    Let Claude or ChatGPT read your Splyt workouts, records, plan, habits and sleep

    • Remote
    • Free
    • Health and science