home / mcp / foodguidesouschef mcp server

FoodGuideSousChef MCP Server

Provides a nutrition analysis platform by linking Canada’s Food Guide with CNF, DRI, and EER data to drive recipe and nutrition insights.

Installation
Add the following to your MCP client configuration file.

Configuration

View docs
{
  "mcpServers": {
    "aryan-jhaveri-mcp-foodguidecanada": {
      "command": "/opt/homebrew/bin/python3",
      "args": [
        "path/to/mcp-foodguidecanada/src/server.py"
      ]
    }
  }
}

You can run a focused nutrition analysis MCP server that integrates Canada's Food Guide with Health Canada's CNF, DRI, and EER data. This server exposes 42+ specialized tools across six categories to help you discover recipes, analyze nutrition, manage sessions, and perform precise calculations for meal planning.

How to use

You interact with the server via an MCP client. Start the local server using the provided runtime command, then configure your MCP client to connect to the local stdio service. Once connected, load recipes, parse and extract ingredients, and run nutrition analyses using the built-in tools. You can search for recipes, fetch full recipe details, manage favorites, scale recipes for different servings, perform bulk calculations, and evaluate your intake against Health Canada’s DRI and CNF data. For example, you can search for Canadian CNF foods, retrieve complete macronutrient profiles, and convert units automatically in supported workflows.

How to install

# Prerequisites
python3 --version
pip3 --version

# Prerequisites check if you plan to run locally
# (these steps assume a fresh environment)

# 1) Clone the project repository
git clone https://github.com/Aryan-Jhaveri/mcp-foodguidecanada
cd mcp-foodguidecanada

# 2) Install dependencies
pip3 install -r requirements.txt

# 3) Run the MCP server locally (example using the server.py entry)
# The following is the typical local start command used for MCP clients:
python3 src/server.py

Additional sections

Configuration notes: a ready-to-use MCP configuration snippet is shown for connecting via a local stdio server. This config runs the server as a local process and points the MCP client to the correct script path. If you are running on macOS with Homebrew Python, you may adjust the Python path accordingly. When starting the server locally, ensure your working directory contains the project root so the server can locate its internal modules and data.

Notes, security, and troubleshooting

- The CNF database is rate-limited for macronutrient lookups. If you fetch macronutrient data in bulk, consider splitting requests into smaller batches to avoid incomplete results.

- If the server does not respond in your MCP client, verify your Python 3.8+ environment, ensure dependencies are installed, and confirm the server process is running in the expected directory.

Available tools

search_recipes

Search Canada's Food Guide with advanced filtering by ingredients, meals, appliances, and collections to discover suitable recipes.

get_recipe

Extract complete recipe details from a URL, including ingredients, instructions, prep time, and tips.

add_to_favorites

Save recipes to persistent SQLite storage for quick access later.

store_recipe_in_session

Store parsed recipes in virtual memory sessions for analysis without bloating the database.

simple_recipe_setup

Transfer, parse, and prepare a recipe for nutrition analysis in a single workflow.

scale_recipe_servings

Scale all ingredients in a recipe to a target number of servings.

bulk_math_calculator

Process multiple arithmetic calculations in a single operation for efficiency.

simple_calculator

Safe arithmetic evaluator for on-the-fly calculations with variable support.

recipe_comparisons

Compare two or more recipes by servings, complexity, or nutritional content.

search_and_get_cnf_macronutrients

Query Health Canada’s CNF database to retrieve complete macronutrient profiles for foods.

calculate_recipe_nutrition_summary

Analyze unit matching and conversion for recipes, with conversion recommendations.

bulk_get_cnf_macronutrients

Process multiple CNF foods in one operation to reduce tool calls.

get_eer_equations

Fetch live Energy Expenditure Equations from Health Canada DRI tables.

create_user_profile

Create and manage user profiles for repeated EER calculations.

get_macronutrient_dri_tables

Fetch complete DRI tables for macronutrient recommendations.

compare_intake_to_dri

Assess nutritional adequacy by comparing intake against Health Canada DRI standards.