• SEARCH
  • DETAILS
  • LOG
  • HUMAN

How to lookup food nutrition data with your AI

Connect FatSecret to your AI client to pull instant nutritional facts. Once connected, you can ask for specific calorie and macro counts for almost any food item.

Ask AI about this page

Short answer

How can I find nutrition info for a specific food?

Your AI searches the FatSecret database to find calorie and macronutrient data for branded or generic foods. You'll get exact counts for carbs, fats, and proteins. Here is how the process works.

Nutritional data outcomes

What you get from your AI

The AI handles the database heavy lifting so you don't have to manually search nutrition sites.

SEARCH

Find food items

The AI scans the FatSecret database to identify the exact branded or generic food you're looking for.

DETAILS

Get macro counts

Once an item is found, the AI pulls the specific calories, protein, fat, and carb numbers.

LOG

Track your intake

You can have the AI format this data into a list or a table for your personal food logs.

HUMAN

Verify the source

You should always check the specific food entry returned to ensure it matches the exact brand or portion you ate.

The workflow

What your AI does when the request arrives.

The AI uses specific tools to pull data from FatSecret and present it to you.

  1. Identify the food

    The AI looks through the FatSecret database to find a match for the food name you provided.

    search_fatsecret_foods
  2. Retrieve nutrition facts

    After finding the right item, the AI grabs the specific calorie and macronutrient breakdown.

    get_fatsecret_food_details
  3. Format the data

    The AI organizes the numbers into a readable format like a list or a table.

    get_fatsecret_food_details
  4. Answer your question

    The AI presents the final nutritional information directly in your chat interface.

    get_fatsecret_food_details

Try it

Copy these to start.

Use these prompts to get nutrition data immediately.

Starting points

Swap out the food names in these examples for whatever you actually ate.

FatSecret Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_ltoVus2qK1BQ5r7C33cCY2nztaYw2SE4eC1Hkl37/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — FatSecret capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "fatsecret-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_ltoVus2qK1BQ5r7C33cCY2nztaYw2SE4eC1Hkl37/mcp"
    }
  }
}
Copy into chat04
  • How many calories and grams of protein are in a Chobani Greek Yogurt?

  • Find the nutrition facts for a medium banana.

  • What is the macro breakdown for a serving of Ben & Jerry's Half Baked ice cream?

  • Search for the nutritional info of generic white rice.

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect FatSecret once, then ask.

Just link your account once. Your login credentials stay encrypted, and you can start asking for food data in any compatible client.

Connect FatSecret to your AI

FAQ

How this task behaves.

  • 01

    Can the AI add this food to my fitness app?

    No. The AI can only retrieve data from FatSecret. You have to manually enter the numbers into your tracking app.

  • 02

    Does it work for homemade recipes?

    It works for generic food items found in the database, but it cannot calculate nutrition for a custom recipe unless those specific ingredients are searched individually.

  • 03

    Can the AI change my FatSecret account settings?

    No. The tools only allow the AI to search for foods and get their details. It cannot modify your profile or settings.

  • 04

    How accurate is the data?

    The AI provides the exact data stored in the FatSecret database. It doesn't estimate; it reports what is in the database.

  • 05

    Can I ask for a list of all foods in the database?

    No. The AI can only search for specific items or groups of items you ask for.

  • More questions about FatSecret? See everything the FatSecret Connector can do

Connect FatSecret to Claude, Cursor, ChatGPT & more