MCP App Store
by KeenEthics
metri: Calorie & Macro Tracker icon

metri: Calorie & Macro Tracker MCP Server for ChatGPT

By Polina Tolmacheva

Overview

A calorie counter, macro tracker and private food diary inside ChatGPT. Send a photo of your plate or a nutrition label, or describe your meal by text or voice. ChatGPT looks up missing info online and logs calories, protein, carbs and fat to your food log. The more context you give, the more accurate the count: add grams, label values, links to recipes or delivery-app screenshots. Just tell ChatGPT what you ate or ask how your day is going: "I had two eggs and a slice of toast for breakfast" "How many calories and how much protein do I have left today?" "Another slice of the apple pie I baked on Sunday" "What did I eat on average this week?" Set a daily calorie and macro goal, and a widget shows today's progress and a full day breakdown of every meal. Review your diary for any day, and fix or delete any entry with a quick message. Save foods and home-cooked batches you eat often: your previous logs are remembered, so logging a meal again takes one line. Your nutrition diary stays private in metri's own storage, so nothing is lost when you switch chats or devices.

How to connect

  1. ChatGPT: Open the metri: Calorie & Macro Tracker listing in the ChatGPT app directory and choose Connect. ChatGPT listing metri: Calorie & Macro Tracker exposes 11 tools here.

Tools

metri_delete_consumption

ChatGPT
Delete an entire eating event and return the refreshed current-day dashboard. The operation is idempotent; use metri_edit_consumption to remove only one item.

metri_delete_food

ChatGPT
Delete a saved food or batch: it disappears from metri_search_foods and can no longer be logged. Diary entries and batches that already contain it keep its name and nutrition.

metri_edit_consumption

ChatGPT
Correct a diary consumption using absolute target values. Returns the whole consumption as it now stands, shaped as in metri_get_diary, and the refreshed current-day dashboard. An item keeps its food as it was logged, so a quantity edit recalculates from that copy, not from later edits to the saved food; a batch item always reads its batch as last corrected.

metri_get_diary

ChatGPT
Retrieve the user's diary for whole calendar days, newest entries first. Days are counted in the time zone metri keeps for the user's account, so pass the user's own dates: today, yesterday or this week become a first and a last day. The period may span at most 31 days; split longer periods into consecutive ones. Each entry's consumedAt is local time in that zone, with its UTC offset. Each entry lists its items; an item's grams is the logged amount (a batch item carries fractionOfBatch, plus grams when logged in grams), and serving is how the user counted it (for example 2 cups), so count servings from it rather than from grams. Totals are computed on the server over the whole period regardless of pagination, so use them instead of adding up entries. With query, only entries whose name or any item's food name contains the text are returned, each with all its items; totals then count every item of an entry whose name matches and, in other entries, only the items whose food name matches. Matching is a case-insensitive substring with no synonyms or translation: query each name the user may have logged a food under.

metri_log_consumption

ChatGPT
Record one complete eating event and return the refreshed current-day dashboard. Each item is a saved food by foodId or an inline non-batch food. Create a batch with metri_save_batch first, then log it by foodId. Log a batch by grams only when its finished weight is known; otherwise use fractionOfBatch. Returns each item's id and nutrition in the order of items.

metri_save_batch

ChatGPT
Save one batch: a single preparation the user actually cooked, for example a pot of soup or a tray of lasagna, not a reusable recipe. Without foodId, create a batch from name and components. With foodId, correct that batch: fields you omit keep their values, and every diary item of the batch follows the change. Cooking the dish again is a new batch, not a correction. Each component is a saved non-batch food by foodId, or an inline food with name and nutritionPer100g. Components replace the whole list, so to change one, read the batch with metri_search_foods by foodId, edit the list and send all of it back. outputWeightGrams is the finished weight of the whole batch. Pass null when it was not weighed; never estimate it. Without it, the batch can only be logged as a fraction. Changing it keeps the grams of items logged in grams and recomputes their fraction; items logged as a fraction keep their fraction. It cannot be cleared to null while items are logged in grams.

metri_save_food

ChatGPT
Create a reusable non-batch food, or update one by foodId: only the fields passed change. Does not log consumption.

metri_search_foods

ChatGPT
Search the user's private metri library of saved foods and cooked batches. It reads only metri state, not the public web. Pass at most one field: - foodId: read that one food in full; a batch includes its components. - query: search food names. Returns up to 20 matches in relevance order. - cursor: fetch the next 20 results of the previous search or browse. - nothing: browse the whole library, most recently changed first, 20 at a time. Search and browse results omit batch components and include nextCursor when more results exist. Search when the user refers to something personal or saved, such as their usual dish, a cooked batch or a specific product, and log with its foodId when it is the same food. Generic foods can be logged inline without a search.

metri_set_daily_goal

ChatGPT
Use this when the user wants to set or change their daily calorie target and optional protein, fat, or carbohydrate targets. Returns the previous goal and today's progress against the new goal, shown as a card. The new goal applies from now on, including the rest of today; days that have already ended keep the goal they were lived against. Nothing is deleted: earlier goals are kept, and the goal can be changed back at any time.

metri_show_today

ChatGPT
Use this when the user asks to see today's calories, macros, remaining daily allowance, or nutrition progress as a visual card.

metri_today_details

ChatGPT
App-only companion to metri_show_today: the full day grouped by eating event, with per-item macros and the batch component breakdown, used by the metri card's fullscreen view. day and summaryDays are dates as YYYY-MM-DD, counted in the account's time zone like the card's own day. Pass summaryDays to also get back the calorie and macro totals plus the goal in force for each of those days, which colour the day strip in that same view. Do not call this to answer the user in chat; use metri_get_diary instead.

Capabilities

WritesInteractive

Example Prompts

Click any prompt to copy it.

Similar Apps

Listed on MCP App Store

Listed on MCP App Store

Add this badge to your site or README. It links to this page.

HTML

<a href="https://mcp-app-store.keenethics-labs.com/app/metri-calorie-macro-tracker"><img src="https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg" alt="Listed on MCP App Store" width="220" height="44"></a>

Markdown

[![Listed on MCP App Store](https://mcp-app-store.keenethics-labs.com/badges/listed-on-mcp-app-store.svg)](https://mcp-app-store.keenethics-labs.com/app/metri-calorie-macro-tracker)