mcpField
🍲
🍲

🍲

Local
github.com/Aryan-JhaveriHealth2Updated 34w ago

About 🍲

🍲 is an MCP server for Canada's Food Guide and related Health Canada nutrition data. It serves people and LLMs seeking recipes, ingredient nutrients, or demographic-specific energy and macronutrient calculations, with HTTP and full stdio modes.

Key features

  1. 01Search and scrape official recipes
  2. 02Fetch ingredient nutrient data
  3. 03Calculate DRI-based energy needs
  4. 04Calculate demographic-specific macro targets
  5. 05HTTP and full stdio modes

Use cases

  1. 01Find recipes for a themed week
  2. 02Suggest recipes from grocery images
  3. 03Estimate energy and macro requirements
  4. 04Analyze recipe macronutrients

MCP support

The MCP server exposes recipe search and scraping, Canadian Nutrient File lookups, and Dietary Reference Intake calculations. HTTP mode offers scraping and calculation tools; stdio mode also includes SQLite tools.

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

No install method listed yet

We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.

Repository

Tools

No tool list yet

Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.

Details

From the project README

🍲 Canada's Food Guide - MCP Server

Python 3.10+ License: MIT MCP

πŸ“ Description

The FoodGuide MCP Server bundles three powerful Health Canada resources into a single toolset for comprehensive nutritional analysis:

ExampleVideo
Find Themed recipes for a week themed-recipe-spedup
Suggest recipes from an image of your groceries from-image-to-show-recipes-spedup
Calculate your estimated macros intake and energy requirements calculate-eer-spedup
Calculate Macros for a recipecalculate-macros-spedup
Two setup modes:
ModeTools availableDB/Storage?Best for
HTTP (remote/self-hosted)Scraping + calculation tools (24 tools)NoMost users -- nutrition lookups, recipe search, EER/DRI calculations
stdio (full)All tools incl. SQLite (46 tools)YesPower users -- recipe macro analysis, favorites, user profiles

Check IMPLEMENTATIONS.MD if you'd like to contribute or collaborate! Always looking for suggestions!

You can use this google sheet to verify EER and CNF calculations shown in the trailer videos in the current repository.

πŸ“‘ Table of Contents

πŸ“₯ Installation

  1. Prerequisites:

  2. Clone the repository:

    git clone https://github.com/Aryan-Jhaveri/mcp-foodguidecanada
    cd mcp-foodguidecanada
    
  3. Install dependencies:

    pip3 install -r requirements.txt
    
  4. Find your Python path (needed for client config):

    which python3
    
  5. Get the absolute path to the project:

    pwd
    
HTTP mode -- scraping + calculation, no DB (24 tools)

Start the server in a terminal and leave it running:

python3 src/server.py --transport http --port 8000
# Server running at http://0.0.0.0:8000/mcp

Then configure your client to connect to http://localhost:8000/mcp -- see Setup by Client below.

Full mode -- all tools incl. SQLite (46 tools)

Run via stdio -- no separate server process needed. Configure your client with the stdio snippets in Setup by Client.


πŸš€ Setup by Client

ModeDB tools?Tools available
HTTP (start server first)NoScraping + calculation (24 tools)
stdio (full)YesAll tools incl. SQLite (46 tools)

HTTP mode -- scraping + calculation (no DB)

Before configuring your client: start the server in a separate terminal:

python3 src/server.py --transport http --port 8000

Keep it running while using your client.

Most clients use mcp-proxy to bridge stdio to HTTP. Claude Code connects natively.

Claude Desktop

Navigate to: Claude Desktop β†’ Settings (⌘,) β†’ Developer β†’ Edit Config

{
  "mcpServers": {
    "FoodGuideSousChef": {
      "command": "uvx",
      "args": ["mcp-proxy", "--transport", "streamablehttp", "http://localhost:8000/mcp"]
    }
  }
}

Restart Claude Desktop after saving.

Claude Code

claude mcp add FoodGuideSousChef --transport http http://localhost:8000/mcp

Cursor

In .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "FoodGuideSousChef": {
      "command": "uvx",
      "args": ["mcp-proxy", "--transport", "streamablehttp", "http://localhost:8000/mcp"]
    }
  }
}

VS Code (GitHub Copilot)

In .vscode/mcp.json:

{
  "servers": {
    "FoodGuideSousChef": {
      "type": "stdio",
      "command": "uvx",
      "args": ["mcp-proxy", "--transport", "streamablehttp", "http://localhost:8000/mcp"]
    }
  }
}

Full mode -- all tools incl. SQLite DB

No separate server process needed. The client launches the server directly via stdio.

Replace <python-path> and <project-path> with your actual paths from the Installation steps.

Common Python paths by system:

  • Homebrew (Mac): /opt/homebrew/bin/python3
  • System Python (Mac): /usr/bin/python3
  • Anaconda: /opt/anaconda3/bin/python3
  • Linux: /usr/bin/python3

Claude Desktop

Navigate to: Claude Desktop β†’ Settings (⌘,) β†’ Developer β†’ Edit Config

{
  "mcpServers": {
    "FoodGuideSousChef": {
      "command": "<python-path>",
      "args": ["<project-path>/src/server.py"],
      "cwd": "<project-path>"
    }
  }
}

Restart Claude Desktop after saving.

Claude Code

claude mcp add FoodGuideSousChef -- <python-path> <project-path>/src/server.py

Cursor

In .cursor/mcp.json (project) or ~/.cursor/mcp.json (global):

{
  "mcpServers": {
    "FoodGuideSousChef": {
      "command": "<python-path>",
      "args": ["<project-path>/src/server.py"],
      "cwd": "<project-path>"
    }
  }
}

VS Code (GitHub Copilot)

In .vscode/mcp.json:

{
  "servers": {
    "FoodGuideSousChef": {
      "type": "stdio",
      "command": "<python-path>",
      "args": ["<project-path>/src/server.py"],
      "cwd": "<project-path>"
    }
  }
}

Optional flags
# HTTP mode with custom port
python3 src/server.py --transport http --port 9000 --host 0.0.0.0

# Environment variable alternative (for deployment)
MCP_TRANSPORT=http PORT=8000 python3 src/server.py
Troubleshooting
  • If the server doesn't appear, check the Claude Desktop logs for error messages
  • Verify Python 3.10+ is installed: python3 --version
  • For HTTP mode, verify the server is running: curl http://localhost:8000/mcp/

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.