Cronometer MCP
io.github.atticoosPublished by GitHub account atticoosv0.3.0Updated Nov 7, 2026
Review nutrition, log meals, and manage foods and recipes in your Cronometer account.
Overview
Unofficial remote MCP server that lets an assistant read and edit your Cronometer food diary, nutrition totals, recipes, fasting and biometric data.
- What you can do
- Read the food diary and daily nutrient totals, and check connection status
- Search Cronometer's food database and view food details and servings
- Add, remove and copy food entries, and mark days complete or incomplete
- Create custom foods and recipes from nutrition info or ingredients
- Retrieve macro targets, fasting history and stats, and biometric trends
- Export daily nutrition summaries, servings, exercises, biometrics and notes for a date range
- When to use it
- Useful when you track food and health in Cronometer and want to ask an assistant about today's calories or nutrients, log meals by conversation, build recipes, or review weight and fasting trends over time.
- Requirements
- A Cronometer account and an MCP client that supports remote HTTP servers with OAuth. Add the remote server URL in your client's MCP settings and complete the browser sign-in with your Cronometer username, password and any one-time code. No API key or environment variables are needed.
Installation
In SourceWeft
- Open Cronometer MCP in the dashboard and add it to a workspace.
- Connect the required credentials. They are stored privately and never shown on public pages.
- Enable the server for the chats that should use its tools.
Web executable via Streamable HTTP. Remote servers run from the web runtime once configured in a workspace.
Use with an agent
Paste this prompt into Claude Code, Codex, Cursor or another agent — or into SourceWeft chat. The agent reads this server's install guide, shows you its publisher, endpoint and sign-in, and adds it to your client once you agree. Keys never go into a command.
Read https://sourceweft.com/mcp/io.github.atticoos%2Fcronometer-mcp/install.md and connect the MCP server it describes to my client. Before changing any config, show me its publisher, endpoint and sign-in method and wait for my OK. Never put an API key in a command or in a file I would commit; ask me where it should come from.Other MCP clients
Add this to your client's mcpServers config. The client completes OAuth sign-in on first connect.
{
"mcpServers": {
"cronometer": {
"type": "http",
"url": "https://mcp.cronometer-mcp.dev/mcp"
}
}
}README
Cronometer MCP
Connect your AI assistant to Cronometer to review your nutrition, log meals, and explore your tracking history in conversation.
Cronometer MCP is an unofficial Model Context Protocol (MCP) server that gives compatible assistants access to your Cronometer account. It supports reading your data and making changes to your food diary, custom foods, and recipes.
What you can do
- Review your nutrition: see your food diary, calories consumed and remaining, and tracked macro and micronutrient totals.
- Log and manage meals: search Cronometer's food database, add or delete food entries, copy the previous day's entries, and mark days complete or incomplete.
- Create foods and recipes: save a custom food from nutrition information or build a recipe from ingredients.
- Explore your history: retrieve macro targets, fasting history and statistics, and biometric trends such as weight or body fat.
- Retrieve exports: access daily nutrition summaries, food servings, exercises, biometrics, and notes for a date range.
Connect your assistant
You need a Cronometer account and an MCP client that supports remote HTTP servers with OAuth authentication.
-
Add a remote MCP server in your assistant's MCP connection settings.
-
Enter the server URL:
-
Review the requested read and write access, then complete the browser sign-in flow with your Cronometer username, password, and one-time code if required.
-
Return to your assistant and ask it to check the connection or retrieve today's food diary.
Connection settings and tool permissions vary by client. If you need to run your own server, follow the self-hosting guide.
About the npm package: npx cronometer-mcp currently runs a placeholder server with only a status tool. Use the remote server described here for Cronometer data tools. See the package README for its current status.
Try asking
- “What have I eaten today, and how many calories do I have left?”
- “Show my protein, fiber, and sodium totals for yesterday.”
- “Find cooked brown rice and log 150 grams for lunch today.”
- “Create a recipe from 200 grams of chicken breast and 150 grams of cooked rice.”
- “How has my weight changed over the last 30 days?”
- “Summarize my fasting history for the past month.”
- “Retrieve my daily nutrition summaries for the last seven days.”
Available answers depend on what you track in Cronometer. Your assistant can use food search and serving details to identify foods before logging them.
Account access and privacy
During sign-in, the MCP server receives your Cronometer credentials and exchanges them with Cronometer for sessions. Your password and one-time code are not stored or included in MCP tokens; upstream sessions are stored in encrypted OAuth grant properties. Use a server operator you trust with your account access.
Data returned by tools becomes available to your assistant and is subject to that client's data handling policies. Write tools can change your Cronometer account, including deleting existing food entries, creating custom foods and recipes, copying diary entries, and marking days complete or incomplete. Review your client's tool permissions before allowing changes.
The sign-in screen requests read and write access. The OAuth scope is still named cronometer:read for compatibility with existing clients. Despite that legacy name, it does not enforce read-only access: an authorized connection has access to all the tools listed below. There is currently no read-only connection mode. You can revoke the MCP connection at any time.
If a Cronometer session expires, follow the sign-in prompt from your MCP client, then retry the tool. The server discards your password after sign-in.
Available tools
Limits and troubleshooting
- Expired connection: if your client does not show a sign-in prompt, reconnect the MCP server in your client and sign in again.
- Missing nutrients: daily nutrition totals include nutrients with targets set in your Cronometer account.
- Dates: tools accept
YYYY-MM-DDdates. Diary tools with an optional date default to today in your account's timezone. - Copying a day:
copy_dayadds the previous day's entries to the destination date and keeps existing entries. Repeating it can create duplicates. - Export limits: each export covers at most 31 inclusive days and returns up to 1,000 rows. Shorten the range if a result is truncated. Exports count toward Cronometer's limited daily export allowance (roughly 10 per day); the mobile data tools do not use that allowance.
- Service changes: this project uses Cronometer's private mobile and web APIs. Changes to those APIs may temporarily break features.
Development and self-hosting
See the development guide for local setup, Cloudflare deployment, authentication details, secrets, and CI configuration. The mobile API contract is maintained in specs/cronometer-mobile.yaml.
Acknowledgments
The mobile API integration is a TypeScript port of rwestergren/cronometer-api-mcp (MIT). The CSV export protocol was independently implemented using jrmycanady/gocronometer as a reference. See the development guide for implementation and licensing notes.
License
MIT. Notices for ported third-party code are in THIRD_PARTY_NOTICES.
Source: README.md at commit 75e5b57
Tools
0Version history
1- v0.3.0LatestNov 7, 2026
Score
85% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 daysRequired25 pts
- Auth declaredRequired10 pts
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts