What it does
Unofficial, self-hosted MCP server for logging food to a FatSecret diary through Claude or ChatGPT.
- Connects Runs on your computer
- Account or key Needs FATSECRET_CONSUMER_KEY, FATSECRET_CONSUMER_SECRET, FATSECRET_MCP_SIGNING_KEY, FATSECRET_MCP_USERS
- Category Games, sports, food & learning
Why it ranks here
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 10/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 22/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Install
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install Fatsecret MCP. Follow https://mcp.popnx.com/i/jaronskijakub-fatsecret-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
You need a Fatsecret MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Let AI install it
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Fatsecret MCP for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "fatsecret": { "command": "uvx", "args": [ "fatsecret-mcp" ], "env": { "FATSECRET_CONSUMER_KEY": "your-value", "FATSECRET_CONSUMER_SECRET": "your-value", "FATSECRET_MCP_SIGNING_KEY": "your-value", "FATSECRET_MCP_USERS": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For FATSECRET_CONSUMER_KEY, FATSECRET_CONSUMER_SECRET, FATSECRET_MCP_SIGNING_KEY, FATSECRET_MCP_USERS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Fatsecret MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install uv (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
uv --version- A version number such as uv … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Sign up and create a Fatsecret MCP key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Open the Claude desktop app’s settings file
SettingsDeveloperEdit Config
Paste these settings and save the file
{ "mcpServers": { "fatsecret": { "command": "uvx", "args": [ "fatsecret-mcp" ], "env": { "FATSECRET_CONSUMER_KEY": "your-value", "FATSECRET_CONSUMER_SECRET": "your-value", "FATSECRET_MCP_SIGNING_KEY": "your-value", "FATSECRET_MCP_USERS": "your-value" } } } }Paste the key only into the app’s field, never into a chat or to anyone
Quit Claude and open it again
Try it
Use Fatsecret MCP and tell me what you can do for me, then show me one thing✓ If Claude says it is using Fatsecret MCP or shows a Fatsecret MCP tool in the answer, you are connected
1 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
FATSECRET_MCP_USERWith more than one person in FATSECRET_MCP_USERS: the id the server acts as.
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect Fatsecret MCP yet
Fatsecret MCP runs on your computer, but ChatGPT can only connect servers that run on the web
What you can do instead
A · Use an app that can connect Fatsecret MCP
- You need a Fatsecret MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
- You need a Fatsecret MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
- You need a Fatsecret MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
- You need a Fatsecret MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
B · Others in Games, sports, food & learning that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
- ShipSwift✓ ChatGPT
- Anime Garden✓ ChatGPT
- Summer Engine✓ ChatGPT
Works with Claude Code, with some setup first
You need a Fatsecret MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
Let AI install it
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Fatsecret MCP for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user fatsecret --env FATSECRET_CONSUMER_KEY=your-value --env FATSECRET_CONSUMER_SECRET=your-value --env FATSECRET_MCP_SIGNING_KEY=your-value --env FATSECRET_MCP_USERS=your-value -- uvx fatsecret-mcp 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For FATSECRET_CONSUMER_KEY, FATSECRET_CONSUMER_SECRET, FATSECRET_MCP_SIGNING_KEY, FATSECRET_MCP_USERS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Fatsecret MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install uv (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
uv --version- A version number such as uv … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Sign up and create a Fatsecret MCP key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Open Terminal
Mac: press Command+Space and type Terminal · Windows: open PowerShell
Paste this command and press Enter
claude mcp add --scope user fatsecret --env FATSECRET_CONSUMER_KEY=your-value --env FATSECRET_CONSUMER_SECRET=your-value --env FATSECRET_MCP_SIGNING_KEY=your-value --env FATSECRET_MCP_USERS=your-value -- uvx fatsecret-mcpReplace “your-value” with your key before pressing Enter
Paste the key only into the app’s field, never into a chat or to anyone
Type /mcp in Claude Code
You should see Fatsecret MCP listed as connected
Try it
Use Fatsecret MCP and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using Fatsecret MCP or shows a Fatsecret MCP tool in the answer, you are connected
1 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
FATSECRET_MCP_USERWith more than one person in FATSECRET_MCP_USERS: the id the server acts as.
Descriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
You need a Fatsecret MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
Let AI install it
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Fatsecret MCP for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "fatsecret": { "command": "uvx", "args": [ "fatsecret-mcp" ], "env": { "FATSECRET_CONSUMER_KEY": "your-value", "FATSECRET_CONSUMER_SECRET": "your-value", "FATSECRET_MCP_SIGNING_KEY": "your-value", "FATSECRET_MCP_USERS": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For FATSECRET_CONSUMER_KEY, FATSECRET_CONSUMER_SECRET, FATSECRET_MCP_SIGNING_KEY, FATSECRET_MCP_USERS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Fatsecret MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install uv (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
uv --version- A version number such as uv … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Sign up and create a Fatsecret MCP key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Fill in your key
In the Fatsecret MCP settings, FATSECRET_CONSUMER_KEY, FATSECRET_CONSUMER_SECRET, FATSECRET_MCP_SIGNING_KEY, FATSECRET_MCP_USERS is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Open the AI chat in Cursor in Agent mode
Try it
Use Fatsecret MCP and tell me what you can do for me, then show me one thing✓ If Cursor says it is using Fatsecret MCP or shows a Fatsecret MCP tool in the answer, you are connected
1 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
FATSECRET_MCP_USERWith more than one person in FATSECRET_MCP_USERS: the id the server acts as.
Descriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
You need a Fatsecret MCP key (create it on the maker’s site) · Install Python (uv) on your computer first (one time)
Let AI install it
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server Fatsecret MCP for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "fatsecret": { "type": "stdio", "command": "uvx", "args": [ "fatsecret-mcp" ], "env": { "FATSECRET_CONSUMER_KEY": "your-value", "FATSECRET_CONSUMER_SECRET": "your-value", "FATSECRET_MCP_SIGNING_KEY": "your-value", "FATSECRET_MCP_USERS": "your-value" } } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) For FATSECRET_CONSUMER_KEY, FATSECRET_CONSUMER_SECRET, FATSECRET_MCP_SIGNING_KEY, FATSECRET_MCP_USERS, leave "your-value" in place and tell me to paste the real value myself into the file or the app’s field. Never ask me to type a key in chat. 5) Do what we agreed, then check that the Fatsecret MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Install uv (if you don’t have it)
Already installed? Check first · Open Terminal, type this command and press Enter
uv --version- A version number such as uv … = installed, skip this step
- "command not found" (on Windows: "is not recognized") = not installed yet, or installed but Terminal needs to be closed and reopened
How to open Terminal
Mac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number:
uv --versionInstall once; it works for everything that needs uv
Sign up and create a Fatsecret MCP key
Open the maker’s site, sign up and create an API key for the next step. Check the maker’s site for pricing and free plans.
How to get a key is in the maker’s README below
Fill in your key
In the Fatsecret MCP settings, FATSECRET_CONSUMER_KEY, FATSECRET_CONSUMER_SECRET, FATSECRET_MCP_SIGNING_KEY, FATSECRET_MCP_USERS is empty; add your key and save
Paste the key only into the app’s field, never into a chat or to anyone
Open the AI chat in VS Code in Agent mode
Try it
Use Fatsecret MCP and tell me what you can do for me, then show me one thing✓ If VS Code says it is using Fatsecret MCP or shows a Fatsecret MCP tool in the answer, you are connected
1 optional setting(s) (works without them)
The command above works without these. Add them only if you want to change something, following the maker’s description.
FATSECRET_MCP_USERWith more than one person in FATSECRET_MCP_USERS: the id the server acts as.
Descriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
For developers: Terminal commands and JSON settings
Installed on your computer
Claude Code
claude mcp add --scope user fatsecret --env FATSECRET_CONSUMER_KEY=your-value --env FATSECRET_CONSUMER_SECRET=your-value --env FATSECRET_MCP_SIGNING_KEY=your-value --env FATSECRET_MCP_USERS=your-value -- uvx fatsecret-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"fatsecret": {
"command": "uvx",
"args": [
"fatsecret-mcp"
],
"env": {
"FATSECRET_CONSUMER_KEY": "your-value",
"FATSECRET_CONSUMER_SECRET": "your-value",
"FATSECRET_MCP_SIGNING_KEY": "your-value",
"FATSECRET_MCP_USERS": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"fatsecret": {
"command": "uvx",
"args": [
"fatsecret-mcp"
],
"env": {
"FATSECRET_CONSUMER_KEY": "your-value",
"FATSECRET_CONSUMER_SECRET": "your-value",
"FATSECRET_MCP_SIGNING_KEY": "your-value",
"FATSECRET_MCP_USERS": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"fatsecret": {
"type": "stdio",
"command": "uvx",
"args": [
"fatsecret-mcp"
],
"env": {
"FATSECRET_CONSUMER_KEY": "your-value",
"FATSECRET_CONSUMER_SECRET": "your-value",
"FATSECRET_MCP_SIGNING_KEY": "your-value",
"FATSECRET_MCP_USERS": "your-value"
}
}
}
}Values you fill in
FATSECRET_CONSUMER_KEYsecret required envYour FatSecret Platform API consumer key.FATSECRET_CONSUMER_SECRETsecret required envYour FatSecret Platform API consumer secret.FATSECRET_MCP_SIGNING_KEYsecret required envA random key of at least 32 characters that signs drafts. Keep it across restarts.FATSECRET_MCP_USERSsecret required envEveryone the server serves, as one JSON line written by `fatsecret-mcp add-user`.FATSECRET_MCP_USERenvWith more than one person in FATSECRET_MCP_USERS: the id the server acts as.
Descriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
At a glance
Which apps can use it
Based on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Related guides
What it can do
Runs on your computer; the tool list appears in your AI app after you install it.
Basic checksi
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
- ✓ Pass
Maker matches the repo
The registry name was verified with the GitHub account jaronskijakub, which owns the repo
- ✓ Pass
Still maintained
Code last changed 2 days ago
- ✓ Pass
Has a licence
Uses MIT
- – Not applicable
Endpoint responds
This one runs on your computer; there is no internet endpoint
- – Not applicable
Sign-in with OAuth
Runs on your computer and uses local settings instead
- … Not checked yet
No hidden instructions in tool descriptions
Runs on your computer; we can only read tool lists from internet endpoints
Published vulnerabilities (OSV.dev)
No entries on OSV.dev for fatsecret-mcp@0.3.0
Checks only this package version, not every dependency · checked Nov 15, 2026
Makers: ask for a re-check or report wrong info
For makers: add a badge to your README
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/jaronskijakub-fatsecret-mcp)Discussion
Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
User reviews
No reviews yet
Compared with others in Games, sports, food & learningi
- More stars than 95% of the other 1619 servers in this category
- Published to the registry more recently than 55% of the other 1619 servers in this category
- Basic checks equal to or better than 99% of the other 1619 servers in this category
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
Common questions
Is Fatsecret MCP safe?
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
What keys or codes does it need?
You need to fill in: FATSECRET_CONSUMER_KEY, FATSECRET_CONSUMER_SECRET, FATSECRET_MCP_SIGNING_KEY, FATSECRET_MCP_USERS
Does it run on my computer or in the cloud?
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
Is it still maintained?
The GitHub repo last changed 2 days ago, and the latest version (0.3.0) reached the registry 21 days ago.
Which apps can use it?
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
What can I use instead?
In the same category: Anime Garden, WilmAI, Lumify Sports Intelligence, Savecraft, GoodWatch
Similar alternatives
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
WilmAI
Finland's Wilma school system for parents and students: schedule, homework, exams and messages.
Lumify Sports Intelligence
Schedules, scores, odds, splits & explainable AI bet confidence — 8+ sports, free instant key.
Savecraft
Savecraft serves real save game data and expert game knowledge to AI assistants.
GoodWatch
Find movies and TV shows, track watches, and get suggestions based on your taste.
| This one Fatsecret MCP | Anime Garden | WilmAI | Lumify Sports Intelligence | Savecraft | GoodWatch | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Runs in the cloud, nothing to install | Installs on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | Yes | No | No | Yes | No | No |
| Add with + in Claude | No | No | No | No | No | No |
| Basic checks | 3/3 | 4/4 | 3/3 | 4/4 | 3/4 | 4/4 |
| License | MIT | AGPL-3.0 | MIT | MIT | Apache-2.0 | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
README from the maker
Open the README
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
fatsecret-mcp
Log food to your FatSecret diary by talking to Claude or ChatGPT on your phone. You see a draft first, and nothing is saved until you say yes.
https://github.com/user-attachments/assets/44dfd991-5434-47ad-8b84-bcad24415a1f
A photo of dinner, the draft Claude proposes, a "yes", the day so far, and the new entry in the FatSecret app.
fatsecret-mcp is a self-hosted MCP server. It connects Claude, or ChatGPT when the Operator turns it on, to your own FatSecret food diary, the one you see in the FatSecret app. Claude can read a day or a few weeks of it against your daily calorie and macro targets. It can find foods in the FatSecret catalog and draft entries from a description or a photo. Each draft shows the amounts, calories, macros, a suggested meal and how your day looks after adding it. When a packaged product isn't in the catalog, a photo of its nutrition label is enough. A wrong entry can be fixed or removed the same way, through a draft.
One server serves a household: a few people, each signed in with their own FatSecret account. There's no public instance, so you run your own.
This project is unofficial. It is not affiliated with or endorsed by FatSecret, Anthropic or OpenAI, and it is not medical or dietary advice.
Powered by fatsecret Platform API
What you can ask
The server gives Claude five tools. You never call them yourself; you just talk.
search_foods
Finds foods in the catalog with servings that can be logged.
You: How many calories are in a cup of cooked jasmine rice?
Claude: FatSecret has "Jasmine Rice (cooked)": 1 cup (158 g) is 205 kcal, 4.3 g protein, 0.4 g fat, 44.5 g carbohydrate.
draft_entries
Proposes entries without writing anything.
You: *(photo of a plate)* Log this as lunch.
Claude: Here's the draft for lunch today:
- Beef bibimbap, 480 g (1 bowl): 640 kcal, 32 g protein, 21 g fat, 80 g carbohydrate
I assumed one restaurant-sized bowl. After adding it you'll be at 1,420 of 2,200 kcal and 78 of 140 g protein. Save it?
A portion of known weight, such as a bowl or a roll, is saved in grams when the food can be measured in grams, so the FatSecret app shows the same amount as the draft.
confirm_draft
Writes the draft you approved.
You: Yes.
Claude: Saved. Beef bibimbap is in your FatSecret diary under lunch.
get_diary_day
Reads one day with its totals and what's left of your targets.
You: How much is left today?
Claude: You've had 1,420 kcal. 780 kcal are left, along with 62 g protein, 18 g fat and 95 g carbohydrate.
get_period_summary
Reads daily totals for up to 31 days.
You: How did my week go compared with the week before?
Claude: This week you averaged 2,050 kcal and 128 g protein a day; last week 2,240 kcal and 117 g protein. You went over your calorie target on two days this week, and on four the week before.
The numbers above are illustrative.
How a meal gets logged
sequenceDiagram
actor U as You (Claude app) participant C as Claude participant S as fatsecret-mcp participant F as FatSecret API U->>C: photo + "log this as lunch" C->>S: search_foods S->>F: foods.search, food.get C->>S: draft_entries S-->>C: draft (amounts, kcal, macros, meal, the day after adding) C-->>U: shows the draft U->>C: "yes" C->>S: confirm_draft(draft_id) S->>F: food_entry.create, one per item S-->>C: saved entries
The draft is signed by the server and expires after thirty minutes. It can only be confirmed by the person it was made for. In Claude's connector settings, keep confirm_draft on "Needs approval" so that every write asks you first.
Products the catalog doesn't have
A free FatSecret API key reaches only the US catalog, in English. Most local and branded products aren't in it. For those, Claude asks for a photo of the nutrition label, or you type its values. The server logs the product as a stand-in: the closest catalog food, in the amount whose calories match the label, under the product's own name.
flowchart TD
S[Claude searches the catalog] --> Q{Found?} Q -- yes --> E[Normal food entry] Q -- no --> P["You send a photo of the label or type its values"] P --> V[Claude reads the calories and macros] V --> M["The server picks the closest catalog food and sets the amount so calories match"] M --> N[Entry saved under the product's own name]
Calories match the label exactly, but macros are only close, and sometimes noticeably off. This comes from translating a product outside the US catalog into a US one. A diary entry can't carry its own calories or macros; it only points at a catalog food and takes that food's values. A free key can't create foods, so the server picks the US food whose macros are nearest to the label. Your product's exact macros usually exist nowhere in the US catalog, so there's nothing closer to pick. The draft shows the label's values, the logged ones and the difference before you confirm, and opening the entry's details in the FatSecret app shows the catalog food underneath.
The server rejects a label whose calories don't roughly agree with its macros, which catches a misread photo or kJ taken for kcal. It doesn't remember stand-ins: next time, Claude reuses the label from the conversation or asks again. Repeating a stand-in from your diary keeps its name and its approximate macros.
If you log a product often, adding it once in the FatSecret app gives you exact values there. After that, Claude can repeat it from your diary.
Repeat an earlier meal
You: The same as yesterday's breakfast.
Claude: Yesterday's breakfast was:
- Rolled oats, 80 g: 300 kcal
- 2% milk, 250 ml: 125 kcal
- Greek yoghurt, 150 g: 90 kcal
Was it all the same today, or should I leave something out or change an amount?
You: Without the yoghurt, and half the milk.
Claude: Here's the draft, repeated from yesterday: rolled oats, 80 g, and 2% milk, 125 ml, 362 kcal in all. Should it go under breakfast today? Then I'll save it.
Claude reads the earlier day and drafts the entries you keep, without searching the catalog. The server copies each entry's food, serving, name and nutrition from your diary and scales them when you change an amount, always shown in grams or ml. It also works for products the catalog can't return, such as ones you added in the FatSecret app, and for stand-ins, which keep the product's name and don't need the label again. An amount that wasn't logged in grams or ml, such as "2 slices", is looked up once to show it in grams; when no weight is known, the entry is repeated as it was.
Fix or undo an entry
You: *(right after saving)* Undo that.
Claude: Here's the draft: remove beef bibimbap, 480 g, 640 kcal, from today's lunch. You'd be back at 780 of 2,200 kcal. A removed entry can't be restored, only logged again. Remove it?
You: Actually, keep it, it was just 300 g.
Claude: Here's the new draft: beef bibimbap, 480 g → 300 g, 640 → 400 kcal, still under lunch. Save the change?
A draft can also change entries already in your diary, including ones you logged in the FatSecret app: a new amount in grams or ml, another meal on the same day, or a new name. It can remove them too. Each change shows the entry before and after, and how each day looks afterwards. Nothing changes until you say yes. For "undo that", Claude removes the entries the last save wrote. For anything else, it reads the day first and asks when it's unclear which entry you mean.
FatSecret can't move an entry to another food or another day. So "it was chicken thigh, not breast" or "that was yesterday" becomes one draft that adds the right entry and removes the wrong one. The new entry is saved first, so if something fails halfway you see a duplicate rather than a gap. Changes reach back up to a year.
The FatSecret app in another language may open a US catalog entry without the serving it was saved in: an entry of "1 roll" can open as "1 gram". Saving it there may change the entry. Change such entries through Claude, or check the amount before saving in the app.
What it doesn't do
- It can't look up barcodes, regional catalogs such as a Polish one, or custom foods. A free key reaches only the US catalog, so Claude searches it in English. Entries are still saved under the name you used, in your language, with a short note that the food was matched in the US catalog, such as "Kajzerka (katalog USA)"; the draft shows the catalog's name beside it.
- It doesn't track weight, exercise or recipes, only food entries.
- It doesn't serve strangers. There's no public server, and each server has a fixed list of people.
Run your own
A household server has one Operator, the person who deploys it and adds everyone else. Each person in the household signs in to FatSecret once through the Operator, then adds the server to their own Claude account as a custom connector, or to ChatGPT when the Operator turns it on.
flowchart LR
A["Anna's phone (Claude)"] --> CL[Claude connector] J["Jan's phone (Claude)"] --> CL CL -->|"each signs in with their own ID and password"| S[fatsecret-mcp on your server] O[Operator] -->|"add-user, check"| S S -->|"one FatSecret token per person"| F[FatSecret API] F --> D[("each person's own diary, the same as in the FatSecret app")]
You need:
- your own FatSecret Platform API key. Register at platform.fatsecret.com; the free Basic plan is enough. Using it means accepting FatSecret's API terms. This project ships no keys;
- a container host with HTTPS for the server, such as Railway;
- a Claude or ChatGPT account for each person, with custom connectors available on their plan.
The short path:
- Create a
.envwith your FatSecret key and a signing key, then runuvx --env-file .env fatsecret-mcp add-useronce per person (setup). - Deploy the image
ghcr.io/jaronskijakub/fatsecret-mcpwith those values (deploy). - In Claude, add
https:// /mcpas a custom connector and sign in (connector).
To try it on your own computer first, run it over stdio with Claude Code; [setup](https://g