# Cronometer MCP server

> Allows an AI client to read and write food diary entries, manage recipes, track biometrics, and set nutrient targets in Cronometer.

- Repository: https://github.com/rollecode/cronometer-mcp
- Page: https://hostedmcp.org/servers/rollecode/cronometer-mcp
- Transport: —
- Stars: 2
- License: MIT

## Environment variables

| Name | Required | Secret | Description |
|---|---|---|---|
| `CONFIG_DIR` | no | no |  |
| `CRONOMETER_ACCOUNT_TZ` | no | no |  |
| `CRONOMETER_PASSWORD` | no | no |  |
| `CRONOMETER_USERNAME` | no | no |  |

## Tools (40)

- `get_food_log`
- `get_daily_nutrition`
- `get_nutrition_scores`
- `search_foods`
- `get_food_details`
- `get_targets`
- `get_macro_targets`
- `list_biometrics`
- `get_biometrics`
- `get_fasting_history`
- `get_fasting_stats`
- `list_nutrients`
- `get_recent_foods`
- `get_streak`
- `get_profile`
- `list_custom_foods`
- `list_recipes`
- `find_entries_by_food`
- `add_food_entry`
- `edit_food_entry`
- `remove_food_entry`
- `add_custom_food`
- `create_recipe`
- `update_custom_food`
- `update_recipe`
- `retire_custom_food`
- `add_note`
- `edit_note`
- `add_biometric`
- `edit_biometric`
- `remove_biometric`
- `add_exercise`
- `remove_exercise`
- `edit_exercise`
- `add_fast`
- `edit_fast`
- `delete_fast`
- `copy_day`
- `mark_day_complete`
- `set_nutrient_target`

## FAQ

### Do I need a Cronometer Gold subscription?

No, you do not need a Gold subscription to use this server.

### How does the authentication work for Claude.ai?

The server puts an OAuth 2.1 login in front so you can add it to Claude.ai as a custom connector.

### Can I use this with Claude Code?

Yes, Claude Code can use a plain token instead of OAuth.

### Is it possible to create custom foods?

Yes, you can create your own custom foods with up to 94 different nutrients.
