cphoskins avatar

Cronometer

cphoskins/cronometer-mcp

A solid bridge to Cronometer's nutrition tracking if you have a paid account. It wraps the internal GWT-RPC protocol the web app uses to expose 20+ tools for reading food logs with full macro and micronutrient breakdowns, adding and removing diary entries, managing recurring foods, setting macro targets, tracking fasts, and logging biometrics like weight and blood glucose. The sync tool dumps JSON exports and generates a markdown food log to disk. Comes with hardcoded GWT magic values that may need updating when Cronometer deploys, but the README shows you how to sniff new ones from browser DevTools. Useful if you want Claude to analyze your nutrition data or automate logging without opening the app.

GitHub stars
28
tools
27
auth
Secret needed
transport
STDIO
env vars
3
last updated
Nov 12, 2026

Tools

27 tools

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

get_food_logIndividual food entries with macros + micros for a date range

Individual food entries with macros + micros for a date range

No parameter schema in public metadata yet.

get_daily_nutritionDaily macro totals (calories, protein, carbs, fat, fiber)

Daily macro totals (calories, protein, carbs, fat, fiber)

No parameter schema in public metadata yet.

get_micronutrientsDetailed vitamin/mineral breakdown with period averages

Detailed vitamin/mineral breakdown with period averages

No parameter schema in public metadata yet.

export_raw_csvRaw CSV export for any data type (servings, exercises, biometrics, etc.)

Raw CSV export for any data type (servings, exercises, biometrics, etc.)

No parameter schema in public metadata yet.

search_foodsSearch the Cronometer food database

Search the Cronometer food database

No parameter schema in public metadata yet.

list_diary_groupsList this account's diary groups and the values `diary_group` accepts

List this account's diary groups and the values `diary_group` accepts

No parameter schema in public metadata yet.

get_food_detailsGet full nutrition info and serving measure IDs for a food

Get full nutrition info and serving measure IDs for a food

No parameter schema in public metadata yet.

add_food_entryAdd a food entry to the diary

Add a food entry to the diary

No parameter schema in public metadata yet.

remove_food_entryRemove a food entry from the diary

Remove a food entry from the diary

No parameter schema in public metadata yet.

copy_dayCopy all diary entries from one date to another

Copy all diary entries from one date to another

No parameter schema in public metadata yet.

set_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_repeated_itemsList all recurring food entries

List all recurring food entries

No parameter schema in public metadata yet.

add_repeat_itemAdd a recurring food entry that auto-logs on selected days

Add a recurring food entry that auto-logs on selected days

No parameter schema in public metadata yet.

delete_repeat_itemDelete a recurring food entry

Delete a recurring food entry

No parameter schema in public metadata yet.

get_macro_targetsGet daily macro targets (or full weekly schedule with `target_date="all"`)

Get daily macro targets (or full weekly schedule with `target_date="all"`)

No parameter schema in public metadata yet.

set_macro_targetsUpdate daily macro targets (partial updates supported)

Update daily macro targets (partial updates supported)

No parameter schema in public metadata yet.

list_macro_templatesList all saved macro target templates

List all saved macro target templates

No parameter schema in public metadata yet.

create_macro_templateCreate a new saved macro target template

Create a new saved macro target template

No parameter schema in public metadata yet.

set_weekly_macro_scheduleAssign a template to days of the week as the recurring default

Assign a template to days of the week as the recurring default

No parameter schema in public metadata yet.

get_fasting_historyView all fasts or fasts within a date range

View all fasts or fasts within a date range

No parameter schema in public metadata yet.

get_fasting_statsAggregate fasting statistics (total hours, longest, averages)

Aggregate fasting statistics (total hours, longest, averages)

No parameter schema in public metadata yet.

cancel_active_fastCancel an in-progress fast while preserving the recurring schedule

Cancel an in-progress fast while preserving the recurring schedule

No parameter schema in public metadata yet.

delete_fastDelete a fast entry

Delete a fast entry

No parameter schema in public metadata yet.

get_recent_biometricsGet recently logged biometric entries

Get recently logged biometric entries

No parameter schema in public metadata yet.

add_biometricLog weight (lbs), blood glucose (mg/dL), heart rate (bpm), or body fat (%)

Log weight (lbs), blood glucose (mg/dL), heart rate (bpm), or body fat (%)

No parameter schema in public metadata yet.

remove_biometricRemove a biometric entry

Remove a biometric entry

No parameter schema in public metadata yet.

sync_cronometerDownload JSON exports + generate food-log.md to disk

Download JSON exports + generate food-log.md to disk

No parameter schema in public metadata yet.

Sponsors

Configuration

CRONOMETER_USERNAME*

Your Cronometer account email

CRONOMETER_PASSWORD*secret

Your Cronometer account password

CRONOMETER_DATA_DIR

Directory for sync output (defaults to ~/.local/share/cronometer-mcp/)

Readme

cronometer-mcp

An MCP (Model Context Protocol) server that provides access to your Cronometer nutrition data. Pull detailed food logs, daily macro/micro summaries, manage diary entries, fasting, biometrics, and recurring foods — all from Claude, Cursor, or any MCP-compatible client.

Requires a Cronometer Gold account (or any paid tier that supports web login).

Features


View the full README on GitHub

Details

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

More from cphoskins