Servers Changes Log Check Watch Why How it works GitHub

io.github.rwestergren/cronometer-api-mcp

io.github.rwestergren/cronometer-api-mcp · pypi:cronometer-api-mcp

Последнее зафиксированное изменение · 2026-11-29T00:06:00Z

MCP server for Cronometer nutrition tracking — food logs, diary, macros, fasting

Первое наблюдение
2026-10-13
Без изменений с
2026-11-29
Последнее наблюдение
2026-12-03
Наблюдения
15
Записанные изменения
3
Инструменты
32

Определения инструментов по последнему наблюдению (32)

  • add_biometric — Record a biometric reading such as a weight or body fat. Use list_biometrics for metric_id and unit_id (e.g. Weight is metric_id 1 with unit_id 1 for kg; Body Fat is metric_id 8 with unit_id 13 for %). The reading appears in get_food_log's diary as a "Biometric" entry; remove_food_entry with its biometricId deletes it. Args: metric_id: Numeric metric ID from list_biometrics. unit_id: Num …
  • add_custom_food — Create a custom food in Cronometer with specified nutrition. Nutrient amounts should be for the full serving size specified. After creation, use the returned food_id with add_food_entry to log it. Args: name: Food name. calories: Calories per serving (kcal). protein_g: Protein per serving (g). fat_g: Fat per serving (g). carbs_g: Carbs per serving (g). fiber_g: Fiber per …
  • add_exercise — Log an exercise to the Cronometer diary. Use search_activities to find activity_id. The calorie burn is not calculated for you: pass it (estimate it from the activity's MET value, the minutes and the user's weight if the user doesn't know it). The exercise appears in get_food_log's diary as an "Exercise" entry; remove_food_entry with its exerciseId deletes it. Args: activity_id: Activity ID …
  • add_food_entry — Add a food entry to the Cronometer diary. For remembered foods, reuse food_id and reference_serving's measure_id, translation_id, and grams from get_recent_foods or get_frequent_foods. Otherwise use search_foods and get_food_details to resolve a serving. Args: food_id: Numeric food ID from food search or remembered-food results. measure_id: Measure/unit ID from food details or reference_ …
  • add_note — Add a note to a diary day. Notes show up in get_food_log's diary as entries of type "Note". Remove one with remove_food_entry and its noteId. Args: text: The note text. date: Date as YYYY-MM-DD (defaults to today). diary_group: Meal slot the note sits in: "auto" (default, picks by time of day) or the name of one of the account's diary groups, matched ignoring case and …
  • add_recipe — Create a recipe in Cronometer from other foods in the database. Unlike add_custom_food, which takes hand-entered nutrition, a recipe references existing foods by ID and Cronometer derives the full nutrient profile (including micronutrients) from those ingredients. Use search_foods to find each ingredient's food_id. After creation, use the returned food_id with add_food_entry to log it. Args: …
  • copy_day — Copy all diary entries from the previous day to the given date. Additive -- does not remove existing entries on the destination date. Args: date: Destination date as YYYY-MM-DD (defaults to today).
  • delete_custom_food — Delete a custom food (one you created) by retiring it. The food disappears from search and from the Custom Foods list. Diary entries that already use it are kept, and get_food_details can still read it by ID. Database foods (USDA, NCCDB, CRDB, ...) and recipes cannot be deleted with this tool. Args: food_id: ID of the custom food to delete.
  • delete_recipe — Delete a recipe or saved meal that you created. By default the recipe is retired, as the app does for a recipe that has been logged: it disappears from search and from the recipe and meal lists, and diary entries that already use it are kept. permanent=True deletes it outright. This ALSO REMOVES THE DIARY ENTRIES that logged it. Use it only for a recipe that was never logged, or when the user ha …
  • get_biometrics — Get a biometric time series such as weight or body fat from Cronometer. Returns the recorded values over the date range as a list of {day, value} points. Use list_biometrics to find metric_id and unit_id (e.g. Weight is metric_id 1, with unit_id 1 for kg or 2 for lbs). Args: metric_id: Numeric metric ID from list_biometrics. unit_id: Numeric unit ID from the metric's units in list_biome …
  • get_daily_nutrition — Get consumed macro and micronutrient totals for one or more days. Use days=N for calories/nutrients over the last N calendar days. Prefer relative inputs over dates calculated from conversation history. Returns the amounts actually consumed for the day, covering every nutrient the user tracks in Cronometer (i.e. has a target set for). The response has: - summary: flat macro totals (energy, pr …
  • get_diary_groups — Get the account's diary groups (meal slots) and their names. Group names are customizable, so "Lunch" is not always the same slot: an account with extra groups such as "Post-workout" shifts every later group. Use this to interpret entries from get_food_log, whose `order` field carries the group in its upper bits (`order >> 16`): `group` here is that number, so an entry with order 196609 is in gro …
  • get_fasting_history — Get fasting history from Cronometer. Returns fasts within the date range including status, timestamps, and duration. Args: start_date: Start date as YYYY-MM-DD (defaults to 30 days ago). end_date: End date as YYYY-MM-DD (defaults to today).
  • get_fasting_stats — Get aggregate fasting statistics. Returns total fasting hours, longest fast, average fast duration, and completed fast count.
  • get_food_details — Get detailed food information including nutrition and serving sizes. Use this after search_foods to get the full nutrient profile and available measure_ids needed for add_food_entry. Args: food_id: Food ID from search_foods results.
  • get_food_log — Get diary entries for one day or the last N calendar days. Prefer relative inputs for relative questions, rather than dates calculated from conversation history. For calorie/nutrient totals without individual entries, prefer get_daily_nutrition(days=N). Returns every food entry logged for the day. Each "Serving" entry is enriched (best-effort) with the food's name, source, serving_size, servings …
  • get_frequent_foods — Find remembered foods ranked by Cronometer's frequency counter. Uses the same native candidate list as get_recent_foods (observed 50 foods), sorted by descending recent_count; ties retain recent order. Counts are ranking signals, not lifetime or N-day diary totals. No date window or pagination is available. Fall back to search_foods if nothing fits. Each food includes reference_serving's IDs, gr …
  • get_macro_targets — Get current macro targets including weekly schedule and templates. Returns fixed-gram targets, weight goal, sodium range, the macro split (percent of energy for protein, carbs and fat), the weekly macro schedule (which template applies to each day) and all saved macro target templates with their values. The split describes saved ratios, which are inactive in fixed-target or keto mode; shares are …
  • get_nutrition_scores — Get nutrition scores with per-nutrient consumed amounts and category grades. Returns category scores (All Targets, Vitamins, Minerals, Electrolytes, Antioxidants, Immune Support, Metabolism, Bone Health) with the actual consumed amount and confidence level for each tracked nutrient. This is the richest nutrition endpoint -- use it when you need to know both how much of each nutrient was consumed …
  • get_recent_foods — Find remembered foods in Cronometer's Most Recent order. Prefer this for "my usual X"; fall back to search_foods if nothing fits. Reverses the native response rather than sorting diary dates. The native list is limited (observed 50 foods), with no date window or pagination. Each food has recent_count (a ranking counter, not an exact use total) and reference_serving. Its IDs and grams can be reus …
  • import_recipe — Create a recipe from a free-text ingredient list. Cronometer's "Import Recipe" feature: pass ingredients as plain text, one per line, and the server matches each to a food and converts the amount to grams. No need to call search_foods first. Prefer this when the user describes ingredients in their own words. Use add_recipe instead when you have exact food_ids and gram weights -- e.g. the user co …
  • list_biometrics — List the biometric metrics tracked in Cronometer. Returns every metric type the account can record (Weight, Body Fat, Heart Rate, Blood Glucose, Waist Size, Sleep, blood panels, body measurements, etc.). Use the metric_id and a unit_id from the results with get_biometrics.
  • mark_day_complete — Mark a diary day as complete or incomplete. Args: date: Date to mark as YYYY-MM-DD. complete: True to mark complete, False for incomplete.
  • remove_food_entry — Remove one or more entries from the Cronometer diary. Works for every entry type in get_food_log's diary: foods (servingId), exercises (exerciseId), notes (noteId) and biometrics such as a weight (biometricId). Args: entry_ids: List of entry IDs to remove. date: Date the entries belong to as YYYY-MM-DD (defaults to today).
  • search_activities — Find activities to log with add_exercise, by name. Searches Cronometer's two activity catalogs: the current one ("General Walking", "HIIT") and the older, more specific one ("Walking 3.0 mph, moderate"). Every word of the query must appear in the name. Args: query: Activity name or keywords (e.g. "walking", "cycling").
  • search_foods — Search Cronometer's food database by name. Returns matching foods with their IDs and source information. Use the food_id and measure_id from results with add_food_entry, or pass food_id to get_food_details for full nutrition info. Args: query: Food name or keyword (e.g. "eggs", "chicken breast").
  • set_macro_split — Set how the energy target is split between protein, carbs and fat. This changes the user's real targets: confirm the numbers with the user first, and read the current split with get_macro_targets so it can be put back. Values are percent of energy and must add up to 100. Requires Macro Ratios mode; fixed-target and keto modes are rejected. Failed writes attempt restoration and report the resultin …
  • set_macro_targets — Set the daily macro targets in grams, the weekly weight goal and/or sodium. Confirm the new values with the user first, and read the current ones with get_macro_targets so they can be put back. Only the arguments you pass change. Gram targets require Fixed Targets mode in Cronometer's Macro & Energy Targets settings. The calorie target cannot be set directly: Cronometer computes it from BMR, ac …
  • update_custom_food — Edit an existing custom food (one you created) in place. Only the arguments you pass change; everything else keeps its current value. Find the food_id with search_foods (source "Custom") or get_food_details. Diary entries that already use the food pick up the new values. Recipes cannot be edited with this tool, even though they also show as source "Custom". Nutrient amounts are per serving: the …
  • update_food_entry — Change a logged food entry: its amount, its measure, or its meal. Use get_food_log to find the entry ID. Pass only what should change. Args: entry_id: Serving/entry ID from get_food_log. date: Date the entry is logged on as YYYY-MM-DD (defaults to today). grams: New weight of the serving in grams. Only supported for weight-based foods and recipes; change serving-based recipe …
  • update_note — Replace the text of a diary note. Args: note_id: noteId of the note, from get_food_log. text: The new note text. date: Date the note is on as YYYY-MM-DD (defaults to today).
  • update_recipe — Edit a recipe you created: rename it, change its ingredients or amounts, resize its default serving, or change its notes. Pass only what should change. A new ingredient list replaces the whole old one (use get_food_details to read the current ingredients first), and the nutrition is recalculated from it. Diary entries that already logged the recipe keep pointing at it and follow the new nutrition …

Подписанные наблюдения, прежние наборы инструментов и сравнения доступны в интерактивной карточке и через /api/v1/servers/f51b7ae2950e388b.

io.github.rwestergren

Transparency log · MCP tool definitions

Every MCP server's tools, on the record.

Your AI client trusts the tool descriptions an MCP server sends it — and a server can change them after you approved it. HISTOR keeps a public, signed record of what every remote MCP server in the official registry advertised, and tells you the day it changed.

Remote endpoints: it lists tools and never calls one. Registry packages: bounded canary calls run inside the isolated sandbox. It never says a server is safe — it tells you what was said, and when.

DRAG TO ORBIT
SIM
—

WebGL is unavailable here. The picture is the log itself: each label is a leaf, leaf hashes climb a Merkle tree, and a signed tree head seals the root.

—
Registry remote endpoints
last completed crawl
—
Targets with a pinned tool set
current
—
Changes
last 7 days
—
Labels in the log
all time
—
Last signed tree head
UTC

What HISTOR is for

Tool descriptions are instructions. They should not change behind your back.

The problem

A server can change what your model reads

When you connect an MCP server, its tool descriptions go straight to the model as instructions. A server can pass your review with harmless descriptions and change them next week — one added sentence is all a prompt injection needs, and most clients never ask you again.

What HISTOR does

It keeps the public record

Every six hours (every 30 minutes for a week once its tools have changed twice) HISTOR reads what each remote (streamable-HTTP) endpoint in the official MCP registry advertises, fingerprints it, signs what it saw and appends it to a log that can only grow. When a server's definitions change, the change gets a date and a diff.

What you get

A second pair of eyes you can check

Look up any server before you trust it. Paste what your client received and learn whether everyone else sees the same thing. Follow changes in a feed, or put a badge in your README. Every answer is signed, so you can verify it instead of believing it.

Who it is for

People who use MCP serversin Claude, Cursor or any client — check a server before you connect it, and again when it changes.
Agent builderswhose agents connect to servers on their own — call /check before trusting a tool set.
Registries and directoriesthat want more than stars and download counts — show when a listing's tools last changed.
Server authorswho want to show a stable, documented history — add the badge, and every change you ship is dated in public.

Four words used on this page

Tool definitions
The name, description and input schema of each tool a server offers — the text your model reads.
Pinned
HISTOR has recorded a fingerprint (digest) of the exact definitions it saw, so any later change is detectable.
Label
One signed statement about one observation: what was seen, what matched, whether it changed. Anyone can verify it offline.
Signed tree head
The log's signed summary after each crawl. Comparing two of them proves nothing was deleted or rewritten in between.

Read → digest → label → append → sign → compare

How the log works

Six steps, every one of them checkable by someone who does not trust HISTOR. The only thing you have to take on faith is that the observation happened when the label says it did — and the log makes it impossible to change that story afterwards.

01

Read

Remote endpoints in the official MCP registry: initialize, then tools/list, drained across every page; no tool is called, and private addresses are refused before the connection opens. npm and PyPI packages: installed and started in the sandbox described below, with no route out.

02

Digest

The tool set is reduced to name, description, input and output schema, sorted by UTF-16 code units and hashed over its RFC 8785 canonical form. Anyone holding the same tools gets the same digest — which is what makes a comparison possible.

03

Label

Four MTL/1 methods, one signed AWR/2 document each: what was observed, what the WARDEN pattern set matched, whether the definitions changed since the last label, and whether the name is on a threat list. No score, ever.

04

Append

Every label becomes a leaf of an RFC 9162 Merkle tree: leaf hash = SHA-256(0x00 ‖ JCS(label)). The label you download is the leaf input, so you can recompute its hash yourself.

05

Sign

After each crawl HISTOR signs a tree head: the size and the root. Keep yesterday's head; ask for a consistency proof to today's; if anything was removed or rewritten, the proof fails.

06

Compare

Each day a continuity label compares the new digest with the last one. Equal: "unchanged since". Different: a change, with the date and a per-tool diff. A client that checks what it received adds the view no crawler has.

Where an npm or PyPI package is run

Test conditions

A package observation is true for these conditions, and no others. Every package page names the exact image it ran in and any configuration it was given.

System

Linux x86_64, inside gVisor (runsc): the package talks to a kernel written for sandboxing, not to the host's. An unprivileged user, no capabilities, a read-only root.

Runtimes

npm packages in histor-node:22, PyPI packages in histor-python:3.12: the official node:22-bookworm-slim and python:3.12-slim images plus bash, git, Python 3 or Node 22 and a Java 21 runtime — never Docker — built when a sandbox host is installed. A package whose Requires-Python excludes 3.12 runs on histor-python:3.13 or 3.14; one that requires a newer Node runs again on histor-node:24. The exact image a package ran in is on its page.

Install

npm with --ignore-scripts, then the install scripts in a traced stage of their own. PyPI: wheels only — a package that ships only source is reported, never built.

Network

No route out. Every name the package looks up resolves to HISTOR's own traps, which record what was sent and forward nothing. A server that needs the internet to start shows that here.

Secrets

None are real. Decoy credentials sit in HOME and a decoy .env in the working directory. A variable the package says it needs gets a placeholder; where the placeholder was sent is recorded.

Limits

512 MB of memory, one CPU, 64 MB of /tmp. 360 s to install, 150 s to start and answer; up to 15 tools called once each with canary arguments, 8 s per call.

Configuration

Only names: required variables its registry entry declares or that it printed when it exited, and a start argument such as serve when its usage text offers one. Never a value from anyone else.

What a label does not say

The profile HISTOR implements forbids the words safe, secure, audited, certified, approved and trusted. Here is why, in the terms of what the log can and cannot show.

Not a safety rating

A pattern match is a reason to read a definition, not a finding. Three of the four methods can never return fail. There is no score to rank by, because no score HISTOR could compute would mean what a reader takes it to mean.

Not the code

Labels are about advertised text. A remote endpoint's source is never read and its tools are never invoked; a package runs only in the sandbox, against nothing real. A server can keep identical definitions and behave differently for real users; the log cannot see that, and says so inside every label.

A change is not an accusation

A version bump changes definitions too. A change is shown as a date and a diff, in amber, never red. What you do with it is yours: re-read, re-approve, or pin the old digest.

A package as run here, not on your machine

An npm or PyPI server is observed under the test conditions above: Linux, no internet, placeholder keys. One that needs Windows, a real account or the network may show fewer tools or none; its page says why it exited.

One operator, one key

Today one party runs the log. A second observer on another network is the next step, and any AIMarket hub can run one. Until then, what the key proves is who said it — not that it is true.

Behind a login, unseen

Endpoints that require authentication answer 401 to everyone without a key, including HISTOR. They are counted and listed as not observed, never dropped from the numbers.

Other logs, the same servers

Outside checks

HISTOR is not the only public record of MCP tool definitions. Where another log publishes its reads, the two are compared on the same servers and days, and the result is published both ways, with HISTOR's own misses.

ScraperWatch

A daily diff of a fixed panel of about 3,000 remote endpoints. HISTOR compares each of their published days with its own reads, and ScraperWatch shows the result on its page under "Outside check". The first comparison found a robots.txt parsing limit on their side and a handshake regression on HISTOR's; both were fixed the same day.

scraperwatch.com/mcp-changes
/datasets/peers/scraperwatch/latest

heldfast

An open daily record of the tool definitions of the servers in the official MCP registry. Of the 23,190 servers both logs recorded on 26 October 2026, 21,215 had every field in both; on those, 97.9% of servers and 99.1% of tools were identical byte for byte, and each difference has a stated cause: package versions, read times, failed reads, a first page only, an older protocol.

github.com/rufat325/heldfast
/datasets/interop-digests-2026-10-31

For clients, registries and server authors

Use it

Before your agent trusts a server, send the tools it received. The answer is signed by the log's did:key and names the tree head it was given under.

curl -sS https://histor.modelmarket.dev/api/v1/check \
  -H 'Content-Type: application/json' \
  -d '{"endpoint":"https://example.com/mcp","tools":[ …tools/list result… ],"contribute":true}'
# -> {"type":"histor.check/v1","match":"same"|"different"|"previously-observed"|"same-other-revision"|…,
#     "observed":{"unchangedSince":"…","changes":0}, "patternScan":{…}, "signature":{…}}

# Only looking a server up: a GET with its endpoint (writes nothing)
curl -sS "https://histor.modelmarket.dev/api/v1/check?endpoint=https://example.com/mcp"

# README badge for your server
[![MCP tool defs](https://histor.modelmarket.dev/badge/<id>.svg)](https://histor.modelmarket.dev/s/<id>)

# Atom feed of every observed change
https://histor.modelmarket.dev/feed.xml
WARDENchecks definitions at connect
HISTORremembers what was advertised
THEMISadmits at publish
Hublists histor.check@v1
AWRthe signed format

Questions

Is this a marketplace listing?

No. The server list is the log's index: every remote endpoint in the official MCP registry, with what HISTOR could observe about it. Nothing here is for sale and nothing is ranked by quality.

Does HISTOR tell me a server is safe?

No, and it never will. It tells you what a server advertised, whether that changed, and which published patterns matched the text. Whether to trust the server is your decision — HISTOR makes sure you decide on the same facts as everyone else.

Why are so many servers "not observed"?

Most remote MCP endpoints require a login (they answer 401 to anyone without a key), some use the legacy SSE transport or need per-user values in the URL, and some are simply down. They stay on the list with the reason, so the numbers never hide them.

How do I check a server I already use?

Open the Check tab, paste the server's endpoint and the tools/list result your client received, and press Check. You get back, signed, whether HISTOR observed the same definitions — or different ones, or an older set.

What does HISTOR record when a tool definition changes?

HISTOR records tool names, descriptions and input schemas from tools/list, plus any output schemas the server returns. Each change compares the newly observed list with the previous list from the same server. A full diff shows tools added or removed, word-level edits to descriptions, and old and new schema values at the JSON paths that changed. If either observation has only names, the diff is limited to names. HISTOR tracks annotations such as readOnlyHint separately when it captures them.

Browse observed changes · Example diff (JSON) · Original question on DEV

How do I get a badge for my server?

Find your endpoint on the Servers tab, open it, and copy the Markdown snippet under the facts. The badge shows the date your definitions were pinned or last changed, and links to the full history.

Why should I trust HISTOR itself?

You do not have to. Every label and every tree head is signed with one published key; the Log tab proves in your browser that the log only grew; and the command-line auditor does the same from any machine. What remains is that one operator runs it today — a second, independent observer is the next step.

What does it cost?

Looking things up, the badges, the feed and /check are free. HISTOR also offers histor.check@v1 to the AIMarket Hub, so agents can reach it through the market.

I run an MCP server. What does HISTOR send it, and how do I opt out?

Every 6 hours, and every 30 minutes for a week once its tools have changed twice in a week. First it reads /robots.txt (RFC 9309, product token histor, about once a day per site): a path that file does not allow HISTOR is not read, and its page here says so. Otherwise server/discover and tools/list (MCP 2026-07-28), or, for a server without that, initialize, notifications/initialized and tools/list — never a tool call, never a redirect followed on the MCP path, at most two connections per host, from a User-Agent that starts with histor/. To keep HISTOR out, disallow your MCP path for User-agent: histor (or for all crawlers); to let HISTOR alone in, add User-agent: histor with an Allow line for that path. An issue on the histor repository with your endpoint or host also works: it is then listed as not observed (operator-opt-out), with the reason, rather than silently dropped. Labels already in the log stay: the log only grows.