Forkmate MCP
An MCP server for Forkmate, a free AI calorie and macro tracker. It allows AI assistants to log meals, read daily totals, update preferences, search food databases, and manage a private food diary via OAuth or personal keys.
Endpoint and access
No sign-in to connect and list tools. Individual tools may still need a vendor account, credentials, or permissions; check the documented prerequisites.
https://mcp.forkmate.ai/What you can do with it
- Log meals by describing food in plain text
- Read daily calorie and macro totals
- Update user dietary preferences and allergies
- Search USDA and Open Food Facts databases
Source and maintenance
- Maintenance checked
Protocol and capabilities
- Server
- forkmate 0.1.11
- MCP protocol
- 2025-06-18
- Tools
- 14 advertised
- Resources
- Not advertised
- Resource templates
- Not advertised
- Prompts
- 13 advertised
{
"tools": {},
"prompts": {}
}Server-provided instructions
Untrusted server output shown for inspection. It is not Koskamo guidance and is excluded from knowledge search.
Tools
14 advertised
whoami
Diagnostic: confirms that this connection is signed in to a Forkmate account. Returns no account id, email or other identifier.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"required": [
"connected"
],
"properties": {
"connected": {
"type": "boolean"
}
}
}{
"title": "Who am I",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}get_day
Read the user's food diary for one day: its entries, each listed with its `id` and each food with its item_index, quantity and macros, and calorie/macro totals. All calorie and macro values, including carbohydrates, are estimates from USDA FoodData Central, Open Food Facts, the user's own entry or an AI assistant's estimate — approximate, not lab-measured or specific to a package or batch, and not suitable for insulin dosing (including carb counting for a meal bolus), blood-glucose prediction or any other medical decision.
{
"type": "object",
"properties": {
"local_date": {
"type": "string",
"description": "YYYY-MM-DD; defaults to today."
}
}
}{
"type": "object",
"required": [
"local_date",
"entries",
"totals"
],
"properties": {
"totals": {
"type": "object",
"required": [
"local_date",
"entry_count",
"totals"
],
"properties": {
"totals": {
"type": "object",
"required": [
"kcal",
"protein_g",
"carb_g",
"fat_g"
],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"fluid_ml": {
"type": "number"
},
"local_date": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
},
"caffeine_mg": {
"type": "number"
},
"entry_count": {
"type": "integer"
}
}
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"at",
"local_date",
"items"
],
"properties": {
"at": {
"type": "string",
"description": "ISO-8601 UTC instant the food was eaten."
},
"id": {
"type": "string",
"description": "Identifies the entry for a later edit or deletion."
},
"meal": {
"type": "string",
"description": "breakfast, lunch, dinner or snack, when set."
},
"note": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"macros": {
"type": "object",
"required": [],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"fluid_ml": {
"type": "number"
},
"quantity": {
"type": "string"
},
"caffeine_mg": {
"type": "number"
},
"unknown_macros": {
"type": "array",
"items": {
"enum": [
"protein_g",
"carb_g",
"fat_g"
],
"type": "string"
},
"description": "Macros missing from the source data: shown as 0 but unknown, not a real zero."
}
}
}
},
"local_date": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
}
},
"description": "One diary entry: a meal with its foods."
}
},
"local_date": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
}
}
}{
"title": "Get day's diary",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}get_range
Read the user's food diary across a date range, with per-day calorie/macro totals and each entry listed with its `id`. All calorie and macro values, including carbohydrates, are estimates from USDA FoodData Central, Open Food Facts, the user's own entry or an AI assistant's estimate — approximate, not lab-measured or specific to a package or batch, and not suitable for insulin dosing (including carb counting for a meal bolus), blood-glucose prediction or any other medical decision.
{
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"description": "YYYY-MM-DD (inclusive)."
},
"start": {
"type": "string",
"description": "YYYY-MM-DD (inclusive)."
}
}
}{
"type": "object",
"required": [
"start",
"end",
"days",
"entries"
],
"properties": {
"end": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
},
"days": {
"type": "array",
"items": {
"type": "object",
"required": [
"local_date",
"entry_count",
"totals"
],
"properties": {
"totals": {
"type": "object",
"required": [
"kcal",
"protein_g",
"carb_g",
"fat_g"
],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"fluid_ml": {
"type": "number"
},
"local_date": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
},
"caffeine_mg": {
"type": "number"
},
"entry_count": {
"type": "integer"
}
}
}
},
"start": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
},
"entries": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"at",
"local_date",
"items"
],
"properties": {
"at": {
"type": "string",
"description": "ISO-8601 UTC instant the food was eaten."
},
"id": {
"type": "string",
"description": "Identifies the entry for a later edit or deletion."
},
"meal": {
"type": "string",
"description": "breakfast, lunch, dinner or snack, when set."
},
"note": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"macros": {
"type": "object",
"required": [],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"fluid_ml": {
"type": "number"
},
"quantity": {
"type": "string"
},
"caffeine_mg": {
"type": "number"
},
"unknown_macros": {
"type": "array",
"items": {
"enum": [
"protein_g",
"carb_g",
"fat_g"
],
"type": "string"
},
"description": "Macros missing from the source data: shown as 0 but unknown, not a real zero."
}
}
}
},
"local_date": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
}
},
"description": "One diary entry: a meal with its foods."
}
}
}
}{
"title": "Get diary range",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}get_preferences
Read the user's food profile: diet style, allergies (a structured list of the major US allergens), foods they like, foods they dislike, and a typical-portion note. Allergies are self-reported and not a safety guarantee; the response includes an allergy_disclaimer. Likes and dislikes are taste preferences, not allergies or restrictions.
{
"type": "object",
"properties": {},
"additionalProperties": false
}{
"type": "object",
"required": [
"diet_style",
"allergies",
"likes",
"dislikes",
"portion_note",
"allergy_disclaimer"
],
"properties": {
"likes": {
"type": "array",
"items": {
"type": "string"
}
},
"dislikes": {
"type": "array",
"items": {
"type": "string"
}
},
"allergies": {
"type": "array",
"items": {
"type": "string"
}
},
"diet_style": {
"type": [
"string",
"null"
]
},
"portion_note": {
"type": [
"string",
"null"
]
},
"allergy_disclaimer": {
"type": "string"
}
}
}{
"title": "Get food profile",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}update_preferences
Edit the user's food profile: add or remove foods they like or dislike, add or remove allergies from the major US allergen list, or set their diet style. Only the fields sent change. A removal matches a saved name in any casing; a name that matches nothing is reported in `not_found` and nothing else is affected. Adding a food to likes takes it off dislikes, and the reverse. Lists hold up to 50 foods of up to 80 characters each. The reply is the whole updated profile. It saves what the user states about their own tastes and allergies, not inferences from the diary. Every call carries `user_approved: true`, meaning the user saw this exact change and said yes to it; a call without it changes nothing and returns the change for the user to approve. A user stating a preference (e.g. 'I dislike olives') has not approved saving it: approval is a later message agreeing to the change as proposed. The server cannot verify that a person gave the approval. Removals work without health-data consent and then return only what was removed. The user can see and edit the same profile in Forkmate's Settings.
{
"type": "object",
"required": [
"user_approved"
],
"properties": {
"add_likes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Foods the user enjoys, e.g. 'salmon'."
},
"diet_style": {
"enum": [
"omnivore",
"vegetarian",
"vegan",
"pescatarian",
"keto",
"none"
],
"type": "string",
"description": "The user's diet style; 'none' clears it."
},
"add_dislikes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Foods the user dislikes, e.g. 'mushrooms'. A taste preference, not an allergy or a restriction."
},
"remove_likes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Foods to take off the likes list."
},
"add_allergies": {
"type": "array",
"items": {
"enum": [
"milk",
"eggs",
"fish",
"shellfish",
"tree_nuts",
"peanuts",
"wheat",
"soy",
"sesame"
],
"type": "string"
},
"description": "Allergens to add, from the major US allergen list."
},
"user_approved": {
"type": "boolean",
"description": "True only when the previous assistant message proposed this exact change and the user's latest message agreed to it. The user stating the preference itself is not approval."
},
"remove_dislikes": {
"type": "array",
"items": {
"type": "string"
},
"description": "Foods to take off the dislikes list."
},
"remove_allergies": {
"type": "array",
"items": {
"enum": [
"milk",
"eggs",
"fish",
"shellfish",
"tree_nuts",
"peanuts",
"wheat",
"soy",
"sesame"
],
"type": "string"
},
"description": "Allergens to remove."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"removed",
"not_found"
],
"properties": {
"likes": {
"type": "array",
"items": {
"type": "string"
}
},
"removed": {
"type": "object",
"required": [
"likes",
"dislikes",
"allergies"
],
"properties": {
"likes": {
"type": "array",
"items": {
"type": "string"
}
},
"dislikes": {
"type": "array",
"items": {
"type": "string"
}
},
"allergies": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"dislikes": {
"type": "array",
"items": {
"type": "string"
}
},
"allergies": {
"type": "array",
"items": {
"type": "string"
}
},
"not_found": {
"type": "object",
"required": [
"likes",
"dislikes",
"allergies"
],
"properties": {
"likes": {
"type": "array",
"items": {
"type": "string"
}
},
"dislikes": {
"type": "array",
"items": {
"type": "string"
}
},
"allergies": {
"type": "array",
"items": {
"type": "string"
}
}
}
},
"diet_style": {
"type": [
"string",
"null"
]
},
"portion_note": {
"type": [
"string",
"null"
]
},
"allergy_disclaimer": {
"type": "string"
}
}
}{
"title": "Update food profile",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}get_usual_foods
Read what the user usually and recently eats. `usual` lists their most-logged foods, most frequent first, each with how many times it was logged, the date last eaten, the meal it is usually logged under, and the portion and macros from the last time. `recent` lists each distinct food from the last seven days with the date last eaten, its meal and how many times. An optional `meal` narrows both lists to one meal. All calorie and macro values, including carbohydrates, are estimates from USDA FoodData Central, Open Food Facts, the user's own entry or an AI assistant's estimate — approximate, not lab-measured or specific to a package or batch, and not suitable for insulin dosing (including carb counting for a meal bolus), blood-glucose prediction or any other medical decision.
{
"type": "object",
"properties": {
"meal": {
"enum": [
"breakfast",
"lunch",
"dinner",
"snack",
"other"
],
"type": "string",
"description": "Only foods logged under this meal."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"meal",
"usual",
"recent",
"recent_window"
],
"properties": {
"meal": {
"type": [
"string",
"null"
]
},
"usual": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"times_logged",
"last_eaten",
"usual_meal",
"typical_serving"
],
"properties": {
"name": {
"type": "string"
},
"last_eaten": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
},
"usual_meal": {
"type": [
"string",
"null"
]
},
"times_logged": {
"type": "integer"
},
"typical_serving": {
"type": "object",
"required": [
"quantity",
"macros"
],
"properties": {
"macros": {
"type": "object",
"required": [
"kcal",
"protein_g",
"carb_g",
"fat_g"
],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"quantity": {
"type": [
"string",
"null"
]
}
}
}
}
}
},
"recent": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"last_eaten",
"meal",
"times"
],
"properties": {
"meal": {
"type": [
"string",
"null"
]
},
"name": {
"type": "string"
},
"times": {
"type": "integer"
},
"last_eaten": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
}
}
}
},
"recent_window": {
"type": "object",
"required": [
"start",
"end"
],
"properties": {
"end": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
},
"start": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
}
}
}
}
}{
"title": "Get usual foods",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}log_meal
Add a meal to the user's food diary: one or more food items, each with an optional quantity and macros, plus an optional meal label, date, note and provenance `source`. The reply names the new entry's `id` and `local_date`, which identify it for a later edit or deletion. A restaurant meal's numbers depend most on the restaurant, the specific menu item, its size and its add-ons (cheese, fries, sauce, dressing); a bare dish name is logged as a typical serving. When the user names one of their saved recipes ("my chicken and rice", "half my chili"), send their words as one item's name, with any amount in quantity; Forkmate logs the recipe's own foods and numbers in its place. Portion amounts are checked against the user's own words for the meal when they arrive in `said`, and the reply lists each food with the amount it was logged at. All calorie and macro values, including carbohydrates, are estimates from USDA FoodData Central, Open Food Facts, the user's own entry or an AI assistant's estimate — approximate, not lab-measured or specific to a package or batch, and not suitable for insulin dosing (including carb counting for a meal bolus), blood-glucose prediction or any other medical decision.
{
"type": "object",
"required": [
"items"
],
"properties": {
"at": {
"type": "string",
"description": "ISO-8601 instant the meal was eaten; defaults to now."
},
"meal": {
"enum": [
"breakfast",
"lunch",
"dinner",
"snack",
"other"
],
"type": "string",
"description": "Which meal of the day this was."
},
"note": {
"type": "string",
"description": "Optional free-text note stored with the meal, e.g. 'post-run'."
},
"said": {
"type": "string",
"maxLength": 300,
"description": "The amounts are checked against this: the user's own words for this meal, verbatim (e.g. 'a pint of IPA and wings at the bar'). Only the meal description — not other parts of the conversation. Optional; without it, the amounts are logged as sent."
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string",
"description": "What the food is, e.g. 'scrambled eggs' or 'Greek yogurt, plain'."
},
"macros": {
"type": "object",
"properties": {
"kcal": {
"type": "number",
"description": "Energy for the whole portion eaten, in kilocalories (not per 100 g)."
},
"fat_g": {
"type": "number",
"description": "Total fat for the whole portion eaten, in grams."
},
"carb_g": {
"type": "number",
"description": "Total carbohydrate for the whole portion eaten, in grams."
},
"protein_g": {
"type": "number",
"description": "Protein for the whole portion eaten, in grams."
}
},
"description": "Estimated nutrition for the portion eaten. Omitted fields are looked up from the food databases. Without this object, kcal (or calories), protein_g, carb_g (or carbs_g) and fat_g set on the item itself are read as these macros."
},
"barcode": {
"type": "string",
"description": "The package's UPC/EAN barcode, when the food came from a barcode lookup."
},
"fluid_ml": {
"type": "number",
"description": "Optional fluid/hydration volume of this item, in millilitres (e.g. 240 for an 8 oz cup)."
},
"quantity": {
"type": "string",
"description": "Portion as a display label, e.g. '3', '1 cup' or '2 × 1 frank (96 g)'. Display only: the server stores macros exactly as sent and does not re-scale them."
},
"caffeine_mg": {
"type": "number",
"description": "Optional caffeine content of this item, in milligrams (e.g. ~95 for an 8 oz brewed coffee). If you omit it, Forkmate fills it from the label or its reference table when it knows the drink."
}
}
},
"minItems": 1,
"description": "The foods in this meal, one entry per food."
},
"source": {
"enum": [
"USDA",
"Open Food Facts",
"Forkmate",
"product label",
"estimate"
],
"type": "string",
"description": "Optional provenance for these items: the `source` label of the food-database candidate they came from ('USDA', 'Open Food Facts', 'Forkmate' or 'product label'), or 'estimate'. Defaults to 'estimate'; unrecognized values are recorded as an estimate."
},
"local_date": {
"type": "string",
"description": "YYYY-MM-DD diary date; defaults to the user's local date (from their timezone)."
}
}
}{
"type": "object",
"required": [
"entry",
"day_totals"
],
"properties": {
"entry": {
"type": "object",
"required": [
"id",
"at",
"local_date",
"items"
],
"properties": {
"at": {
"type": "string",
"description": "ISO-8601 UTC instant the food was eaten."
},
"id": {
"type": "string",
"description": "Identifies the entry for a later edit or deletion."
},
"meal": {
"type": "string",
"description": "breakfast, lunch, dinner or snack, when set."
},
"note": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"macros": {
"type": "object",
"required": [],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"fluid_ml": {
"type": "number"
},
"quantity": {
"type": "string"
},
"caffeine_mg": {
"type": "number"
},
"unknown_macros": {
"type": "array",
"items": {
"enum": [
"protein_g",
"carb_g",
"fat_g"
],
"type": "string"
},
"description": "Macros missing from the source data: shown as 0 but unknown, not a real zero."
}
}
}
},
"local_date": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
}
},
"description": "One diary entry: a meal with its foods."
},
"day_totals": {
"type": "object",
"required": [
"local_date",
"entry_count",
"totals"
],
"properties": {
"totals": {
"type": "object",
"required": [
"kcal",
"protein_g",
"carb_g",
"fat_g"
],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"fluid_ml": {
"type": "number"
},
"local_date": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
},
"caffeine_mg": {
"type": "number"
},
"entry_count": {
"type": "integer"
}
}
}
}
}{
"title": "Log a meal",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": false,
"destructiveHint": false
}update_meal
Correct a food already in the user's diary — its name, quantity, macros, caffeine or fluid — or change an entry's meal label or note. The entry is identified by `id` and `local_date`, and a food by its `item_index`. Only the fields sent change; macros are merged onto the existing values and overwritten in place, with no history kept. A new `quantity` sent without `macros` rescales the food's macros, caffeine and fluid by the new amount ÷ the old one when both are the same kind of amount (a weight, a volume or a count), so '150 g' to '300 g' doubles them; otherwise the macros stay as they were and the reply says so. An entry cannot be moved to another day. All calorie and macro values, including carbohydrates, are estimates from USDA FoodData Central, Open Food Facts, the user's own entry or an AI assistant's estimate — approximate, not lab-measured or specific to a package or batch, and not suitable for insulin dosing (including carb counting for a meal bolus), blood-glucose prediction or any other medical decision.
{
"type": "object",
"required": [
"id",
"local_date"
],
"properties": {
"id": {
"type": "string",
"description": "The entry id, shown with each entry in the reply text when a meal is logged or a day or range is read."
},
"meal": {
"enum": [
"breakfast",
"lunch",
"dinner",
"snack",
"other"
],
"type": "string",
"description": "Move the entry to a different meal label."
},
"name": {
"type": "string",
"description": "Corrected name of the food."
},
"note": {
"type": "string",
"description": "Replacement note for the entry."
},
"said": {
"type": "string",
"maxLength": 300,
"description": "The amounts are checked against this: the user's own words for this meal, verbatim (e.g. 'a pint of IPA and wings at the bar'). Only the meal description — not other parts of the conversation. Optional; without it, the amounts are logged as sent."
},
"macros": {
"type": "object",
"properties": {
"kcal": {
"type": "number",
"description": "Corrected energy for the whole portion, in kilocalories."
},
"fat_g": {
"type": "number",
"description": "Corrected total fat for the whole portion, in grams."
},
"carb_g": {
"type": "number",
"description": "Corrected total carbohydrate for the whole portion, in grams."
},
"protein_g": {
"type": "number",
"description": "Corrected protein for the whole portion, in grams."
}
},
"description": "Corrected macros. Only the components included are changed."
},
"fluid_ml": {
"type": "number",
"description": "Corrected fluid/hydration volume, in millilitres."
},
"quantity": {
"type": "string",
"description": "Portion as stated, e.g. '2' or '1 cup'."
},
"item_index": {
"type": "number",
"description": "Which food in the entry's items[] to edit (0-based). Required when changing a food's name/quantity/macros/caffeine/fluid; omit for an entry-level change (meal/note)."
},
"local_date": {
"type": "string",
"description": "YYYY-MM-DD diary date of the entry."
},
"caffeine_mg": {
"type": "number",
"description": "Corrected caffeine content, in milligrams."
}
}
}{
"type": "object",
"required": [
"entry",
"day_totals"
],
"properties": {
"entry": {
"type": "object",
"required": [
"id",
"at",
"local_date",
"items"
],
"properties": {
"at": {
"type": "string",
"description": "ISO-8601 UTC instant the food was eaten."
},
"id": {
"type": "string",
"description": "Identifies the entry for a later edit or deletion."
},
"meal": {
"type": "string",
"description": "breakfast, lunch, dinner or snack, when set."
},
"note": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"macros": {
"type": "object",
"required": [],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"fluid_ml": {
"type": "number"
},
"quantity": {
"type": "string"
},
"caffeine_mg": {
"type": "number"
},
"unknown_macros": {
"type": "array",
"items": {
"enum": [
"protein_g",
"carb_g",
"fat_g"
],
"type": "string"
},
"description": "Macros missing from the source data: shown as 0 but unknown, not a real zero."
}
}
}
},
"local_date": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
}
},
"description": "One diary entry: a meal with its foods."
},
"day_totals": {
"type": "object",
"required": [
"local_date",
"entry_count",
"totals"
],
"properties": {
"totals": {
"type": "object",
"required": [
"kcal",
"protein_g",
"carb_g",
"fat_g"
],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"fluid_ml": {
"type": "number"
},
"local_date": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
},
"caffeine_mg": {
"type": "number"
},
"entry_count": {
"type": "integer"
}
}
}
}
}{
"title": "Edit a logged food",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}delete_meal
Delete one food from a diary entry (by `item_index`), or the whole entry (without it). The entry is identified by `id` and `local_date`. Deletion is permanent, with no undo; deleting the last food removes the entry, and an `id` that matches no entry on that date returns a not-found error and deletes nothing. All calorie and macro values, including carbohydrates, are estimates from USDA FoodData Central, Open Food Facts, the user's own entry or an AI assistant's estimate — approximate, not lab-measured or specific to a package or batch, and not suitable for insulin dosing (including carb counting for a meal bolus), blood-glucose prediction or any other medical decision.
{
"type": "object",
"required": [
"id",
"local_date"
],
"properties": {
"id": {
"type": "string",
"description": "The entry id, shown with each entry in the reply text when a meal is logged or a day or range is read."
},
"item_index": {
"type": "number",
"description": "Which food to remove (0-based). Omit to delete the whole entry."
},
"local_date": {
"type": "string",
"description": "YYYY-MM-DD diary date of the entry."
}
}
}{
"type": "object",
"required": [
"removed",
"entry",
"day_totals"
],
"properties": {
"entry": {
"anyOf": [
{
"type": "object",
"required": [
"id",
"at",
"local_date",
"items"
],
"properties": {
"at": {
"type": "string",
"description": "ISO-8601 UTC instant the food was eaten."
},
"id": {
"type": "string",
"description": "Identifies the entry for a later edit or deletion."
},
"meal": {
"type": "string",
"description": "breakfast, lunch, dinner or snack, when set."
},
"note": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"macros": {
"type": "object",
"required": [],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"fluid_ml": {
"type": "number"
},
"quantity": {
"type": "string"
},
"caffeine_mg": {
"type": "number"
},
"unknown_macros": {
"type": "array",
"items": {
"enum": [
"protein_g",
"carb_g",
"fat_g"
],
"type": "string"
},
"description": "Macros missing from the source data: shown as 0 but unknown, not a real zero."
}
}
}
},
"local_date": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
}
},
"description": "One diary entry: a meal with its foods."
},
{
"type": "null"
}
],
"description": "What remains of the entry, or null."
},
"removed": {
"type": "boolean"
},
"day_totals": {
"type": "object",
"required": [
"local_date",
"entry_count",
"totals"
],
"properties": {
"totals": {
"type": "object",
"required": [
"kcal",
"protein_g",
"carb_g",
"fat_g"
],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"fluid_ml": {
"type": "number"
},
"local_date": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
},
"caffeine_mg": {
"type": "number"
},
"entry_count": {
"type": "integer"
}
}
}
}
}{
"title": "Delete a logged food",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": true
}give_consent
Records the user's consent to Forkmate storing and processing their health-related data, as summarised in the consent text that a refused log reply shows. Valid only as the user's own explicit agreement given in this conversation; an assistant agreeing on the user's behalf is not consent. Stores the consent version, the time, the connected app and the user's words, then logs any meal that was waiting for consent. Withdrawal is in Forkmate Settings.
{
"type": "object",
"required": [
"user_statement",
"version"
],
"properties": {
"version": {
"enum": [
"health_ack_v5"
],
"type": "string",
"description": "The consent version shown to the user."
},
"user_statement": {
"type": "string",
"maxLength": 280,
"description": "The user's own words agreeing, as they replied, e.g. 'yes, I agree'."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"consented",
"version",
"logged"
],
"properties": {
"logged": {
"type": "array",
"items": {
"type": "object",
"required": [
"id",
"at",
"local_date",
"items"
],
"properties": {
"at": {
"type": "string",
"description": "ISO-8601 UTC instant the food was eaten."
},
"id": {
"type": "string",
"description": "Identifies the entry for a later edit or deletion."
},
"meal": {
"type": "string",
"description": "breakfast, lunch, dinner or snack, when set."
},
"note": {
"type": "string"
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"name"
],
"properties": {
"name": {
"type": "string"
},
"macros": {
"type": "object",
"required": [],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"fluid_ml": {
"type": "number"
},
"quantity": {
"type": "string"
},
"caffeine_mg": {
"type": "number"
},
"unknown_macros": {
"type": "array",
"items": {
"enum": [
"protein_g",
"carb_g",
"fat_g"
],
"type": "string"
},
"description": "Macros missing from the source data: shown as 0 but unknown, not a real zero."
}
}
}
},
"local_date": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
}
},
"description": "One diary entry: a meal with its foods."
},
"description": "Meals held until consent, now logged."
},
"version": {
"type": "string"
},
"consented": {
"type": "boolean"
}
}
}{
"title": "Give consent",
"readOnlyHint": false,
"openWorldHint": false,
"idempotentHint": true,
"destructiveHint": false
}search_foods
Search USDA FoodData Central, Open Food Facts and Forkmate's curated restaurant menus for a named food. Returns up to 5 candidates, each with macros per 100 g, a `source` label ('USDA', 'Open Food Facts', 'Forkmate' or 'product label', a packaged product's published label read from a cited page and not yet checked by Forkmate), and, when known, `serving_grams`/`serving_label` for one household serving. Curated chain-menu candidates include a `provenance` object that may carry a portion caveat. A query names a food (at least 2 letters, no wildcards); there is no paging. For a bare generic dish ("a burger", "coffee"), the reply also lists `details_that_change_it`: the details that change that dish's numbers most, such as where it is from, which item, its size and add-ons. All calorie and macro values, including carbohydrates, are estimates from USDA FoodData Central, Open Food Facts, the user's own entry or an AI assistant's estimate — approximate, not lab-measured or specific to a package or batch, and not suitable for insulin dosing (including carb counting for a meal bolus), blood-glucose prediction or any other medical decision.
{
"type": "object",
"required": [
"query"
],
"properties": {
"limit": {
"type": "number",
"description": "Max candidates to return (default and maximum 5)."
},
"query": {
"type": "string",
"description": "Food to search, e.g. 'greek yogurt' or 'Chipotle chicken'. At least 2 letters; wildcards are not supported."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"candidates"
],
"properties": {
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"serving",
"macros",
"source"
],
"properties": {
"name": {
"type": "string"
},
"macros": {
"type": "object",
"required": [
"kcal",
"protein_g",
"carb_g",
"fat_g"
],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"source": {
"enum": [
"USDA",
"Open Food Facts",
"Forkmate",
"your entry",
"estimate"
],
"type": "string",
"description": "Where the figures came from, as a label."
},
"serving": {
"type": "string",
"description": "The basis the macros are for, e.g. '100 g'."
},
"provenance": {
"type": "object",
"required": [
"chain",
"as_of"
],
"properties": {
"as_of": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
},
"chain": {
"type": "string"
},
"caveat": {
"type": "string"
},
"source_url": {
"type": "string"
},
"assumed_build": {
"type": "string"
}
},
"description": "Citation: the chain or a product label's brand, its data date, its published page, the assumed build and a caveat."
},
"serving_grams": {
"type": "number"
},
"serving_label": {
"type": "string"
},
"serving_approx": {
"type": "boolean",
"description": "serving_grams is estimated from a drink's volume."
},
"unknown_macros": {
"type": "array",
"items": {
"enum": [
"protein_g",
"carb_g",
"fat_g"
],
"type": "string"
},
"description": "Macros missing from the source data: shown as 0 but unknown, not a real zero."
}
},
"description": "A food match. Macros are PER 100 g — scale to the portion before logging."
}
},
"details_that_change_it": {
"type": "array",
"items": {
"type": "string"
},
"description": "For a bare generic dish: the details that change its numbers most (where it's from, which item, size, add-ons)."
}
}
}{
"title": "Search foods",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}lookup_barcode
Look up a packaged food by its UPC/EAN barcode in Open Food Facts. Returns macros per 100 g, a `source` label ('Open Food Facts'), and, when known, `serving_grams`/`serving_label` for one household serving. All calorie and macro values, including carbohydrates, are estimates from USDA FoodData Central, Open Food Facts, the user's own entry or an AI assistant's estimate — approximate, not lab-measured or specific to a package or batch, and not suitable for insulin dosing (including carb counting for a meal bolus), blood-glucose prediction or any other medical decision.
{
"type": "object",
"required": [
"upc"
],
"properties": {
"upc": {
"type": "string",
"description": "UPC/EAN barcode, digits only (8–14 digits)."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"candidates"
],
"properties": {
"candidates": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"serving",
"macros",
"source"
],
"properties": {
"name": {
"type": "string"
},
"macros": {
"type": "object",
"required": [
"kcal",
"protein_g",
"carb_g",
"fat_g"
],
"properties": {
"kcal": {
"type": "number"
},
"fat_g": {
"type": "number"
},
"carb_g": {
"type": "number"
},
"protein_g": {
"type": "number"
}
},
"description": "Calories and macros. Estimates, not lab-measured; not for insulin dosing."
},
"source": {
"enum": [
"USDA",
"Open Food Facts",
"Forkmate",
"your entry",
"estimate"
],
"type": "string",
"description": "Where the figures came from, as a label."
},
"serving": {
"type": "string",
"description": "The basis the macros are for, e.g. '100 g'."
},
"provenance": {
"type": "object",
"required": [
"chain",
"as_of"
],
"properties": {
"as_of": {
"type": "string",
"description": "A local date, YYYY-MM-DD."
},
"chain": {
"type": "string"
},
"caveat": {
"type": "string"
},
"source_url": {
"type": "string"
},
"assumed_build": {
"type": "string"
}
},
"description": "Citation: the chain or a product label's brand, its data date, its published page, the assumed build and a caveat."
},
"serving_grams": {
"type": "number"
},
"serving_label": {
"type": "string"
},
"serving_approx": {
"type": "boolean",
"description": "serving_grams is estimated from a drink's volume."
},
"unknown_macros": {
"type": "array",
"items": {
"enum": [
"protein_g",
"carb_g",
"fat_g"
],
"type": "string"
},
"description": "Macros missing from the source data: shown as 0 but unknown, not a real zero."
}
},
"description": "A food match. Macros are PER 100 g — scale to the portion before logging."
}
}
}
}{
"title": "Look up barcode",
"readOnlyHint": true,
"openWorldHint": true,
"destructiveHint": false
}send_feedback
Sends feedback to Forkmate to improve the app: a bug, a feature request, a food or nutrition figure that looked wrong (food_data), or something else. It is for feedback the user has asked to send, in the user's own words rather than a paraphrase. It changes nothing in the diary. The note is kept in the user's own account and deleted with it, and no reply is sent.
{
"type": "object",
"required": [
"message"
],
"properties": {
"about": {
"enum": [
"logging",
"accuracy",
"connect",
"other"
],
"type": "string",
"description": "What the note is about: logging (saving or editing meals), accuracy (a food or number that looked wrong), connect (connecting this AI app), or other."
},
"rating": {
"enum": [
"up",
"down"
],
"type": "string",
"description": "The user's thumbs up or down on Forkmate, when they gave one."
},
"message": {
"type": "string",
"maxLength": 4000,
"description": "The feedback, in the user's own words as they said it (at most 4000 characters)."
},
"category": {
"enum": [
"bug",
"feature_request",
"food_data",
"other"
],
"type": "string",
"description": "The kind of feedback: bug (something broken), feature_request (something the user would like), food_data (a wrong food match or nutrition figure), or other."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"sent"
],
"properties": {
"sent": {
"type": "boolean"
}
}
}{
"title": "Send feedback to Forkmate",
"readOnlyHint": false,
"openWorldHint": false,
"destructiveHint": false
}get_notifications
Reads the user's Forkmate notifications, newest first: notices that something the user reported was fixed, Forkmate release notes (what's new), and account messages. Each one has a kind, a title, a body, an optional link, the day it arrived and whether it is unread, and the reply includes the unread count. Read-only: reading marks nothing as read. Notifications older than 180 days are not kept.
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"maximum": 20,
"minimum": 1,
"description": "How many to return, newest first (1 to 20, default 10)."
},
"unread_only": {
"type": "boolean",
"description": "Only unread notifications. Defaults to false."
}
},
"additionalProperties": false
}{
"type": "object",
"required": [
"notifications",
"unread_count"
],
"properties": {
"unread_count": {
"type": "integer",
"minimum": 0
},
"notifications": {
"type": "array",
"items": {
"type": "object",
"required": [
"kind",
"title",
"body",
"date",
"unread"
],
"properties": {
"body": {
"type": "string"
},
"date": {
"type": "string",
"description": "The day it arrived, YYYY-MM-DD."
},
"kind": {
"enum": [
"fix_notice",
"whats_new",
"system"
],
"type": "string"
},
"link": {
"type": "string"
},
"title": {
"type": "string"
},
"unread": {
"type": "boolean"
}
}
}
}
}
}{
"title": "Get notifications",
"readOnlyHint": true,
"openWorldHint": false,
"destructiveHint": false
}Prompts
13 advertised
log-meal — Log a meal
Log something you ate to your Forkmate diary, described in your own words.
- meal
- What you ate, e.g. 'two eggs and toast with butter'. (required)
fix-last-entry — Fix my last entry
Correct the most recent food in your Forkmate diary: the amount, the food, the meal or the day.
- change
- What was wrong, e.g. 'it was 2 eggs, not 3' or 'that was yesterday'.
today-so-far — What's left today
Today's calories, protein, carbs and fat from your Forkmate diary, and what is left of your own targets if you give them.
- calories
- Your calorie target for today, e.g. '2200'. Optional.
- protein_g
- Your protein target for today in grams, e.g. '120'. Optional.
log-my-usual — Log my usual
Log a meal you often eat, from your Forkmate history, after you check the foods and portions.
- which
- Which meal or food, e.g. 'breakfast' or 'the oatmeal from Tuesday'.
hit-protein — Hit my protein today
See how much protein you have had today and get food ideas to close the gap.
- target_g
- Your protein target for today in grams, e.g. '140'.
week-review — Weekly check-in
The last 7 days of your Forkmate diary: calories and macros per day and on average, and the foods you ate most.
log-photo — Log a meal from a photo
Attach a photo of your meal and log it to your Forkmate diary as an estimate you check first.
- note
- Anything the photo does not show, e.g. 'cooked in butter' or 'I ate half'.
import-myfitnesspal — Move my MyFitnessPal history
Get the steps to export your MyFitnessPal data for free and import it into Forkmate.
give-feedback — Give Forkmate feedback
Tell Forkmate about a bug, a feature you would like, or a food or nutrition figure that looked wrong. You see the note before it is sent, and it changes nothing in your diary.
- note
- Optional: what you want to say, in your own words.
fuel-for-a-pr — Fuel for a PR
A before, during and after fueling plan for a personal-best attempt on a route, from your recent Forkmate diary and, if your activity app is connected here too, your own past efforts on it.
- route
- The route, segment or activity name, e.g. 'river loop' or 'Saturday hill repeats'.
- goal_time
- Optional goal time, e.g. '45:00'.
fuel-for-a-race — Fuel for a race
A fueling plan for a running race, from the days before to race morning, during and after, using general sports-nutrition ranges and your recent Forkmate diary.
- distance
- 5K, 10K, half marathon or marathon.
- date
- Race date, e.g. '2026-11-08'.
long-ride-fueling — Fuel a long ride
What to eat before, during and after a long bike ride: carbs per hour, fluids and a recovery meal, sized to the ride's length and intensity.
- duration
- How long the ride is, e.g. '3 hours'.
- intensity
- Easy, moderate or hard.
how-am-i-eating — How have I been eating?
A review of your recent eating in Forkmate, 14 days by default: calories, carbs and protein per day and on average, set beside your training if your activity app is connected here too.
- days
- How many days to look back, 1 to 93. Default 14.
Resources
Not advertised
30-day availability
Aggregated from read-only remote checks; this is not a tool-execution or security guarantee.
- Successful checks
- 1 of 1 (100%)
- Average latency
- 420 ms
- 95th percentile latency
- 420 ms
Maintenance history
Public check and source-refresh events. Editorial and ownership records remain private.
- · probe · passed · 420 ms · metadata changed · 14 tool(s), 13 prompt(s)
Connect from your client
Each snippet registers the same endpoint; pick the client you use.
Claude Code
claude mcp add --transport http forkmate-mcp https://mcp.forkmate.ai/Codex
codex mcp add forkmate-mcp --url https://mcp.forkmate.ai/Cursor
{
"mcpServers": {
"forkmate-mcp": {
"url": "https://mcp.forkmate.ai/"
}
}
}Cline
{
"mcpServers": {
"forkmate-mcp": {
"type": "streamableHttp",
"url": "https://mcp.forkmate.ai/",
"disabled": false
}
}
}VS Code
{
"servers": {
"forkmate-mcp": {
"type": "http",
"url": "https://mcp.forkmate.ai/"
}
}
}Gemini CLI
gemini mcp add --transport http forkmate-mcp https://mcp.forkmate.ai/Claude Desktop
{
"mcpServers": {
"forkmate-mcp": {
"url": "https://mcp.forkmate.ai/"
}
}
}Windsurf
{
"mcpServers": {
"forkmate-mcp": {
"serverUrl": "https://mcp.forkmate.ai/"
}
}
}Let your agent find its tools
Find servers like Forkmate MCP from your agent. Add Koskamo once to search the index for endpoints, access requirements, and client setup. Public discovery needs no key.
Other productivity and knowledge servers
Do you run Forkmate MCP?
Prove ownership with a DNS record, a well-known file, or your Official MCP Registry entry, and your edits publish immediately. Proofs are re-checked weekly; admins can still hide or remove a listing.