SuperAPIAI Directory

nutrients-mcp

github.com · AI images

Nutrition analysis from a food photo or text description: calories, macros, vitamins, minerals, allergens and dietary flags.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)

About this tool

Purpose

nutrients-mcp is an MCP (Model Context Protocol) server designed to give AI assistants food nutrition analysis capabilities. It supports both reading food images from public image URLs and providing a complete nutritional breakdown, as well as querying nutrition data directly by food name or text description, without the need for an image.

Main capabilities

According to the project description, the server can return the following nutrition information: calories, macronutrients, vitamins, minerals, allergens, and dietary flags. It is officially stated that analysis is completed within 1 second, and it is claimed to be faster and more accurate than Gemini and GPT-4 Vision (4-10 seconds). The specific analysis tools provided include:

  • analyze_food_image: fetches a food image from a public URL and returns a complete nutritional breakdown. An example prompt is "What are the macros in this meal? https://example.com/pasta.jpg」。
  • Another tool (whose name is not explicitly given in the materials): returns a food nutritional breakdown by name or description, without the need for an image. An example prompt is "How many calories are in a large avocado?".

How to use

You first need to obtain a TastyAPI API key, available at tastyapi.com/pricing. After obtaining it, set the key in the server's environment configuration.

The materials provide two client configuration methods:

  • Claude Desktop: add the configuration to ~/Library/Application Support/Claude/claude_desktop_config.json
  • Cursor / Windsurf: add the configuration to mcp.json

The materials do not provide the specific JSON configuration code content, only the configuration file paths and descriptions.

Use cases

Suitable for users who want to perform dietary nutrition queries directly in AI assistants (such as Claude Desktop, Cursor, Windsurf, and other clients that support MCP), for example estimating the macronutrients of a meal, querying the calories of a certain food, or obtaining information such as vitamins, minerals, and allergens for a food.

Limitations and pricing

  • Depends on TastyAPI, and a valid API key is required to use it.
  • Image analysis only supports fetching images from public URLs.
  • Regarding pricing, two models are officially given: pay-per-request at $0.015 per request plus a $5 monthly base fee (usage-based); or choose a flat-rate plan, monthly version ($29/month, 5,000 calls) or professional version ($69/month, 15,000 calls). See tastyapi.com/pricing for full details.
  • The project uses the MIT license, with copyright belonging to EB Tech LLC.
  • The materials do not provide information on other limitations such as concurrency, supported languages, image formats, or regional availability.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools