C

Cronometer MCP

by ekelly95 · io.github.ekelly95/cronometer-mcp

Enables MCP clients to read and modify a user's nutrition-tracking account: the full diary across foods, exercise, notes, biometrics and targets, plus coverage-aware nutrient totals that report unreported values as an "at least" floor instead of zero. Writes such as logging, editing, deleting or copying entries require per-action approval, with deletes needing explicit confirmation and an optional read-only mode that removes them entirely.

npm Local · stdio GlamaOfficial MCP Registry High confidence

Install

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

Windows / Linux path
Windows: %APPDATA%\Claude\claude_desktop_config.json
Linux: ~/.config/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "io-github-ekelly95-cronometer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ekelly95/cronometer-mcp"
      ],
      "env": {
        "CRONOMETER_USERNAME": "<VALUE>",
        "CRONOMETER_PASSWORD": "<YOUR_VALUE>",
        "CRONOMETER_LIVE_ENABLED": "<VALUE>",
        "CRONOMETER_TOTP_SECRET": "<YOUR_VALUE>",
        "CRONOMETER_TIMEZONE": "<VALUE>",
        "CRONOMETER_READ_ONLY": "<VALUE>",
        "CRONOMETER_DATA_DIR": "<VALUE>",
        "CRONOMETER_APP_BUILD": "<VALUE>",
        "CRONOMETER_APP_VERSION": "<VALUE>"
      }
    }
  }
}

Restart Claude Desktop to activate the new server.

Add to .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)

Windows / Linux path
Windows: .cursor\mcp.json (project) or %USERPROFILE%\.cursor\mcp.json (global)
Linux: .cursor/mcp.json (project) or ~/.cursor/mcp.json (global)
{
  "mcpServers": {
    "io-github-ekelly95-cronometer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ekelly95/cronometer-mcp"
      ],
      "env": {
        "CRONOMETER_USERNAME": "<VALUE>",
        "CRONOMETER_PASSWORD": "<YOUR_VALUE>",
        "CRONOMETER_LIVE_ENABLED": "<VALUE>",
        "CRONOMETER_TOTP_SECRET": "<YOUR_VALUE>",
        "CRONOMETER_TIMEZONE": "<VALUE>",
        "CRONOMETER_READ_ONLY": "<VALUE>",
        "CRONOMETER_DATA_DIR": "<VALUE>",
        "CRONOMETER_APP_BUILD": "<VALUE>",
        "CRONOMETER_APP_VERSION": "<VALUE>"
      }
    }
  }
}

Cursor usually picks up config changes automatically; if the server does not appear, reload the window.

Add to .mcp.json (project) or ~/.claude.json (global)

Windows / Linux path
Windows: .mcp.json (project) or %USERPROFILE%\.claude.json (global)
Linux: .mcp.json (project) or ~/.claude.json (global)
{
  "mcpServers": {
    "io-github-ekelly95-cronometer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ekelly95/cronometer-mcp"
      ],
      "env": {
        "CRONOMETER_USERNAME": "<VALUE>",
        "CRONOMETER_PASSWORD": "<YOUR_VALUE>",
        "CRONOMETER_LIVE_ENABLED": "<VALUE>",
        "CRONOMETER_TOTP_SECRET": "<YOUR_VALUE>",
        "CRONOMETER_TIMEZONE": "<VALUE>",
        "CRONOMETER_READ_ONLY": "<VALUE>",
        "CRONOMETER_DATA_DIR": "<VALUE>",
        "CRONOMETER_APP_BUILD": "<VALUE>",
        "CRONOMETER_APP_VERSION": "<VALUE>"
      }
    }
  }
}

The server will be available in the next Claude Code session.

Add to .vscode/mcp.json

Windows / Linux path
Windows: .vscode\mcp.json
Linux: .vscode/mcp.json
{
  "servers": {
    "io-github-ekelly95-cronometer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ekelly95/cronometer-mcp"
      ],
      "env": {
        "CRONOMETER_USERNAME": "<VALUE>",
        "CRONOMETER_PASSWORD": "<YOUR_VALUE>",
        "CRONOMETER_LIVE_ENABLED": "<VALUE>",
        "CRONOMETER_TOTP_SECRET": "<YOUR_VALUE>",
        "CRONOMETER_TIMEZONE": "<VALUE>",
        "CRONOMETER_READ_ONLY": "<VALUE>",
        "CRONOMETER_DATA_DIR": "<VALUE>",
        "CRONOMETER_APP_BUILD": "<VALUE>",
        "CRONOMETER_APP_VERSION": "<VALUE>"
      }
    }
  }
}

Reload the VS Code window to activate.

Add to ~/.codeium/windsurf/mcp_config.json

Windows / Linux path
Windows: %USERPROFILE%\.codeium\windsurf\mcp_config.json
Linux: ~/.codeium/windsurf/mcp_config.json
{
  "mcpServers": {
    "io-github-ekelly95-cronometer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ekelly95/cronometer-mcp"
      ],
      "env": {
        "CRONOMETER_USERNAME": "<VALUE>",
        "CRONOMETER_PASSWORD": "<YOUR_VALUE>",
        "CRONOMETER_LIVE_ENABLED": "<VALUE>",
        "CRONOMETER_TOTP_SECRET": "<YOUR_VALUE>",
        "CRONOMETER_TIMEZONE": "<VALUE>",
        "CRONOMETER_READ_ONLY": "<VALUE>",
        "CRONOMETER_DATA_DIR": "<VALUE>",
        "CRONOMETER_APP_BUILD": "<VALUE>",
        "CRONOMETER_APP_VERSION": "<VALUE>"
      }
    }
  }
}

Restart Windsurf (or refresh its MCP servers panel) to activate the new server.

Windsurf Next uses ~/.codeium/windsurf-next/mcp_config.json. Devin Desktop (the Windsurf rebrand) uses ~/.config/devin/mcp_config.json and imports the Windsurf file.

Add to ~/Library/Application Support/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json

Windows / Linux path
Windows: %APPDATA%\Code\User\globalStorage\saoudrizwan.claude-dev\settings\cline_mcp_settings.json
Linux: ~/.config/Code/User/globalStorage/saoudrizwan.claude-dev/settings/cline_mcp_settings.json
{
  "mcpServers": {
    "io-github-ekelly95-cronometer-mcp": {
      "command": "npx",
      "args": [
        "-y",
        "@ekelly95/cronometer-mcp"
      ],
      "env": {
        "CRONOMETER_USERNAME": "<VALUE>",
        "CRONOMETER_PASSWORD": "<YOUR_VALUE>",
        "CRONOMETER_LIVE_ENABLED": "<VALUE>",
        "CRONOMETER_TOTP_SECRET": "<YOUR_VALUE>",
        "CRONOMETER_TIMEZONE": "<VALUE>",
        "CRONOMETER_READ_ONLY": "<VALUE>",
        "CRONOMETER_DATA_DIR": "<VALUE>",
        "CRONOMETER_APP_BUILD": "<VALUE>",
        "CRONOMETER_APP_VERSION": "<VALUE>"
      }
    }
  }
}

Cline reloads cline_mcp_settings.json automatically; if the server does not appear, reload the VS Code window.

Open it from Cline's MCP Servers panel → Configure. Roo Code uses a different file and format.

Configuration

Environment variables this server reads. Secrets stay on your machine.

NameRequiredDescription
CRONOMETER_USERNAME No Your Cronometer email address
CRONOMETER_PASSWORD secret No Your Cronometer password
CRONOMETER_LIVE_ENABLED No Set to 1 to enable live account access
CRONOMETER_TOTP_SECRET secret No Authenticator key for two-factor accounts (environment mode)
CRONOMETER_TIMEZONE No Diary timezone; defaults to the saved setup, else the computer's
CRONOMETER_READ_ONLY No Set to 1 to offer no tool that can change the account
CRONOMETER_DATA_DIR No Where the setup, session caches and exports live
CRONOMETER_APP_BUILD No Mobile API app build number (can be updated to match the app)
CRONOMETER_APP_VERSION No Mobile API app version number (can be updated to match the app)

Similar servers