rwestergren avatar

Cronometer Api Mcp

rwestergren/cronometer-api-mcp

Connects to Cronometer's mobile REST API (the same endpoints the Android app uses) to expose nutrition tracking operations through MCP tools. You get diary reads with meal breakdowns, daily macro and micronutrient totals, nutrition confidence scores, food database search, and write operations like logging servings or creating custom foods. Also surfaces fasting history and macro target schedules. Built by reverse engineering the mobile API via static analysis and traffic interception, so it works with clean JSON payloads instead of the web app's GWT-RPC protocol. Useful when you want Claude to log meals, analyze nutrition patterns, or pull historical tracking data without switching to the Cronometer UI.

GitHub stars
70
tools
19
auth
Secret needed
transport
STDIO
env vars
4
last updated
Oct 13, 2026

Tools

19 tools

Public tool metadata for what this MCP can expose to an agent.

get_food_logDiary entries for a date, each enriched with food name, source, serving measure/count, and that food's per-entry nutrient contribution, plus an energy_summary (target/consumed/remaining kcal) and a nutrition_summary of consumed totals for every tracked nutrient

Diary entries for a date, each enriched with food name, source, serving measure/count, and that food's per-entry nutrient contribution, plus an energy_summary (target/consumed/remaining kcal) and a nutrition_summary of consumed totals for every tracked nutrient

No parameter schema in public metadata yet.

get_daily_nutritionConsumed macro and micronutrient totals for every nutrient tracked in Cronometer

Consumed macro and micronutrient totals for every nutrient tracked in Cronometer

No parameter schema in public metadata yet.

get_nutrition_scoresCategory scores (Vitamins, Minerals, etc.) with per-nutrient consumed amounts and confidence levels

Category scores (Vitamins, Minerals, etc.) with per-nutrient consumed amounts and confidence levels

No parameter schema in public metadata yet.

search_foodsSearch the Cronometer food database by name

Search the Cronometer food database by name

No parameter schema in public metadata yet.

get_food_detailsFull nutrition profile and serving sizes for a food

Full nutrition profile and serving sizes for a food

No parameter schema in public metadata yet.

add_food_entryLog a food serving to the diary

Log a food serving to the diary

No parameter schema in public metadata yet.

remove_food_entryRemove one or more diary entries

Remove one or more diary entries

No parameter schema in public metadata yet.

add_custom_foodCreate a custom food with specified nutrition and optional barcodes

Create a custom food with specified nutrition and optional barcodes

No parameter schema in public metadata yet.

update_custom_foodEdit a custom food in place: name, nutrition, serving size, or barcodes

Edit a custom food in place: name, nutrition, serving size, or barcodes

No parameter schema in public metadata yet.

delete_custom_foodRetire a custom food so it leaves search and the Custom Foods list (existing diary entries are kept)

Retire a custom food so it leaves search and the Custom Foods list (existing diary entries are kept)

No parameter schema in public metadata yet.

add_recipeCreate a recipe from existing foods referenced by ID and gram weight

Create a recipe from existing foods referenced by ID and gram weight

No parameter schema in public metadata yet.

import_recipeCreate a recipe from a free-text ingredient list; Cronometer matches each line to a database food and converts the amount to grams

Create a recipe from a free-text ingredient list; Cronometer matches each line to a database food and converts the amount to grams

No parameter schema in public metadata yet.

copy_dayCopy all entries from the previous day

Copy all entries from the previous day

No parameter schema in public metadata yet.

mark_day_completeMark a diary day as complete or incomplete

Mark a diary day as complete or incomplete

No parameter schema in public metadata yet.

get_macro_targetsWeekly macro schedule and saved target templates

Weekly macro schedule and saved target templates

No parameter schema in public metadata yet.

get_fasting_historyFasting history within a date range

Fasting history within a date range

No parameter schema in public metadata yet.

get_fasting_statsAggregate fasting statistics

Aggregate fasting statistics

No parameter schema in public metadata yet.

list_biometricsList trackable biometric metrics and their units

List trackable biometric metrics and their units

No parameter schema in public metadata yet.

get_biometricsBiometric time series (e.g. weight, body fat) within a date range

Biometric time series (e.g. weight, body fat) within a date range

No parameter schema in public metadata yet.

Sponsors

Configuration

CRONOMETER_USERNAME*

Your Cronometer account email

CRONOMETER_PASSWORD*secret

Your Cronometer account password

CRONOMETER_TOTP_SECRETsecret

Base32 key for accounts with two-factor authentication

CRONOMETER_ACCOUNT_TZ

Optional IANA timezone override, for example America/Los_Angeles

Readme

cronometer-api-mcp

License: MIT CI Build Docker image PyPI

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.


View the full README on GitHub

Details

Repository
github.com/rwestergren/cronometer-api-mcp
Package
cronometer-api-mcp
Transport
STDIO
Auth
Required
Registry
MCP registry, active

More from rwestergren