{
  "markdown": "# nutrients-mcp\n\nGive 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](https://tastyapi.com). Much faster and more accurate than Gemini and GPT-4 Vision (4-10 seconds).\n\n## Requirements\n\n- Node.js 18+\n- A TastyAPI API key — [get one at tastyapi.com/pricing](https://tastyapi.com/pricing)\n\n## Quick Start\n\n### Claude Code\n\n```bash\nclaude mcp add nutrients -- npx -y nutrients-mcp\n```\n\nThen set your API key in the server's environment config:\n\n```\nTASTYAPI_KEY=YOUR_API_KEY\n```\n\n### Claude Desktop\n\nAdd to `~/Library/Application Support/Claude/claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"nutrients\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"nutrients-mcp\"],\n      \"env\": { \"TASTYAPI_KEY\": \"YOUR_API_KEY\" }\n    }\n  }\n}\n```\n\n### Cursor / Windsurf\n\nAdd to your `mcp.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"nutrients\": {\n      \"command\": \"npx\",\n      \"args\": [\"-y\", \"nutrients-mcp\"],\n      \"env\": { \"TASTYAPI_KEY\": \"YOUR_API_KEY\" }\n    }\n  }\n}\n```\n\n## Tools\n\n### `analyze_food_image`\n\nFetches a food image from a public URL and returns a full nutritional breakdown.\n\n| Parameter   | Type   | Required | Description                           |\n|-------------|--------|----------|---------------------------------------|\n| `image_url` | string | yes      | Public URL of a food image to analyze |\n\n**Example prompt:**\n> \"What are the macros in this meal? https://example.com/pasta.jpg\"\n\n**Example output:**\n```json\n{\n  \"food_name\": \"Pasta Bolognese\",\n  \"calories\": 520,\n  \"macros\": {\n    \"protein_g\": 24,\n    \"carbohydrates_g\": 68,\n    \"fat_g\": 16,\n    \"fiber_g\": 4\n  },\n  \"vitamins\": { \"vitamin_c_mg\": 8, \"vitamin_b12_mcg\": 1.4 },\n  \"minerals\": { \"iron_mg\": 3.2, \"calcium_mg\": 60 },\n  \"allergens\": [\"gluten\", \"dairy\"],\n  \"dietary\": { \"vegan\": false, \"vegetarian\": false, \"gluten_free\": false }\n}\n```\n\n---\n\n### `analyze_food`\n\nReturns a full nutritional breakdown for a food item by name or description. No image required.\n\n| Parameter   | Type   | Required | Description                                                   |\n|-------------|--------|----------|---------------------------------------------------------------|\n| `food_name` | string | yes      | Name or description of the food (e.g. `\"oatmeal with banana, 1 cup\"`) |\n\n**Example prompt:**\n> \"How many calories are in a large avocado?\"\n\n**Example output:**\n```json\n{\n  \"food_name\": \"Large Avocado\",\n  \"calories\": 322,\n  \"macros\": {\n    \"protein_g\": 4,\n    \"carbohydrates_g\": 17,\n    \"fat_g\": 29,\n    \"fiber_g\": 13\n  },\n  \"vitamins\": { \"vitamin_k_mcg\": 42, \"folate_mcg\": 163 },\n  \"minerals\": { \"potassium_mg\": 975, \"magnesium_mg\": 58 },\n  \"allergens\": [],\n  \"dietary\": { \"vegan\": true, \"vegetarian\": true, \"gluten_free\": true }\n}\n```\n\n## Pricing\n\n- **$0.015 per request** + $5/month base fee (usage-based)\n- Or choose a flat-rate plan: Monthly ($29/mo · 5k calls) or Professional ($69/mo · 15k calls)\n\nSee [tastyapi.com/pricing](https://tastyapi.com/pricing) for full details.\n\n## License\n\nMIT — © EB Tech LLC\n",
  "bytes": 3147,
  "sha": "9f34a3ac499ac979f00f39e9a3668bd41afa856f02b6fb895d9c4970b7a90ad1",
  "repo_slug": "ericblair1903/nutrients-mcp",
  "fonte": "repo",
  "truncated": false,
  "api": "https://agentalog.com/api/listings/mcp_io_github_ericblair1903_nutrients_mcp_f667123c/readme"
}