原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

Cronometer

作者:ekelly95版本 1.0.2i★ –i在你的电脑上运行
注册名称io.github.ekelly95/cronometer-mcp

安装

概览

作者提供的说明(英文原文)

Your Cronometer diary, nutrition with honest coverage (missing is never zero), and safe writes.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 诊所与健康
  • 你需要填写:CRONOMETER_PASSWORD, CRONOMETER_TOTP_SECRET

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: CRONOMETER_USERNAME, CRONOMETER_PASSWORD, CRONOMETER_LIVE_ENABLED, CRONOMETER_TOTP_SECRET, CRONOMETER_TIMEZONE, CRONOMETER_READ_ONLY

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json

{
  "mcpServers": {
    "cronometer": {
      "command": "npx",
      "args": [
        "-y",
        "@ekelly95/cronometer-mcp"
      ],
      "env": {
        "CRONOMETER_USERNAME": "your-value",
        "CRONOMETER_PASSWORD": "your-value",
        "CRONOMETER_LIVE_ENABLED": "your-value",
        "CRONOMETER_TOTP_SECRET": "your-value",
        "CRONOMETER_TIMEZONE": "your-value",
        "CRONOMETER_READ_ONLY": "your-value"
      }
    }
  }
}

在终端中运行这条命令

claude mcp add cronometer --env CRONOMETER_USERNAME=your-value --env CRONOMETER_PASSWORD=your-value --env CRONOMETER_LIVE_ENABLED=your-value --env CRONOMETER_TOTP_SECRET=your-value --env CRONOMETER_TIMEZONE=your-value --env CRONOMETER_READ_ONLY=your-value -- npx -y @ekelly95/cronometer-mcp

运行前请先填写空着的值。

在 Cursor 中打开

或者自己复制设置

粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json

