NutriScan MCP server in the Claude desktop app
Nutrition MCP for the Claude desktop app
Connect NutriScan to the Claude desktop app and ask about a meal in plain words, or paste the link to a meal photo or a nutrition label. Claude calls NutriScan and answers with calories, macros and the nutrients you ask about.
The test key is free and returns a sample result. Credit packs start at $49, with no subscription.
{
"mcpServers": {
"nutriscan": {
"command": "npx",
"args": ["-y", "mcp-remote", "https://platform-api.nutriscan.app/mcp", "--header", "Authorization:${NUTRISCAN_AUTH}"],
"env": { "NUTRISCAN_AUTH": "Bearer ns_test_..." }
}
}
}Goes in claude_desktop_config.json. Needs Node.js. Restart the app after you save.
What can you ask Claude about food with NutriScan connected?
What is in a meal you describe, a meal photo or a pack label, and how two options compare.
Ask about a meal you describe
Type what you ate, with amounts, and get calories, macros, micronutrients and a NutriScore grade with a one-line reason.
Read a nutrition label from a photo link
Paste the public https link to a photo of a pack's nutrition table and ask for sugar per serving or the salt in the whole pack.
Check a meal photo
Paste the link to a photo of a plate. NutriScan names the dish, lists each item with its portion and adds up the meal.
How do you set it up?
4 steps. You need a free test key and Node.js.
Every option in the MCP server docs, including curl.
Get a key and install Node.js
Sign in at platform.nutriscan.app for a free test key. The config below runs through npx, which comes with Node.js.
Open the config file
In the Claude desktop app, open Settings > Developer > Edit Config. This opens claude_desktop_config.json.
Add the server
Paste the block below, or add the
nutriscanentry to an existingmcpServersobject. Put your key afterBearer. The app's config takes local commands, so the mcp-remote bridge forwards to the remote server.{ "mcpServers": { "nutriscan": { "command": "npx", "args": ["-y", "mcp-remote", "https://platform-api.nutriscan.app/mcp", "--header", "Authorization:${NUTRISCAN_AUTH}"], "env": { "NUTRISCAN_AUTH": "Bearer ns_test_..." } } } }Restart the app
Quit the app and open it again so it reads the new config.
How do you check that it works?
After the restart, the NutriScan tools appear in the chat's tools menu: analyze_meal, get_scan and get_usage.
Ask "How many NutriScan credits do I have left?" for a free first call. A test key answers every scan with the same sample, grilled chicken with rice and salad at 515 kcal. For answers about your own meals, put a live key in NUTRISCAN_AUTH.
Example prompts
Write them as you would to a colleague. The agent picks the tool.
"What are the macros in a chicken burrito bowl with rice and beans?"
A text scan. Claude passes your words to analyze_meal.
"Read this nutrition label and tell me the sugar per serving: https://example.com/label.jpg"
A label scan from a public photo link.
"Compare a butter croissant with a Laugenbrezel for breakfast. Answer in French."
Claude can run two text scans with language set to fr.
"Analyze this meal photo: https://example.com/lunch.jpg"
A meal scan. The link has to be public and https.
Troubleshooting
The error codes are listed on errors.
The tools never show up
The app could not start npx, or the file is not valid JSON. Install Node.js, check the file, then quit and reopen the app.
Calls fail with 401 or invalid_api_key
NUTRISCAN_AUTH has to hold the word Bearer, a space and the key, as in the example. The header argument has no space after the colon because the space is already in the value.
The connector screen does not accept the server
Adding the server by URL on the connector screen is not supported yet, because that screen cannot send your API key in a header. Use the config file.
What does it cost?
The same credits as the REST API, and nothing for the MCP server itself.
There is no MCP fee and no seat. A scan with a live key costs the same credits as the REST API, about 65 for a typical plate, so asking about 10 meals uses about 650 credits, about $0.65. Credit checks and earlier scans are free, and a test key is free. The key sits in your config file, so do not share that file, and revoke the key in the console if it leaks.
Common questions
Every tool argument and error is in the MCP server docs.
Does NutriScan work in claude.ai or the Claude mobile apps?
Not yet. Those add servers through the connector screen, which cannot send a custom header. The desktop app works through its config file.
Why do I need Node.js?
The desktop app's config starts local commands. The mcp-remote bridge runs through npx, which comes with Node.js, and forwards each call to the NutriScan server.
Can I drag a photo into the chat and have NutriScan read it?
No. NutriScan reads photos from a public https link. Upload the photo somewhere public and paste the link.
Ask Claude about your next meal
Sign in with your email for a test key, add NutriScan to the config file, and switch to a live key for real answers.
- Test key at sign-up
- Packs from $49
- No subscription
- Credits never expire

