Calorie MCP

A calorie MCP is a Model Context Protocol server that looks up calories and macros for Claude Code and Cursor. The catalog covers 4M+ foods. Personal use is $29 a month or $228 a year. The numbers come from the catalog, not from the model guessing.

Hosted MCP Server

npx add-mcp 'https://calorieapiadmin.com/mcp'

Installs into Claude Code, Codex, Cursor and more

Documentation

Healthy plant-based meals representing nutrition and food data for the Calorie API

A nutrition MCP server lets Claude Code and Cursor look up calories and macros instead of guessing. Personal use is $29 a month or $228 a year. The catalog covers 4M+ foods. Browser sign-in for Claude apps is off until OAuth is enabled.

Start 7-day trial

https://calorieapiadmin.com/mcp

How to connect a nutrition MCP server

1

Start the nutrition MCP trial

A card is required. The API key is shown once in the dashboard.

2

Connect Claude Code or Cursor

Paste the server URL and the X-API-Key header into Claude Code or Cursor.

3

Track calories in the chat

Ask for a food and a weight. The assistant calls the tools. You do not write the request.

Connect Claude Code and Cursor

Paste this nutrition MCP server config into Claude Code or Cursor. Replace YOUR_KEY after checkout.

claude mcp add --transport http calorie-api https://calorieapiadmin.com/mcp --header "X-API-Key: YOUR_KEY"

Replace YOUR_KEY with a key from the dashboard. It is shown in full only when you create it.

Nutrition MCP server tools

Eight calls. The docs list every argument.

Search foods

Name a food. Get calories and a food_id.

Food photo calories

You pass image_base64. The chat does not attach it.

Portion calculator

Scale that food to the grams you ate.

Recipe macros

Total the ingredients, then split per serving.

Barcode lookup

UPC or EAN. A fallback if the catalog misses.

Daily calorie target

Calories from age, weight, and goal.

Track calories with Claude from a catalog lookup

  1. You How many calories and how much protein are in 180 g of cooked chicken breast?
  2. search_foods Cooked chicken breast, per 100 g.
    { "kcal": 165, "protein_g": 31 } per 100 g
    
  3. calculate_portion Same food, scaled to 180 g.
    { "kcal": 297, "protein_g": 55.8 }
    

Estimate calories from a food photo.

Dropping a picture into the chat does not send it. Pass raw base64, no data: prefix. JPEG, PNG, or WebP, up to 2 MB.

analyze_food_photo

{
  "image_base64": "<raw base64>",
  "content_type": "image/jpeg"
}

Limits

Nutrition MCP server limits

7-day trial

After the trial

  • 20 calls per minute
  • 10,000 calls a month
  • 25 foods per search
  • 150 photos a month, 20 a day

An app or a resale needs a REST plan.

Nutrition MCP server questions

What is a nutrition MCP server?

A nutrition MCP server is a Model Context Protocol endpoint that looks up foods, portions, recipes, barcodes, daily calorie targets, and food photos. Claude Code and Cursor call it with an API key. The numbers come from the catalog, not from the model guessing.

How do I connect a nutrition MCP server to Claude Code or Cursor?

Start the trial, create an API key in the dashboard, and add the server URL with an X-API-Key header. Claude.ai, Claude Desktop, and Claude mobile use browser sign-in only after OAuth is enabled on the API.

Can I track calories with Claude AI?

Yes. Ask for a food and a gram weight. The assistant calls search_foods, then calculate_portion on the food_id that search returned. The server does not store a food diary. You keep the log.

How do I estimate calories from a food photo?

Call analyze_food_photo with image_base64. JPEG, PNG, or WebP, up to 2 MB, with no data: prefix. Pasting a picture into the chat does not attach the file. A URL is not accepted.

How much does a nutrition MCP server cost?

Personal use is $29 a month, or $228 a year, which is $19 a month and $120 off the monthly price. The 7-day trial requires a card. Paid limits are 20 calls a minute, 10,000 calls a month, 25 foods per search, and 150 photos a month.

Does the nutrition MCP plan include the REST API?

No. REST search, foods, calc, and vision return 403. Account and billing pages still work. An app that needs HTTP endpoints needs a REST plan.

Is a nutrition MCP server a MyFitnessPal alternative?

It can replace the lookup: you log food in Claude instead of in a tracking app. It does not scan with a camera, store history, or chart the week. Those stay in a file or app you already use.

Can I use a nutrition MCP server in a commercial app?

No. This plan is personal use. A commercial header is rejected. Reselling the data, or putting it in a product other people pay for, needs a REST plan and a commercial license.

Start a nutrition MCP server trial

$29/month or $19/month. $120 USD Off. Card required.