npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

nutrients-mcp

v1.0.2

Published

MCP server for food image analysis and nutrition data via TastyAPI

Downloads

28

Readme

nutrients-mcp

Give your AI assistant the ability to analyze food images and look up nutrition data for any food — calories, macros, vitamins, minerals, allergens, and dietary flags in under 1 second — powered by TastyAPI. Much faster and more accurate than Gemini and GPT-4 Vision (4-10 seconds).

Requirements

Quick Start

Claude Code

claude mcp add nutrients -- npx -y nutrients-mcp

Then set your API key in the server's environment config:

TASTYAPI_KEY=YOUR_API_KEY

Claude Desktop

Add to ~/Library/Application Support/Claude/claude_desktop_config.json:

{
  "mcpServers": {
    "nutrients": {
      "command": "npx",
      "args": ["-y", "nutrients-mcp"],
      "env": { "TASTYAPI_KEY": "YOUR_API_KEY" }
    }
  }
}

Cursor / Windsurf

Add to your mcp.json:

{
  "mcpServers": {
    "nutrients": {
      "command": "npx",
      "args": ["-y", "nutrients-mcp"],
      "env": { "TASTYAPI_KEY": "YOUR_API_KEY" }
    }
  }
}

Tools

analyze_food_image

Fetches a food image from a public URL and returns a full nutritional breakdown.

| Parameter | Type | Required | Description | |-------------|--------|----------|---------------------------------------| | image_url | string | yes | Public URL of a food image to analyze |

Example prompt:

"What are the macros in this meal? https://example.com/pasta.jpg"

Example output:

{
  "food_name": "Pasta Bolognese",
  "calories": 520,
  "macros": {
    "protein_g": 24,
    "carbohydrates_g": 68,
    "fat_g": 16,
    "fiber_g": 4
  },
  "vitamins": { "vitamin_c_mg": 8, "vitamin_b12_mcg": 1.4 },
  "minerals": { "iron_mg": 3.2, "calcium_mg": 60 },
  "allergens": ["gluten", "dairy"],
  "dietary": { "vegan": false, "vegetarian": false, "gluten_free": false }
}

analyze_food

Returns a full nutritional breakdown for a food item by name or description. No image required.

| Parameter | Type | Required | Description | |-------------|--------|----------|---------------------------------------------------------------| | food_name | string | yes | Name or description of the food (e.g. "oatmeal with banana, 1 cup") |

Example prompt:

"How many calories are in a large avocado?"

Example output:

{
  "food_name": "Large Avocado",
  "calories": 322,
  "macros": {
    "protein_g": 4,
    "carbohydrates_g": 17,
    "fat_g": 29,
    "fiber_g": 13
  },
  "vitamins": { "vitamin_k_mcg": 42, "folate_mcg": 163 },
  "minerals": { "potassium_mg": 975, "magnesium_mg": 58 },
  "allergens": [],
  "dietary": { "vegan": true, "vegetarian": true, "gluten_free": true }
}

Pricing

  • $0.015 per request + $5/month base fee (usage-based)
  • Or choose a flat-rate plan: Monthly ($29/mo · 5k calls) or Professional ($69/mo · 15k calls)

See tastyapi.com/pricing for full details.

License

MIT — © EB Tech LLC