Skip to main content

🥦 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:

✅ 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.

Metadata

Release files for nutritionix-mcp-server 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nutritionix-mcp-server 0.1.1
File Size Uploaded
nutritionix_mcp_server-0.1.1.tar.gz 20.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nutritionix-mcp-server 0.1.1
File Interpreter ABI Platform
nutritionix_mcp_server-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 27.0 kB

Release files / nutritionix_mcp_server-0.1.1.tar.gz

Download URL nutritionix_mcp_server-0.1.1.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c0ef0f41e6473697db1317ad76fc2cf490aa0a9f421c5d5bfe2d5dc64ad8b8cc
BLAKE2b-256 checksum
How to use checksums
381da33e1fb4070aec28f0c58dbb1b8e43c82b2999781cd7937a957ffe7b7161
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.6

Release files / nutritionix_mcp_server-0.1.1-py3-none-any.whl

Download URL nutritionix_mcp_server-0.1.1-py3-none-any.whl
Size 7.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0106b8305225298591e2799319925c606086f33f7231457f4702130e08e6669b
BLAKE2b-256 checksum
How to use checksums
f0bee26507f7625a78b4c936e3d9c93e74cbfdfe19a9f8789344fddf44414b0f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.6

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page