sync_cronometer
Downloads Cronometer nutrition data for a specified date range and saves it as JSON exports plus a formatted food-log.md file.
Instructions
Download Cronometer data and save locally as JSON + food-log.md.
Downloads servings and daily summary data, saves JSON exports, and regenerates food-log.md.
Output directory defaults to ~/.local/share/cronometer-mcp/ but can be overridden with the CRONOMETER_DATA_DIR environment variable.
Args:
start_date: Start date as YYYY-MM-DD (defaults to days ago).
end_date: End date as YYYY-MM-DD (defaults to today).
days: Number of days to look back if start_date not specified (default 14).
diet_label: Optional diet label for the markdown header (e.g., "Keto Rigorous").
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| start_date | No | ||
| end_date | No | ||
| days | No | ||
| diet_label | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |