# DietBox [Health: Active]

**Category:** 🧬 Biology & Bioinformatics  
**Repository:** https://github.com/mcp-dir/dietbox-mcp  
**GitHub Stars:** 0  
**Views:** 1  
**Installs:** 0  
**Upvotes:** 0  
**Directory Page:** https://allmcps.com/mcp/dietbox

## Description
Patient, prescription, anthropometry, scheduling, chat and food diary management for dietitians.

## Tools
Capabilities this server exposes over MCP:

- **dietbox_list_accounts** — List all Dietbox accounts linked to this install.
Returns each account's id, email, label, and an "is_default" flag (true when only one is linked — no need to pass `account` in other tools). When multiple accounts are linked, every other dietbox_* tool accepts an optional `account` parameter; pass id, email, or label (full or partial).
- **dietbox_get_profile** — Get the nutritionist's Dietbox profile (perfil): name, email, subscription plan, features.
- **dietbox_get_nutritionist** — Get the nutritionist's professional profile in Dietbox: CRN, specialties, signature, subscription details.
- **dietbox_patient_list** — Read patients in Dietbox.
Actions: list (paginated, search by name), get (full detail, requires patient_id).

Para localizar VÁRIOS pacientes, faça UMA chamada list com take maior (ex.: 200) e filtre o resultado, em vez de uma busca por nome para cada paciente: o DietBox bloqueia a conta temporariamente ("atividade automatizada") quando recebe muitas chamadas seguidas. Se o bloqueio acontecer, a ferramenta avisa quanto tempo esperar; não repita a chamada antes disso.

[Flattened action: list]

Bulk support: accepts patient_ids for batched execution.
- **dietbox_patient_get** — Read patients in Dietbox.
Actions: list (paginated, search by name), get (full detail, requires patient_id).

Para localizar VÁRIOS pacientes, faça UMA chamada list com take maior (ex.: 200) e filtre o resultado, em vez de uma busca por nome para cada paciente: o DietBox bloqueia a conta temporariamente ("atividade automatizada") quando recebe muitas chamadas seguidas. Se o bloqueio acontecer, a ferramenta avisa quanto tempo esperar; não repita a chamada antes disso.

[Flattened action: get]

Bulk support: accepts patient_ids for batched execution.
- **dietbox_patient_write_create** — Create or update patients in Dietbox.
Actions: create (Name required, uses POST), update (partial fields, uses PATCH — no need to send all fields).
Gender: Masculino or Feminino (converted to boolean for the API). Observation field for notes.
Endereço, dados civis e de acesso (Address, Number, Complement, Neighborhood, State, City, Cep, MaritalStatus, Occupancy, Expire) são suportados em create e update — use os mesmos nomes de campo retornados pelo dietbox_patient (get); o adapter mapeia internamente a divergência de nomes do endpoint de update.

Phone / MobilePhone são normalizados automaticamente para E.164 em create e update (o endpoint update/PATCH /patients rejeita HTTP 400 "'Body Mobile Phone Value' is not in format 'E.164'" quando recebe número sem prefixo internacional). Envie "67991234567", "(67) 99123-4567" ou "+5567991234567" indistintamente — o adapter ajusta para "+5567991234567" antes de chamar a API. Para números não-brasileiros, envie já com "+{código}".

For destructive removal use dietbox_patient_delete.

[Flattened action: create]

Bulk support: accepts patient_ids for batched execution.
- **dietbox_patient_write_update** — Create or update patients in Dietbox.
Actions: create (Name required, uses POST), update (partial fields, uses PATCH — no need to send all fields).
Gender: Masculino or Feminino (converted to boolean for the API). Observation field for notes.
Endereço, dados civis e de acesso (Address, Number, Complement, Neighborhood, State, City, Cep, MaritalStatus, Occupancy, Expire) são suportados em create e update — use os mesmos nomes de campo retornados pelo dietbox_patient (get); o adapter mapeia internamente a divergência de nomes do endpoint de update.

