Skip to content
VS Code

cronometer for VS Code

io.github.cphoskins/cronometer

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

client:VS Code transport:stdio runtime:pypi

Install cronometer in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "cronometer-username",
      "description": "CRONOMETER_USERNAME",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cronometer-password",
      "description": "CRONOMETER_PASSWORD",
      "password": true
    },
    {
      "type": "promptString",
      "id": "cronometer-data-dir",
      "description": "CRONOMETER_DATA_DIR",
      "password": true
    }
  ],
  "servers": {
    "cronometer": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "cronometer-mcp"
      ],
      "env": {
        "CRONOMETER_USERNAME": "${input:cronometer-username}",
        "CRONOMETER_PASSWORD": "${input:cronometer-password}",
        "CRONOMETER_DATA_DIR": "${input:cronometer-data-dir}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

cronometer in other clients