Cronometer API MCP server
MCP server for Cronometer nutrition tracking — food logs, diary, macros, fasting
65 stars965 downloads/wk
Reviews
Write oneNobody has reviewed Cronometer API yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Cronometer API tools (19, 6 write)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
add_custom_foodwrite actionCreate a custom food in Cronometer with specified nutrition.
add_food_entryAdd a food entry to the Cronometer diary.
add_recipewrite actionCreate a recipe in Cronometer from other foods in the database.
copy_dayCopy all diary entries from the previous day to the given date.
delete_custom_foodwrite actionDelete a custom food (one you created) by retiring it.
get_biometricsGet a biometric time series such as weight or body fat from Cronometer.
get_daily_nutritionGet consumed macro and micronutrient totals for one or more days.
get_fasting_historyGet fasting history from Cronometer.
get_fasting_statsGet aggregate fasting statistics.
get_food_detailsGet detailed food information including nutrition and serving sizes.
get_food_logGet diary entries for one day or the last N calendar days.
get_macro_targetsGet current macro targets including weekly schedule and templates.
get_nutrition_scoresGet nutrition scores with per-nutrient consumed amounts and category grades.
import_recipewrite actionCreate a recipe from a free-text ingredient list.
list_biometricsList the biometric metrics tracked in Cronometer.
mark_day_completeMark a diary day as complete or incomplete.
remove_food_entrywrite actionRemove one or more food entries from the Cronometer diary.
search_foodsSearch Cronometer's food database by name.
update_custom_foodwrite actionEdit an existing custom food (one you created) in place.
Public scan report
scanner v0.1.10 · 2026-10-15 · same rubric, same numbers if you re-run it
- Code scan6 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 2 days ago15/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Cronometer API compares
Against every graded MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 83/100
- higher than 65% of 48,243 servers
- Tools
- 19
- the typical server has 7
- Tools that change things
- 32%
- typical: 0%. Fewer write tools means less an agent can break
- GitHub stars
- 65
- more than 95% of 28,706 servers
- Downloads a week
- 965
- more than 95% of 12,306 servers with a package
What its tools let an agent do: 11 read · 4 create · 2 change · 2 delete
Release history: 4 versions in the registry since 2026-09-07, latest 2026-10-13, typically one every 14 days.
Install Cronometer API in Claude Code, Cursor or VS Code
claude mcp add cronometer-api-mcp -- uvx cronometer-api-mcp
What the publisher says
From the Cronometer API repository's README, as published. We do not edit it. Read it on GitHub
cronometer-api-mcp
<!-- mcp-name: io.github.rwestergren/cronometer-api-mcp -->
Hosted version for Claude.ai, ChatGPT, and Grok coming soon. Join the waitlist →
An MCP (Model Context Protocol) server for Cronometer nutrition tracking, built on the reverse-engineered mobile REST API.
Unlike cronometer-mcp, which takes a comprehensive GWT-RPC approach against Cronometer's web backend, this server talks to the same JSON REST API used by the Cronometer Android app -- with clean payloads and stable, versioned endpoints.
Features
- Food log -- diary entries with food names, amounts, meal groups
- Nutrition data -- daily macro/micro totals and nutrition scores with per-nutrient confidence
- Food search -- search the Cronometer food database, get detailed nutrition info
- Diary management -- add/remove entries, copy days, mark days complete
- Custom foods -- create foods with custom nutrition data
- Macro targets -- read weekly schedule and saved templates
- Fasting -- view history and aggregate statistics
- Biometrics -- weight, body fat, heart rate, and other tracked metrics over a date range
Quick Start
1. Install uv
curl -LsSf https://astral.sh/uv/install.sh | sh2. Set credentials
export CRONOMETER_USERNAME="your@email.com"
export CRONOMETER_PASSWORD="your-password"Optional: two-factor authentication
If the account has two-factor authentication enabled, /api/v2/login answers TOTPCODEREQUIRED unless the request carries the current 6-digit code. Give the server the base32 key that Cronometer showed when 2FA was set up (the same key you scanned into your authenticator app) and it derives the code itself at every login (RFC 6238, SHA-1, 30 s period):
export CRONOMETER_TOTP_SECRET="ABCD EFGH IJKL MNOP QRST UVWX YZ23 4567"Spaces and lowercase are fine. Leave it unset for accounts without 2FA.
Optional: override the account timezone
Diary entries are stamped in your Cronometer account's timezone, which the server reports at login. If that zone is wrong (for example, an older build had reset it) you can force a specific IANA zone without changing your account settings:
export CRONOMETER_ACCOUNT_TZ="America/Los_Angeles"When set, this takes precedence over both the value reported at login and any cached session, so it also overrides a stale cached timezone.
3. Configure your MCP client
uvx downloads and runs the server on demand -- no separate install step.
OpenCode (opencode.json)
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"cronometer": {
"type": "local",
"command": ["uvx", "cronometer-api-mcp"],
"environment": {
"CRONOMETER_USERNAME": "{env:CRONOMETER_USERNAME}",
"CRONOMETER_PASSWORD": "{env:CRONOMETER_PASSWORD}",
"CRONOMETER_TOTP_SECRET": "{env:CRONOMETER_TOTP_SECRET}",
"CRONOMETER_ACCOUNT_TZ": "{env:CRONOMETER_ACCOUNT_TZ}"
},
"enabled": true
}
}
}Claude Desktop (claudedesktopconfig.json)
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Cronometer API: common questions
- Is Cronometer API MCP server safe?
- Mostly: it is graded B (83/100). Read the Cronometer API safety report
- How do I install Cronometer API?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Cronometer API need an API key?
- Yes. The registry entry asks for
CRONOMETER_PASSWORD,CRONOMETER_TOTP_SECRET. - Is Cronometer API maintained?
- The last commit was 23 days ago (2026-10-13). The latest release is v0.2.6.
- How does Cronometer API compare with other MCP servers?
- safety score 83/100 (higher than 65% of 48,243 servers); tools 19 (the typical server has 7); tools that change things 32% (typical: 0%. Fewer write tools means less an agent can break). Full comparison.