Phone / MobilePhone são normalizados automaticamente para E.164 em create e update (o endpoint update/PATCH /patients rejeita HTTP 400 "'Body Mobile Phone Value' is not in format 'E.164'" quando recebe número sem prefixo internacional). Envie "67991234567", "(67) 99123-4567" ou "+5567991234567" indistintamente — o adapter ajusta para "+5567991234567" antes de chamar a API. Para números não-brasileiros, envie já com "+{código}".

For destructive removal use dietbox_patient_delete.

[Flattened action: update]

Bulk support: accepts patient_ids for batched execution.
- **dietbox_patient_delete** — Permanently delete a patient from Dietbox. Irreversible.

Bulk support: accepts patient_ids for batched execution.
- **dietbox_prontuario** — Get the clinical record (prontuario) for a Dietbox patient: medical history, notes.

Bulk support: accepts patient_ids for batched execution.
- **dietbox_prontuario_write** — Update the clinical record (prontuario) for a Dietbox patient. Pass the text content directly (HTML supported). Returns 204 on success.

Bulk support: accepts patient_ids for batched execution.
- **dietbox_anamnese_list** — Read anamnesis (health history questionnaire) records in Dietbox.
Actions: list (paginated, requires patient_id), get (by anamnesis_id), get_latest (most recent for patient_id).

[Flattened action: list]

Bulk support: accepts patient_ids, anamnesis_ids for batched execution.
- **dietbox_anamnese_get** — Read anamnesis (health history questionnaire) records in Dietbox.
Actions: list (paginated, requires patient_id), get (by anamnesis_id), get_latest (most recent for patient_id).

[Flattened action: get]

Bulk support: accepts patient_ids, anamnesis_ids for batched execution.
- **dietbox_anamnese_get_latest** — Read anamnesis (health history questionnaire) records in Dietbox.
Actions: list (paginated, requires patient_id), get (by anamnesis_id), get_latest (most recent for patient_id).

[Flattened action: get_latest]

Bulk support: accepts patient_ids, anamnesis_ids for batched execution.
- **dietbox_anamnese_write_create** — Create or update an anamnesis (health history questionnaire) in Dietbox.
Actions:
- create: cria nova anamnese. Obrigatório: patient_id. Opcional: descricao (título; default "Anamnese"), texto_livre (HTML; quando informado a anamnese é do tipo texto livre), data (ISO), overrides (campos da anamnese, ex.: {IsSmoking:true, HasDiabetes:true, Medicines:"Losartana", FoodAllergies:"camarão", Notes:"..."}; os nomes antigos fuma, diabetes, medicamentos, alergias, observacao também valem).
- update: atualiza uma anamnese existente. Obrigatório: anamnesis_id E patient_id (o DietBox exige o paciente também na atualização). A anamnese é regravada inteira: envie todos os campos que devem continuar preenchidos (leia antes com dietbox_anamnese action=get).
Retorna { id } da anamnese criada/atualizada.

[Flattened action: create]

Bulk support: accepts patient_ids, anamnesis_ids for batched execution.
- **dietbox_anamnese_write_update** — Create or update an anamnesis (health history questionnaire) in Dietbox.
Actions:
- create: cria nova anamnese. Obrigatório: patient_id. Opcional: descricao (título; default "Anamnese"), texto_livre (HTML; quando informado a anamnese é do tipo texto livre), data (ISO), overrides (campos da anamnese, ex.: {IsSmoking:true, HasDiabetes:true, Medicines:"Losartana", FoodAllergies:"camarão", Notes:"..."}; os nomes antigos fuma, diabetes, medicamentos, alergias, observacao também valem).
- update: atualiza uma anamnese existente. Obrigatório: anamnesis_id E patient_id (o DietBox exige o paciente também na atualização). A anamnese é regravada inteira: envie todos os campos que devem continuar preenchidos (leia antes com dietbox_anamnese action=get).
Retorna { id } da anamnese criada/atualizada.

[Flattened action: update]

Bulk support: accepts patient_ids, anamnesis_ids for batched execution.
- **dietbox_anamnese_delete** — Remove uma anamnese do Dietbox. Ação irreversível.