{
  "mcpServers": {
    "cronometer": {
      "command": "npx",
      "args": [
        "-y",
        "@ekelly95/cronometer-mcp"
      ],
      "env": {
        "CRONOMETER_USERNAME": "your-value",
        "CRONOMETER_PASSWORD": "your-value",
        "CRONOMETER_LIVE_ENABLED": "your-value",
        "CRONOMETER_TOTP_SECRET": "your-value",
        "CRONOMETER_TIMEZONE": "your-value",
        "CRONOMETER_READ_ONLY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .vscode/mcp.json

{
  "servers": {
    "cronometer": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@ekelly95/cronometer-mcp"
      ],
      "env": {
        "CRONOMETER_USERNAME": "your-value",
        "CRONOMETER_PASSWORD": "your-value",
        "CRONOMETER_LIVE_ENABLED": "your-value",
        "CRONOMETER_TOTP_SECRET": "your-value",
        "CRONOMETER_TIMEZONE": "your-value",
        "CRONOMETER_READ_ONLY": "your-value"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • CRONOMETER_USERNAME env
    Cronometer account email. Optional if `npx @ekelly95/cronometer-mcp setup` saved it.
  • CRONOMETER_PASSWORD 机密 env
    Cronometer password. Optional if setup saved it to the OS keyring.
  • CRONOMETER_LIVE_ENABLED env
    Set to 1 to accept the risks of unofficial access when using environment credentials.
  • CRONOMETER_TOTP_SECRET 机密 env
    Base32 authenticator key, for accounts with two-factor sign-in.
  • CRONOMETER_TIMEZONE env
    Diary timezone, e.g. America/New_York. Defaults to the saved setup, else this computer's.
  • CRONOMETER_READ_ONLY env
    Set to 1 to offer no tool that can change the account.

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 ekelly95 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“诊所与健康”中的其他服务器比较i

  • 星标数多于此分类中其他 870 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 870 个服务器的 59% 更新
  • 基础检查结果等于或优于此分类中其他 870 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

Cronometer 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:CRONOMETER_PASSWORD, CRONOMETER_TOTP_SECRET

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(1.0.2)于19天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Mirobody, FHIR MCP Server, Google Health MCP

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Mirobody

作者:thetahealth

Lab results to LOINC codes and UCUM units, symptoms and diagnoses to ICPC-3. Offline, no API key.

在你的电脑上运行★ 1,408Apache-2.06天前更新
安装

FHIR MCP Server

作者:wso2

MCP server providing seamless access to FHIR APIs for AI tools and healthcare applications

在你的电脑上运行★ 137Apache-2.09天前更新
安装

Google Health MCP

作者:davidmosiah

Privacy-first unofficial Google Health API v4 MCP server for health, sleep, activity, HR agents

在你的电脑上运行★ 79MIT4个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Cronometer MCP

An MCP server for your Cronometer account. Ask Claude (or any MCP client) what you ate, what is left for today, how your micronutrients look over the week — and have it log, edit or delete diary entries, with your approval each time.

  • The whole diary, with ids. Foods, exercise, notes and biometrics, each with the id the edit and delete tools need, plus the day's targets, what remains, and energy burned.
  • Honest nutrition. Totals are computed food by food. A nutrient a food doesn't report is counted as *missing*, not as zero — so "61 mg of magnesium" comes back as "at least 61 mg; only 4 of 12 foods report magnesium", which is what Cronometer's own total hides.
  • Safe writes. Every account-changing tool asks for approval, deletes need an explicit confirmation, a timed-out write is never retried, and a read-only mode removes writes entirely.
  • One command to set up, with your password kept in the operating system's credential store. Also runs as a Claude Desktop extension, or as a secure remote connector for claude.ai and the Claude phone apps.

[!IMPORTANT]

Cronometer has no public API. This uses the same private interfaces as Cronometer's own

app and website, signed in as you. It is unofficial: it can break whenever Cronometer

changes them, and Cronometer could restrict an account it sees automated. It is not

affiliated with or endorsed by Cronometer. See Risks.

Quick start

Requires Node.js 20 or later.

npx @ekelly95/cronometer-mcp setup

Setup explains the risk and asks you to type ENABLE, then asks for your Cronometer email, password, an authenticator key if the account uses two-factor sign-in, and your diary timezone. It checks the sign-in before saving anything, stores the password in the Keychain (macOS), the Secret Service keyring (Linux) or DPAPI (Windows), and offers to add the server to Claude Code, Claude Desktop and Codex.

Restart your client and ask:

  • *What did I eat yesterday, and how close was I to my targets?*
  • *How much protein do I have left today?*
  • *Log two large eggs for breakfast.*
  • *Which micronutrients were low this week — and which of those can't be trusted because foods didn't report them?*
  • *Show my nutrient radar for the last 7 days.* (renders a chart; see /nutrient_radar)

npx @ekelly95/cronometer-mcp doctor checks the setup at any time.

Other ways to run it

Claude Desktop extension. Download cronometer-mcp.mcpb from the latest release and open it. Claude Desktop asks for your email and password and keeps them in your OS credential store.

Credentials in the client config (for clients without a keyring, or containers):

{

"mcpServers": { "cronometer": { "command": "npx", "args": ["-y", "@ekelly95/cronometer-mcp"], "env": { "CRONOMETER_USERNAME": "you@example.com", "CRONOMETER_PASSWORD": "…", "CRONOMETER_LIVE_ENABLED": "1", "CRONOMETER_TIMEZONE": "America/New_York" } } } }

claude.ai and the phone apps. cronometer-mcp remote-setup configures a Streamable HTTP endpoint with its own single-user OAuth sign-in, run as a user service and published through a tunnel such as Tailscale Funnel. See docs/REMOTE.md.

VariableEffect
CRONOMETER_READ_ONLY=1Offer no tool that can change the account
CRONOMETER_TOTP_SECRETAuthenticator key for two-factor accounts (environment mode)
CRONOMETER_TIMEZONEDiary timezone; defaults to the saved setup, else the computer's
CRONOMETER_DATA_DIRWhere the setup, session caches and exports live

Tools

46 tools: 24 that read and 22 that write. Dates accept YYYY-MM-DD, today, yesterday or N days ago, resolved in the diary timezone.

Diary and nutrition

Tool
get_diaryOne day or up to 14: every entry with its id, targets, consumed, remaining, energy burned
get_daily_summaryNutrient totals with coverage per nutrient, and your Cronometer targets
get_nutrition_scoresCronometer's category scores, with its confidence per nutrient
nutrient_radar31 vitamins, minerals and amino acids against adult reference intakes, for a chart

Foods, targets, body

Tool
search_foods · get_food_details · lookup_barcodeFind foods, their measures and nutrients
get_macro_targets · list_macro_templatesTargets for a date, the weekly schedule, saved templates
get_fasting_history · get_fasting_statsFasts and fasting statistics
list_biometric_metrics · get_biometricsWeight, body fat, blood pressure… over time
search_activities · get_repeated_itemsExercise activity ids; foods that repeat automatically

Long ranges and downloaded exports

Tool
export_food_log · export_exercises · export_biometrics · export_notes · export_rawCronometer's CSV export, for ranges up to a year
list_exports · analyze_exportCoverage analysis of an export you downloaded, for months at a time

Writes — each asks for approval; ⚠ marks those that also need confirm: true

Tool
add_food_entry · update_food_entry · ⚠ remove_diary_entries · ⚠ copy_day · mark_day_completeThe food diary (delete works on any entry type)
add_note · update_note · add_biometric · add_exerciseNotes, measurements, exercise
add_custom_food · update_custom_food · ⚠ retire_custom_food · add_recipe · import_recipeCustom foods and recipes, including from free text
set_macro_targets · create_macro_template · ⚠ delete_macro_template · set_macro_schedule_dayTargets and the weekly schedule
⚠ delete_fast · ⚠ cancel_active_fast · add_repeat_item · ⚠ delete_repeat_itemFasts and repeated foods

A write that hasn't yet been verified against a live account says so in its description, and the model is told to read the result back. docs/PROTOCOL.md lists what each tool calls and what has been verified.

Missing is not zero

Cronometer stores each food's nutrients from whatever its source reports. A branded product's label might list eight nutrients; a lab-analysed whole food, ninety. When Cronometer totals a day, a nutrient a food doesn't report is added as zero, so the total looks complete when it isn't.

get_daily_summary keeps them apart. For a made-up day of 12 foods:

NutrientReported byResult
Energy12 of 12 foods2,410 kcal — a real total
Protein12 of 12172 g
Vitamin D9 of 12insufficient data — at least 520 IU
Magnesium4 of 12insufficient data — at least 61 mg

A nutrient becomes a number only when every food reports it (or the share you choose with coverage_threshold); otherwise you get a floor that says what it is. Days with nothing logged are listed rather than averaged in as zero. The same rule drives the radar, which draws an incomplete spoke as a dashed "at least" line and a nutrient nobody reported as no data at all. None of this diagnoses anything; it reports what was logged.

How it keeps the account safe

  • Approval on every write. Write tools carry MCP's destructive/read-only hints and anthropic/requiresUserInteraction, which makes Claude Code ask every time, under every permission mode. Deletes and other irreversible tools also require confirm: true.
  • No duplicate writes. A write that times out is reported as "outcome unknown — check the Cronometer app", never retried. A write is re-sent only when Cronometer refused it outright (401/403), which means it wasn't applied.
  • Ids, not guesses. Edits and deletes take ids from get_diary; the server refuses an id that isn't on that day.
  • Untrusted data stays data. Food names and notes come back inside a JSON-encoded fence the content cannot close, and the server tells the model to treat them as data.
  • Narrow network and storage. HTTPS to cronometer.com and mobile.cronometer.com only, size-capped and time-limited. Passwords live in the OS credential store; session caches are private files (mode 600) in a private directory; secrets are redacted from every error and log line.
  • Gentle on Cronometer. Calls run one at a time with a floor between them, and sessions are cached so the server rarely signs in.

Troubleshooting

SymptomFix
"Cronometer is not set up yet"Run npx @ekelly95/cronometer-mcp setup in a terminal
"two-factor authentication"Re-run setup and paste the authenticator's base32 key
"rate-limiting sign-ins"Wait a few minutes; the session cache prevents this in normal use
No password found in the keyring (Linux)Make sure GNOME Keyring or KDE Wallet is running and unlocked, and secret-tool is installed
Writes rejected as incompatibleCronometer changed something; check for a newer version of this package
Anything elsenpx @ekelly95/cronometer-mcp doctor

Risks

  • Unofficial interfaces. Cronometer publishes no API. Its terms limit use to personal, non-commercial purposes and allow access to be ended without notice. This tool is for use with your own account only.
  • It can break. The mobile API expects the app's version numbers, which can be updated with CRONOMETER_APP_VERSION/CRONOMETER_APP_BUILD; the web protocol's build hashes are discovered automatically. Either can still change in ways only a new release fixes.
  • Exports are rate-limited by Cronometer; the export_* tools are for long ranges, and get_diary covers anything up to 14 days without them.
  • Not medical advice. Reference intakes are population figures, not personal targets.

How it works

The server talks to Cronometer's mobile API (the Android app's JSON interface) for almost everything, and to the web app's GWT-RPC protocol only for CSV exports, macro templates, fast edits and repeated foods. docs/PROTOCOL.md has the details; docs/DATA_MODEL.md describes the CSV export schemas.

It builds on two MIT-licensed projects: cronometer-api-mcp by Randy Westergren, which established the mobile API, and cronometer-mcp by Paul Hoskins, which established the web protocol. See THIRD_PARTY_NOTICES.md.

Development

npm ci

npm run verify # typecheck + the full offline test suite npm start # run the stdio server from source (after npm run build)

Tests are offline and use synthetic fixtures; nothing in the suite has Cronometer credentials. Live behaviour is checked by hand before a release on a throwaway diary date (docs/RELEASING.md). Changes are recorded in CHANGELOG.md.

License

MIT

问 PopNx