Skip to main content
Glama
MCP-Forge

nutritionix-mcp-server

by MCP-Forge

πŸ₯¦ Nutritionix MCP Server

This is an MCP (Model Context Protocol) server for integrating with the Nutritionix API, enabling AI agents to access food search, nutrition data, and exercise calorie estimates via natural language input.

The goal of this project is to expose Nutritionix's functionality through MCP-compatible tools that can be used seamlessly by large language models and agent frameworks.


🧠 What is MCP?

MCP (Model Context Protocol) is a lightweight protocol designed to let AI agents interact with external tools and APIs in a structured and modular way. Think of it like USB for AI β€” this server acts as a "driver" for the Nutritionix platform.

With this MCP server, AI models can:

  • πŸ” Search for common and branded food items

  • 🍽️ Parse natural language meals into nutritional breakdowns

  • πŸƒ Estimate calories burned from exercises like running, cycling, or yoga


πŸš€ How to Run

To use this MCP server, you'll need:

Related MCP server: Nutrition By Api Ninjas MCP Server

βœ… Prerequisites

  • Python 3.11+

  • uv – a modern Python package manager

  • A supported LLM (e.g., Claude)

  • A Nutritionix API App ID and App Key – get them at developer.nutritionix.com

Add this to Claude Desktop config

{
  "mcpServers": {
    "nutritionix-mcp": {
      "command": "uvx",
      "args": [
        "nutritionix-mcp-server",
        "--app-id",
        "YOUR APP ID",
        "--app-key",
        "YOUR APP KEY"
      ]
    }
  }
}

🀝 Contributions Welcome!

Whether you're into nutrition tech, AI agent development, or API tooling β€” we’d love your help improving this project. You can contribute by:

  • Adding new tools (e.g., barcode search, food logging)

  • Improving response formatting

  • Writing tests or documentation

  • Suggesting new ideas via Issues or Discussions

Feel free to fork, explore, and submit a PR. Let’s make agent-integrated nutrition smarter, together. 🧠πŸ₯—


MCP-FORGE – Building tools for the future of intelligent automation.

A
license - permissive license
-
quality - not tested
F
maintenance

Maintenance

–Maintainers
–Response time
–Release cycle
–Releases (12mo)
Commit activity
Issues opened vs closed

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    D
    maintenance
    Provides intelligent access to the USDA nutrition database through AI assistants, enabling users to search foods, compare nutritional content, find foods high in specific nutrients, and query authoritative nutrition data across 7,146+ food items through natural language.
    1
  • A
    license
    C
    quality
    D
    maintenance
    Provides access to the Nutrition By Api Ninjas API to extract detailed nutritional information from natural language food queries. It enables users to retrieve data such as calories, vitamins, and macros from text descriptions of meals.
    1
    MIT
  • A
    license
    -
    quality
    D
    maintenance
    Enables AI agents to search the USDA's FoodData Central database and retrieve detailed nutritional information and ingredient lists. It supports comprehensive food data access through keyword searches and structured queries for specific food items.
    3
    MIT

View all related MCP servers

Related MCP Connectors

  • Spoonacular food API: recipes, nutrition, ingredients, meal plans. Free 150/day.

  • 60+ units, live FX, timezones, and date arithmetic for AI agents.

  • Resolve Japanese food names to nutrition facts. All 2,538 foods from Japan's official tables.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/MCP-Forge/nutritionix-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server