Bulk support: accepts anamnesis_ids, patient_ids for batched execution.
- **dietbox_antropometria_list** — Read anthropometric evaluations in Dietbox (weight, height, BMI, body composition).
Actions: list (paginated, filter by tipo; requires patient_id), get (by anthropometry_id), get_latest (current measurements for patient_id).

[Flattened action: list]

Bulk support: accepts patient_ids, anthropometry_ids for batched execution.
- **dietbox_antropometria_get** — Read anthropometric evaluations in Dietbox (weight, height, BMI, body composition).
Actions: list (paginated, filter by tipo; requires patient_id), get (by anthropometry_id), get_latest (current measurements for patient_id).

[Flattened action: get]

Bulk support: accepts patient_ids, anthropometry_ids for batched execution.
- **dietbox_antropometria_get_latest** — Read anthropometric evaluations in Dietbox (weight, height, BMI, body composition).
Actions: list (paginated, filter by tipo; requires patient_id), get (by anthropometry_id), get_latest (current measurements for patient_id).

[Flattened action: get_latest]

Bulk support: accepts patient_ids, anthropometry_ids for batched execution.
- **dietbox_antropometria_write** — Create a new anthropometric evaluation in Dietbox.
Required: patient_id, weight (kg, 0.1-1000), height (meters, 0.1-3.0).
Type: 1=physical evaluation (default), 4=bioimpedance. All measurement fields (circumferences, skinfolds, bioimpedance) default to null.

Bulk support: accepts patient_ids for batched execution.
- **dietbox_antropometria_delete** — Delete an anthropometric evaluation from Dietbox. This is irreversible.

Bulk support: accepts anthropometry_ids for batched execution.
- **dietbox_meal_plan** — Get the active meal plan (plano alimentar) for a patient in Dietbox.
Returns the full list of meals with foods, portions, schedule, and day-of-week assignments.
Each meal has: title (e.g. "Café da manhã"), time, text (food items with portions), observacao, and weekday flags.

NOTE: This is different from "prescriptions" — prescriptions in Dietbox are supplement/herbal medicine prescriptions. Use this tool for food/meal plans.

READ-ONLY (LIMITAÇÃO DO DIETBOX): a API v2 do Dietbox só oferece LEITURA do plano alimentar (GET /plano-alimentar/{paciente}); criar e editar plano, assim como a biblioteca de receitas, existem apenas nas telas internas do site do Dietbox, sem API. Por isso não existe dietbox_meal_plan_write nem ferramenta de receitas. Para criar/editar planos e receitas, use o site do Dietbox.

Bulk support: accepts patient_ids for batched execution.
- **dietbox_prescription_list** — Read supplement/herbal medicine prescriptions in Dietbox (NOT meal plans — use dietbox_meal_plan for food plans).
Actions: list (by patient_id), get (full detail by prescription_id), list_models (reusable templates).

[Flattened action: list]

Bulk support: accepts patient_ids, prescription_ids for batched execution.
- **dietbox_prescription_get** — Read supplement/herbal medicine prescriptions in Dietbox (NOT meal plans — use dietbox_meal_plan for food plans).
Actions: list (by patient_id), get (full detail by prescription_id), list_models (reusable templates).

[Flattened action: get]

Bulk support: accepts patient_ids, prescription_ids for batched execution.
- **dietbox_prescription_list_models** — Read supplement/herbal medicine prescriptions in Dietbox (NOT meal plans — use dietbox_meal_plan for food plans).
Actions: list (by patient_id), get (full detail by prescription_id), list_models (reusable templates).

[Flattened action: list_models]

Bulk support: accepts patient_ids, prescription_ids for batched execution.
- **dietbox_prescription_write** — Create a new supplement/herbal medicine prescription (receituário) in Dietbox. For meal plans, see dietbox_meal_plan (read-only).

Campos aceitos pelo DietBox (são TODOS os que a prescrição tem):
- title (obrigatório): nome da prescrição.
- patient_id (obrigatório): Id numérico do paciente.
- date: data da prescrição (ISO, ex.: "2026-11-04"); padrão = hoje.
- description: o conteúdo da prescrição (suplementos/fitoterápicos, doses, observações), em texto.
- posology: posologia / modo de uso.
Não existe campo de itens estruturados: escreva os itens no description. Não é preciso montar JSON.

