# WebDiet

WebDiet lets an AI agent read and update patients, clinical records, assessments, and meal prescriptions through MCP.

- MCP server · `type=mcp` · Claude Code, Codex, Cursor, GitHub Copilot, Windsurf (Devin Desktop), Cline, Zed, Gemini CLI · 621 installs · ★ 1 repo stars
- Author: mcp-dir
- License: MIT · policy=link-only · description only; the file stays with the author
- Source: https://github.com/mcp-dir/webdiet-mcp
- Updated: 2026-08-30
- Security check: automated, 2026-11-16 (text) — no signs of malicious code found.
- HTML: https://affpapa.org/en/nevibecode/mcp/webdiet

## What it does

WebDiet connects an MCP client to nutrition records in WebDiet. An agent can find patients, open full profiles, read clinical notes and anamnesis records, and retrieve consultation data such as food diaries, meal reactions, attachments, and guidance.

Write operations cover patient creation and updates, clinical-record and anamnesis saves, anthropometry, and meal prescriptions. The server can also search foods and handle pre-consultation forms. Sign-in uses a passwordless magic link.

A birth date is required when creating a patient, using `DD/MM/YYYY`. If it is missing, the age calculation used by a prescription causes `metodoPlanning.php` to fail. The service is connected over HTTP through an MCP client.

## Requirements
- Remote server: `https://webdiet-mcp--mcp-dir.run.tools`

## Install

### Claude Code (native platform)

**Platform CLI: remote server**
```bash
claude mcp add --transport http webdiet-mcp https://webdiet-mcp--mcp-dir.run.tools
```

### Codex

**Platform CLI: remote server**
```bash
codex mcp add webdiet --url https://webdiet-mcp--mcp-dir.run.tools
```

### Cursor

**Config file**
File `.cursor/mcp.json`:
```json
{
    "mcpServers": {
        "webdiet": {
            "url": "https://webdiet-mcp--mcp-dir.run.tools"
        }
    }
}
```

### GitHub Copilot

**Config file**
File `.vscode/mcp.json`:
```json
{
    "servers": {
        "webdiet": {
            "type": "http",
            "url": "https://webdiet-mcp--mcp-dir.run.tools"
        }
    }
}
```

### Gemini CLI

**Platform CLI: remote server**
```bash
gemini mcp add -t http webdiet https://webdiet-mcp--mcp-dir.run.tools
```

## When to use it
- find a patient by name or phone
- read a patient’s anamnesis and clinical record
- save new anthropometry data
- create and publish a meal prescription
- search the TACO food database

## Example prompts
- List my patients and show the next consultation for each one.
- Create an 1800 kcal meal prescription for patient Maria.
- Find high-protein foods in the TACO database.

## Similar
- [DietBox](https://affpapa.org/en/nevibecode/mcp/dietbox.md) — MCP server · 317 installs
- [openfoodfacts-mcp-server](https://affpapa.org/en/nevibecode/mcp/openfoodfacts-mcp-server.md) — MCP server · 3148 installs
- [Food-Recipe-MCP](https://affpapa.org/en/nevibecode/mcp/food-recipe-mcp.md) — MCP server · 2189 installs
- [pp-allrecipes](https://affpapa.org/en/nevibecode/skills/pp-allrecipes.md) — skill · 194 installs
- [heyyumi](https://affpapa.org/en/nevibecode/skills/heyyumi.md) — skill · 5700 installs
- [pp-recipe-goat](https://affpapa.org/en/nevibecode/skills/pp-recipe-goat.md) — skill · 3300 installs

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
