1. Conduid
  2. Healthcare
  3. io.github.rwestergren/cronometer-api-mcp
MCP server · Healthcare

io.github.rwestergren/cronometer-api-mcp

MCP server for Cronometer nutrition tracking — food logs, diary, macros, fasting

Unclaimed healthcare
54Fair

Scored 21 hours ago · breakdown

About io.github.rwestergren/cronometer-api-mcp

io.github.rwestergren/cronometer-api-mcp is an MCP server published by rwestergren in the Healthcare category: mCP server for Cronometer nutrition tracking — food logs, diary, macros, fasting. Conduid read 32 tools from its source: add_biometric, add_custom_food, add_exercise, add_food_entry, add_note, add_recipe and 26 more. No package is published for it, so it installs from a source checkout.

The repository has 76 stars and 44 forks, and its last commit was on 28 Nov 2026. Conduid has no tagged release on record for it. It passes all 1 static checks Conduid ran on the repository. Its topics include healthcare.

Install

From source
git clone https://github.com/rwestergren/cronometer-api-mcp

Tools (32)

add_biometricRecord a biometric reading such as a weight or body fat
ParameterTypeDescription
amount *numberThe reading.
datestringDate as YYYY-MM-DD (defaults to today).
metric_id *integerNumeric metric ID from list_biometrics.
unit_id *integerNumeric unit ID from the metric's units; the amount is in this unit.
add_custom_foodCreate a custom food with specified nutrition and optional barcodes
ParameterTypeDescription
barcodesarrayProduct barcodes (EAN-13, UPC-A, EAN-8, UPC-E or GTIN-14), e.g. the digits printed under the bars on the package; spaces and dashes are ignored. Scanning one of them in the Cronometer app then finds this food (search_foods does not match barcodes). The check digit is verified, so a misread digit is rejected rather than saved.
calories *numberCalories per serving (kcal).
carbs_g *numberCarbs per serving (g).
extra_nutrientsobjectAdditional nutrients beyond the core macros above (vitamins, minerals, amino acids, etc.), keyed by Cronometer nutrient ID (from get_daily_nutrition, which pairs each id with its name) and valued per the full serving. IDs aren't validated, so a wrong one writes the wrong nutrient; must not reuse an ID the named macro args already cover.
fat_g *numberFat per serving (g).
fiber_gnumberFiber per serving (g, default 0).
name *stringFood name.
protein_g *numberProtein per serving (g).
saturated_fat_gnumberSaturated fat per serving (g, default 0).
serving_gramsnumberWeight of one serving in grams (default 100).
serving_namestringName for the serving size (default "1 serving").
sodium_mgnumberSodium per serving (mg, default 0).
sugar_gnumberSugar per serving (g, default 0).
add_exerciseLog an exercise with its duration and calories burned
ParameterTypeDescription
activity_id *integerActivity ID from search_activities.
calories *numberCalories burned, as a positive number.
datestringDate as YYYY-MM-DD (defaults to today).
diary_groupstringMeal slot: "auto" (default, picks by time of day) or the name of one of the account's diary groups, matched ignoring case and whitespace. "auto" requires unique enabled Breakfast, Lunch, Dinner and Snacks groups; otherwise choose an explicit name from get_diary_groups.
minutes *numberDuration in minutes.
add_food_entryLog a food serving to the diary, optionally at a given time of day
ParameterTypeDescription
datestringDate to log as YYYY-MM-DD (defaults to today).
diary_groupstringMeal slot: "auto" (default, picks by time of day) or the name of one of the account's diary groups, matched ignoring case and whitespace. "auto" requires unique enabled Breakfast, Lunch, Dinner and Snacks groups; otherwise choose an explicit name from get_diary_groups.
food_id *integerNumeric food ID from food search or remembered-food results.
grams *numberWeight in grams, or a reference-serving count for Recipe measures. Reuse a remembered serving's value unchanged to repeat its amount.
measure_id *integerMeasure/unit ID from food details or reference_serving.
timestringTime of day to log at, 24-hour HH:MM or HH:MM:SS in the account timezone (defaults to now). With diary_group "auto", this also picks the meal slot, so logging lunch late still lands in lunch.
translation_idintegerTranslation ID from search results (usually 0).
add_noteAdd a note to a diary day, optionally at a given time of day
ParameterTypeDescription
datestringDate as YYYY-MM-DD (defaults to today).
diary_groupstringMeal slot the note sits in: "auto" (default, picks by time of day) or the name of one of the account's diary groups, matched ignoring case and whitespace. "auto" requires unique enabled Breakfast, Lunch, Dinner and Snacks groups; otherwise choose an explicit name from get_diary_groups.
text *stringThe note text.
timestringTime of day for the note, 24-hour HH:MM or HH:MM:SS in the account timezone (defaults to now). With diary_group "auto", this also picks the meal slot.
add_recipeCreate a recipe from existing foods referenced by ID and gram weight
ParameterTypeDescription
commentsstringFree-text recipe notes.
ingredients *arrayList of {"food_id": int, "grams": float} objects, one per ingredient. An optional "measure_id" overrides the unit shown in Cronometer's UI; "grams" always drives the nutrition math.
name *stringRecipe name.
serving_gramsnumberGrams in one serving. Defaults to the full batch weight (one serving = the whole recipe).
serving_namestringName of the default serving measure (default "Serving").
copy_dayCopy all entries from the previous day
ParameterTypeDescription
datestringDestination date as YYYY-MM-DD (defaults to today).
delete_custom_foodRetire a custom food so it leaves search and the Custom Foods list (existing diary entries are kept)
ParameterTypeDescription
food_id *integerID of the custom food to delete.
delete_recipeDelete a recipe or saved meal: retired by default (diary entries are kept), or permanently, which also removes the diary entries that logged it
ParameterTypeDescription
food_id *integerID of the recipe or meal to delete.
permanentbooleanDelete outright instead of retiring (see above).
get_biometricsBiometric time series (e.g. weight, body fat) within a date range
ParameterTypeDescription
end_datestringEnd date as YYYY-MM-DD (defaults to today).
metric_id *integerNumeric metric ID from list_biometrics.
start_datestringStart date as YYYY-MM-DD (defaults to 30 days ago).
unit_id *integerNumeric unit ID from the metric's units in list_biometrics.
get_daily_nutritionConsumed macro and micronutrient totals for every nutrient tracked in Cronometer
ParameterTypeDescription
datestringInclusive end date: YYYY-MM-DD, today, yesterday, or N days ago. Defaults to today in the account timezone, resolved at call time.
daysintegerNumber of calendar days, 1–31 (default 1). Includes the end date; days=3 includes today, date='yesterday', days=3 excludes today.
get_diary_groupsThe account's diary groups (meal slots) and their names, for interpreting the group in each entry's `order`
get_fasting_historyFasting history within a date range
ParameterTypeDescription
end_datestringEnd date as YYYY-MM-DD (defaults to today).
start_datestringStart date as YYYY-MM-DD (defaults to 30 days ago).
get_fasting_statsAggregate fasting statistics
get_food_detailsFull nutrition profile and serving sizes for a food
ParameterTypeDescription
food_id *integerFood ID from search_foods results.
get_food_logDiary entries for a date, each enriched with food name, source, serving measure/count, that food's per-entry nutrient contribution, and the diary group (meal slot) it sits in, plus an energy_summary (target/consumed/remaining kcal) and a nutrition_summary of consumed totals for every tracked nutrient. `detail="compact"` returns a small object per entry instead of the nutrient arrays, and `food_id` narrows the entries to one food
ParameterTypeDescription
datestringInclusive end date: YYYY-MM-DD, today, yesterday, or N days ago. Defaults to today in the account timezone, resolved at call time.
daysintegerNumber of calendar days, 1–31 (default 1). Includes the end date; days=3 includes today, date='yesterday', days=3 excludes today.
detailstring"full" (default) returns every entry as described above. "compact" replaces each diary entry with a small object without per-entry nutrient arrays: entry_id (the servingId, noteId, exerciseId or biometricId that remove_food_entry takes), type, name, food_id, measure_id, grams, servings, time, order (raw), diary_group ({group, name}, as above), kcal, protein_g, carbs_g, fat_g, sodium_mg. Notes also carry their text. grams is passed through as-is (null stays null; for serving-based recipes it is a serving count). Values that cannot be derived are null. energy_summary and nutrition_summary are unchanged. Applies to each day.
food_idintegerOnly entries for this Cronometer food ID (non-food entries are excluded). It narrows the diary list only; energy_summary and nutrition_summary still describe the whole day. Applies in both detail modes and to each day.
get_frequent_foodsRank the same foods by Cronometer's frequency counter
ParameterTypeDescription
limitintegerMaximum results, 1–50 (default 50). Applies to the native list only.
querystringOptional case-insensitive name substring, filtered before limit.
get_macro_targetsFixed-gram macro targets, weight goal, macro split (percent of energy), weekly macro schedule and saved target templates
get_nutrition_scoresCategory scores (Vitamins, Minerals, etc.) with per-nutrient consumed amounts and confidence levels
ParameterTypeDescription
datestringYYYY-MM-DD, today, yesterday, or N days ago. Defaults to today in the account timezone, resolved at call time. Prefer relative inputs for relative questions over dates from conversation history.
get_recent_foodsList remembered foods and their servings in the app's Most Recent order
ParameterTypeDescription
limitintegerMaximum results, 1–50 (default 50). Applies to the native list only.
querystringOptional case-insensitive name substring, filtered before limit.
import_recipeCreate a recipe from a free-text ingredient list; Cronometer matches each line to a database food and converts the amount to grams
ParameterTypeDescription
ingredients *stringIngredient lines separated by newlines, e.g. "2 tbsp olive oil\\n200g chicken". Include quantities where known, since bare names can match surprising amounts.
namestringRecipe name. Defaults to a server-generated one.
list_biometricsList trackable biometric metrics and their units
mark_day_completeMark a diary day as complete or incomplete
ParameterTypeDescription
completebooleanTrue to mark complete, False for incomplete.
date *stringDate to mark as YYYY-MM-DD.
remove_food_entryRemove one or more diary entries: foods, exercises, notes or biometrics
ParameterTypeDescription
datestringDate the entries belong to as YYYY-MM-DD (defaults to today).
entry_ids *arrayList of entry IDs to remove.
search_activitiesFind activities to log as exercise, by name
ParameterTypeDescription
query *stringActivity name or keywords (e.g. "walking", "cycling").
search_foodsSearch the Cronometer food database by name
ParameterTypeDescription
query *stringFood name or keyword (e.g. "eggs", "chicken breast").
set_macro_splitSet the protein / carbs / fat split in percent of energy
ParameterTypeDescription
carbs *numberCarbohydrate share in percent (e.g. 40).
fat *numberFat share in percent (e.g. 30).
protein *numberProtein share in percent (e.g. 30).
set_macro_targetsSet protein / fat / net-carb targets in grams, the weekly weight goal (which moves the calorie target) and the sodium range; writes both the profile prefs and the per-nutrient target rows
ParameterTypeDescription
fat_gnumberDaily fat target in grams.
net_carbs_gnumberDaily net-carb target in grams.
protein_gnumberDaily protein target in grams.
sodium_mg_maxnumberDaily sodium upper limit in mg.
sodium_mg_minnumberDaily sodium target (lower bound) in mg.
weight_goal_per_weeknumberWeight change per week, -2 to 2 (e.g. -1.5).
update_custom_foodEdit a custom food in place: name, nutrition, serving size, or barcodes
ParameterTypeDescription
barcodesarrayReplaces the food's barcodes (see add_custom_food for the accepted formats); pass [] to remove them all. To add one, pass the current barcodes from get_food_details plus the new one.
caloriesnumberCalories per serving (kcal).
carbs_gnumberCarbs per serving (g).
extra_nutrientsobjectAdditional nutrients keyed by Cronometer nutrient ID (from get_daily_nutrition) and valued per serving; must not reuse an ID the named args already cover.
fat_gnumberFat per serving (g).
fiber_gnumberFiber per serving (g).
food_id *integerID of the custom food to edit.
namestringNew food name.
protein_gnumberProtein per serving (g).
saturated_fat_gnumberSaturated fat per serving (g).
serving_gramsnumberNew total weight of the default serving in grams. Also resets the quantity to serving_quantity (or 1).
serving_namestringNew name for the default serving. The app shows the serving as "<quantity> <name>"; a leading number ("2 cookies") is taken as the quantity (see serving_quantity).
serving_quantitynumberHow many units make up the default serving (default 1 whenever serving_grams is passed). Without serving_grams the serving's total weight stays the same, so each unit gets lighter or heavier: changing "2 cookies = 30 g" to 3 gives "3 cookies = 30 g". To keep the per-unit weight, also pass serving_grams (45 here). Check the result with get_food_details, which lists each measure's quantity.
sodium_mgnumberSodium per serving (mg).
sugar_gnumberSugar per serving (g).
update_food_entryChange a logged entry's amount or measure, or move it to another diary group
ParameterTypeDescription
datestringDate the entry is logged on as YYYY-MM-DD (defaults to today).
diary_groupstringMove to another meal: the name of one of the account's enabled diary groups (see get_diary_groups), matched ignoring case and whitespace. "auto" is not accepted here.
entry_id *stringServing/entry ID from get_food_log.
gramsnumberNew weight of the serving in grams. Only supported for weight-based foods and recipes; change serving-based recipe amounts in Cronometer.
measure_idintegerNew measure/unit ID from get_food_details (the amount is still given in grams).
update_noteReplace the text of a diary note
ParameterTypeDescription
datestringDate the note is on as YYYY-MM-DD (defaults to today).
note_id *integernoteId of the note, from get_food_log.
text *stringThe new note text.
update_recipeEdit a recipe in place: name, ingredients and amounts, serving size, or notes; nutrition is recalculated
ParameterTypeDescription
commentsstringNew free-text recipe notes.
food_id *integerThe recipe's food ID.
ingredientsarrayNew list of {"food_id": int, "grams": float} objects, with an optional "measure_id", as for add_recipe.
namestringNew recipe name.
serving_gramsnumberNew weight of the default serving in grams. If omitted and the serving was the whole batch, it follows the new batch.

Security checks

  • ✓README presentThe repository's README runs to about 910 words.

5 checks have not been run yet.

README

The repository's README runs to about 910 words. The original in the repository is authoritative.

Read full README
Questions

About io.github.rwestergren/cronometer-api-mcp

How do I install io.github.rwestergren/cronometer-api-mcp?

No package has been published for this server, so install it from source: clone the repository and follow its README.

Is io.github.rwestergren/cronometer-api-mcp safe to use with an AI agent?

Its trust score is 54 out of 100 (fair). It passes all 1 static checks Conduid ran on the repository. It has no ConduID identity yet, so agent calls to it are not receipted.

Is io.github.rwestergren/cronometer-api-mcp still maintained?

Yes — the last commit was 4 days ago. The repository has 76 stars and 44 forks.

What tools does io.github.rwestergren/cronometer-api-mcp provide?

Conduid read 32 tools from the source: add_biometric, add_custom_food, add_exercise, add_food_entry, add_note, add_recipe, copy_day, delete_custom_food and 24 more. 28 of them publish their parameters, listed under Tools above.