Bulk support: accepts patient_ids for batched execution.
- **dietbox_agenda_list** — Read schedule/agenda in Dietbox.
Actions: list (filter by date range/patient), summary (today's overview).

[Flattened action: list]

Bulk support: accepts patient_ids for batched execution.
- **dietbox_agenda_summary** — Read schedule/agenda in Dietbox.
Actions: list (filter by date range/patient), summary (today's overview).

[Flattened action: summary]

Bulk support: accepts patient_ids for batched execution.
- **dietbox_agenda_write** — Create a new event/appointment in the Dietbox agenda.
- start / end: data e hora ISO. Sem offset (ex.: "2026-04-16T14:00:00") o horário é lido no fuso de timezone (padrão America/Sao_Paulo); com offset (ex.: "-03:00") vale o instante informado.
- tipo: "consulta" (padrão) ou "outros". Para outro tipo do DietBox (ex.: retorno), envie o código numérico em tipo_codigo; descubra o código lendo o campo Type de um evento desse tipo no dietbox_agenda (action=list).
- patient_id: Id numérico do paciente (use dietbox_patient_list (campo Id do paciente) para obter o id).
- titulo, descricao: título e observações do evento.
- local_atendimento: Id do local de atendimento (campo IdLocalAtendimento de um evento existente), quando a nutricionista tem mais de um local.

Bulk support: accepts patient_ids for batched execution.
- **dietbox_chat_list** — Read chat conversations in Dietbox.
Actions: list (conversations, filter by patient/unread), messages (message history for patient_id).

[Flattened action: list]

Bulk support: accepts patient_ids for batched execution.
- **dietbox_chat_messages** — Read chat conversations in Dietbox.
Actions: list (conversations, filter by patient/unread), messages (message history for patient_id).

[Flattened action: messages]

Bulk support: accepts patient_ids for batched execution.
- **dietbox_chat_write** — Send a chat message to a patient in Dietbox. Pass message data as a JSON string.
- **dietbox_list_goals** — List nutrition/health goals for a Dietbox patient: weight targets, habit goals, custom objectives.

Bulk support: accepts patient_ids for batched execution.
- **dietbox_get_goal_progress** — Get goal progress for a Dietbox patient: completion percentages, streaks, recent activity.

Bulk support: accepts patient_ids for batched execution.
- **dietbox_list_diario** — List food diary entries for a Dietbox patient on a specific date. Shows what the patient ate, meal photos, comments.

Bulk support: accepts patient_ids for batched execution.
- **dietbox_list_finance_transactions** — List financial transactions in Dietbox: payments, receivables, filtered by date and status.
- **show_version** — Show the current MCP platform and adapter versions.
- **report_bug** — Report a bug, missing feature, or send feedback. Include the conversation array with recent messages for reproduction.
- **connect** — Returns connection status and URLs. When all providers are connected, returns authenticated:true and empty pending[]. When credentials are missing, returns connect_url for the toolkit and per-install URLs.
- **toolkit_info** — Returns the current toolkit state: installed MCPs, their connection status, the accounts connected to each one, and how many catalog tools each exposes.
- **marketplace** — The official mcp.ai marketplace — the in-platform catalog of every MCP/tool, AND the way to run them. Covers capability requests like "find an MCP that does X", "consulta um CPF", "is there a tool for Y". Core flow: action=search discovers MCPs by intent → describe returns one MCP's full profile (every tool with its id + params, pricing, auth) so you pick the right tool_id → invoke RUNS that tool. KEY: invoke works even when the MCP is NOT installed — it runs the tool pontualmente (one-off), without adding the MCP to the toolkit and without bloating the tool list. If the MCP needs a credential/login, invoke returns a connect link; if it is paid and the wallet is empty, invoke returns a checkout/top-up link (the user opens it, then you retry). Use install only to make an MCP PERMANENT in the active toolkit (its tools then show up natively in future sessions); prefer invoke for a single/occasional use. list_tools lists what is callable right now. subscribe/cancel handle per-MCP billing; report_bug sends feedback; request_mcp asks us to build a NEW MCP when nothing fits. Search/describe flag installed_in_toolkit vs installed_in_workspace. Writes (install/uninstall/subscribe/cancel and the one-off install behind invoke) require workspace owner/admin. It also carries the mcp.ai PROMPT LIBRARY, which is about ready-made prompt TEXT rather than MCPs: search_prompts finds one, get_prompt returns its full text with {{variables}} filled, and publish_prompt saves a prompt and returns a shareable mcp.ai/p/<slug> link that opens without login.
- **authenticate** — MCP.AI for IDE agents (Cursor, etc.): log in in the browser, copy the access token. Best: add it to this server's config as a header `Authorization: Bearer <token>` for a permanent, non-expiring connection. Or paste it here for a session-only login: call with { token: "<jwt>" } after the user pastes, or with no args to get the link.

## Claude Desktop Quick Installation
Remote MCP endpoint (confidence: high). Install path detected from listing signals. Add as a URL/SSE server in your client:

```json
"mcpServers": {
  "dietbox": {
    "url": "https://api.mcp.ai/p_dietbox"
  }
}
```

## Documentation

## What DietBox does

DietBox exposes Dietbox data and operations through the Model Context Protocol for nutritionist workflows. Its tools cover account selection, professional and subscription profiles, patient records, clinical records, health-history questionnaires, anthropometric evaluations, supplement or herbal-medicine prescriptions, appointment scheduling, chat conversations, and active meal plans.

The server includes separate tools for reading, creating, updating, and deleting several resource types. Patient records support search, pagination, full-detail retrieval, partial updates, and permanent deletion. Clinical records accept text content, including HTML. Anamnesis records can be created, updated, listed, retrieved individually, or fetched as the latest record for a patient.

## How it works

DietBox is available as an MCP server over HTTP at `https://api.mcp.ai/p_dietbox`. It can be connected from clients that support MCP over HTTP. Authentication uses a magic-link login rather than a password.

`dietbox_list_accounts` returns the Dietbox accounts linked to the installation. If only one account is linked, other tools can use it by default. With multiple accounts, tools accept an account identifier, email address, or full or partial account label.

Many tools support batched execution with patient, anamnesis, anthropometry, prescription, or other resource IDs. Patient searches are paginated and can search by name. When locating several patients, request a larger page and filter the result instead of issuing repeated name searches; Dietbox may temporarily block an account after many consecutive automated requests.

## Setup and configuration

Connect the server using the HTTP endpoint:

```text
https://api.mcp.ai/p_dietbox
```

The server is named `DietBox` in the available Claude, Cursor, and VS Code installation links. It is also listed as compatible with Claude Desktop, Cline, and Continue. After connecting, complete the magic-link login and use `dietbox_list_accounts` to inspect linked accounts.

## Tools and capabilities

- Inspect Dietbox and nutritionist profiles, subscription details, specialties, and account links.
- List, search, retrieve, create, update, and delete patients.
- Read and update clinical records, including HTML content.
- Read, create, update, and delete anamnesis records, including latest-record retrieval.
- Read or create anthropometric evaluations covering weight, height, BMI, body composition, physical evaluation, and bioimpedance data.
- Read food meal plans with meals, portions, times, and weekday assignments.
- Read and create supplement or herbal-medicine prescriptions using title, description, date, and posology fields.
- List agenda events, view today’s summary, create appointments, and read chat conversations or message history.

## Limitations and notes

The active meal-plan tool is read-only. The Dietbox API does not provide meal-plan or recipe creation and editing, so those actions remain available through the Dietbox website.

Meal plans and supplement prescriptions are separate resources: use `dietbox_meal_plan` for food plans and prescription tools for supplements or herbal medicines. Patient phone fields are normalized to E.164 during create and update operations. Destructive patient, anamnesis, and anthropometry deletion actions are irreversible. Anthropometry creation requires a patient ID, weight in kilograms, and height in meters; the supported ranges are 0.1–1000 kg and 0.1–3.0 m.

_Full upstream README: https://allmcps.com/mcp/dietbox/readme_

