- DATA
- MATH
- ANALYSIS
- HUMAN
Short answer
How can I use AI to track my macros?
Tell your AI what you ate and the portion size. It pulls the nutritional profile from FatSecret and calculates the protein, carbs, and fats for you. You'll get a complete macro breakdown.
The outcomes
What you get from your agent
The AI does the heavy lifting by pulling data and scaling it to your specific meal.
DATA
Nutritional profiles
The AI fetches specific calorie, fat, protein, and carb counts from the FatSecret database. You get the raw numbers for any food item.
MATH
Portion scaling
The agent adjusts the nutritional data based on the weight or volume you provide. It calculates the exact macros for your specific serving size.
ANALYSIS
Meal composition
Your AI can sum up multiple ingredients to show the total macro split for a single dish. This gives you a clear view of your meal's impact.
HUMAN
Manual verification
You review the data the AI pulls to ensure it matches what you actually ate. The AI provides the numbers, but you confirm the accuracy.
The workflow
What your AI does when you describe a meal.
The AI acts as a bridge between your chat and the FatSecret database.
Identify food
Your agent parses your text to find the specific food item you're describing.
get_fatsecret_food_detailsFetch data
The AI pulls the nutritional profile for that item from the database.
get_fatsecret_food_detailsScale portions
The agent applies the nutritional data to the specific weight or serving size you mentioned.
get_fatsecret_food_detailsCalculate totals
The AI sums the nutrients to provide a final macro count for the meal.
get_fatsecret_food_details
Try it
Copy these to start.
Use these prompts to begin your nutritional analysis.
Starting points
Replace the food names and amounts with your actual meal details.
FatSecret Connector
You're all set. Choose your MCP client and follow the setup instructions.
https://edge.vinkius.com/vk_preview_ltoVus2qK1BQ5r7C33cCY2nztaYw2SE4eC1Hkl37/mcpClaude Desktop
Follow the steps below to connect in seconds.
- 1In Claude Desktop, open Settings → Connectors.
- 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
- 3Click Add and start a new chat — FatSecret capabilities are ready to use.
{
"mcpServers": {
"fatsecret-mcp": {
"url": "https://edge.vinkius.com/vk_preview_ltoVus2qK1BQ5r7C33cCY2nztaYw2SE4eC1Hkl37/mcp"
}
}
}Calculate the macros for 250g of cooked chicken breast.
What are the nutritional details for a large Fuji apple?
I just ate 150g of Greek yogurt and 30g of granola. Give me the macro breakdown.
Find the protein and carb content for 1 cup of cooked quinoa.
Claude
ChatGPT
Cursor
VS Code
Windsurf
Claude Code
JetBrains
Cline
Start here
Connect FatSecret once, then ask.
Connect the FatSecret MCP to your AI client in one click. Your credentials stay encrypted on our side, and you can start asking about food immediately.
Connect FatSecret to your AIFAQ
How this task behaves
- 01
Can the AI log my meals directly into the FatSecret app?
No. The AI only pulls data from the database to show you in your chat. You have to log the meal in your app yourself.
- 02
Does the AI know the exact brand of food I ate?
Only if that brand is in the FatSecret database. If you don't name a brand, the AI pulls data for the generic version.
- 03
Can the AI change my daily calorie goals?
No. The AI only calculates the macros for the food you describe. It cannot modify your user profile or settings.
- 04
How accurate are the macro calculations?
The accuracy depends on the data in FatSecret. The AI performs the math based on the specific serving sizes you provide.
- 05
Can I ask for the macros of a recipe?
Yes. If you list the ingredients and their amounts, the AI will fetch the data for each item and sum them up.
More questions about FatSecret? See everything the FatSecret Connector can do
Connect FatSecret to Claude, Cursor, ChatGPT & more
