cronometer

v2.4.3
io.github.cphoskins/cronometer Checked 2 hours ago Published 18 days ago

MCP server for Cronometer — food logs, macros, fasting, biometrics, and recurring foods

Values you need

VariableWhat it is
CRONOMETER_USERNAMErequired Your Cronometer account email
CRONOMETER_PASSWORDrequired secret Your Cronometer account password
CRONOMETER_DATA_DIRoptional Directory for sync output (defaults to ~/.local/share/cronometer-mcp/)

PyPI (uvx) verified

Requires uv (https://docs.astral.sh/uv/)

Run in a terminal
claude mcp add cronometer -e 'CRONOMETER_PASSWORD=<CRONOMETER_PASSWORD>' -e 'CRONOMETER_USERNAME=<CRONOMETER_USERNAME>' -- uvx cronometer-mcp==2.4.3
Add to claude_desktop_config.json
{
  "mcpServers": {
    "cronometer": {
      "args": [
        "cronometer-mcp==2.4.3"
      ],
      "command": "uvx",
      "env": {
        "CRONOMETER_PASSWORD": "<CRONOMETER_PASSWORD>",
        "CRONOMETER_USERNAME": "<CRONOMETER_USERNAME>"
      }
    }
  }
}
Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "cronometer": {
      "args": [
        "cronometer-mcp==2.4.3"
      ],
      "command": "uvx",
      "env": {
        "CRONOMETER_PASSWORD": "<CRONOMETER_PASSWORD>",
        "CRONOMETER_USERNAME": "<CRONOMETER_USERNAME>"
      }
    }
  }
}
Add to .vscode/mcp.json
{
  "inputs": [
    {
      "description": "CRONOMETER_PASSWORD",
      "id": "cronometer-password",
      "password": true,
      "type": "promptString"
    },
    {
      "description": "CRONOMETER_USERNAME",
      "id": "cronometer-username",
      "password": true,
      "type": "promptString"
    }
  ],
  "servers": {
    "cronometer": {
      "args": [
        "cronometer-mcp==2.4.3"
      ],
      "command": "uvx",
      "env": {
        "CRONOMETER_PASSWORD": "${input:cronometer-password}",
        "CRONOMETER_USERNAME": "${input:cronometer-username}"
      },
      "type": "stdio"
    }
  }
}
Add to ~/.codex/config.toml
[mcp_servers.cronometer]
command = "uvx"
args = ["cronometer-mcp==2.4.3"]
env = { "CRONOMETER_PASSWORD" = "<CRONOMETER_PASSWORD>", "CRONOMETER_USERNAME" = "<CRONOMETER_USERNAME>" }

For AI agents

  1. Ask the user for: CRONOMETER_USERNAME, CRONOMETER_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.
  2. Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).
  3. Restart or reload the client so it starts the server.
  4. Verify: the server should expose these tools: get_food_log, get_daily_nutrition, get_micronutrients, export_raw_csv, list_diary_groups, search_foods, get_food_details, add_food_entry, ….
  5. If it fails, check that the required runtime is installed (uv (https://docs.astral.sh/uv/)) and that the values above are set.

Machine-readable: install.md · manifest.json