A self-hosted nutrition tracker that measures your real TDEE,
and lets an AI coach change your plan only with your yes.
Features · Try it · Self-hosting · AI coach · How the numbers work · Discussions
The screenshots show tdeemon user demo: three months of made-up
data. More in the tour.
Calorie apps estimate what you burn from a formula, and leave you to guess why the scale won't move. tdeemon measures your TDEE from what you eat and how your trend weight moves, tells you whether your cut, maintenance, bulk or recomp is on pace, and changes your targets only through proposals you accept, within limits enforced in code.
It is made to work with an AI coach. Tell Claude, Codex or a local model "I had 200 g of skyr and a banana", and tdeemon finds the foods, logs them and does every sum. The model never does the arithmetic, and it can't push your plan past your limits.
flowchart LR
you([You, in the app]) -- meals, weigh-ins --> core[(tdeemon<br>one binary, SQLite)]
coach([An AI coach<br>over MCP]) -- meals, questions --> core
health([Apple Health<br>via Health Auto Export]) -- weight, sleep, workouts --> core
core -- measured TDEE,<br>verdict on the phase --> review{Weekly review:<br>autopilot or coach}
review -- a proposal --> you
you -- accept or reject --> core
- Log meals in the app (search, barcode, a recipe's portion, an estimate), or just tell your AI coach.
- Measure. After a few weeks tdeemon knows your real TDEE, ± its interval, and whether your phase is on pace.
- Adjust. Each week the autopilot, or your coach, proposes a change within your limits. You accept or reject it, and can take it back.
- Search and a tray: your foods first, then the ones you eat at this meal; yesterday's meal again in one tap.
- Barcodes from the camera, with Open Food Facts for a product you don't have.
- Recipes weighed by the pot, logged as a portion or a share of the dish.
- A measured TDEE with its interval and a verdict on your phase, every number explained (methodology).
- A plan with limits: phases, targets by type of day, and floors the code enforces (limits).
- Autopilot: a weekly review that steps your target, or asks first.
- An MCP server with 23 tools, three coaching sessions and the methodology, for Claude, Codex, Hermes or a local model (AI coach).
- Proposals, not edits: the AI suggests, you decide, and any change can be undone.
- One container, one SQLite file; export everything as a ZIP of JSON and CSV.
- Apple Health through Health Auto Export, and a morning summary and alarms as push notifications or on Telegram.
- Several users and households: a shared kitchen, each person's plan their own.
- An installable app (PWA), light and dark, in English and Croatian, and quick with a keyboard on a desktop.
The full tour, with screenshots →
tdeemon fits if you want to run it yourself, you weigh most of what you eat, and you like the idea of an AI coach that can't fudge the math. It is not for you (yet) if you need imperial units, an Android health integration, a hosted service, or ChatGPT's or claude.ai's connectors, which sign in with OAuth that tdeemon doesn't offer yet (what it doesn't do).
To look around with made-up data on your own machine, with Docker:
(umask 077 && printf 'TDEEMON_BASE_URL=http://localhost:8080\nTDEEMON_SECRET_KEY=%s\n' \ "$(openssl rand -base64 32)" > try.env) docker run -d --name tdeemon-try --env-file try.env -v tdeemon-try:/data \ -p 127.0.0.1:8080:8080 ghcr.io/tdeemon/tdeemon:latest until docker exec tdeemon-try /tdeemon healthcheck 2>/dev/null; do sleep 1; done docker exec tdeemon-try /tdeemon user demo --email [email protected]
Open http://localhost:8080 and sign in as [email protected] with the
password the last command printed. When you are done:
docker rm -f tdeemon-try && docker volume rm tdeemon-try && rm try.env.
With Docker and Compose, on the machine that will run it:
mkdir tdeemon && cd tdeemon base=https://raw.githubusercontent.com/tdeemon/tdeemon/main/deploy/compose curl -fsSLO "$base/compose.yaml" -O "$base/compose.caddy.yaml" -O "$base/Caddyfile" -O "$base/.env.example" # The address it will have, such as https://tdeemon.example.com; # http://localhost:8080 to try it on this machine. url=http://localhost:8080 # The settings, readable by you only, with a new secret key. Keep the key. # set -C refuses to replace an existing .env, so running this again keeps it. (umask 077 && set -C && sed -e "s|^TDEEMON_SECRET_KEY=\$|TDEEMON_SECRET_KEY=$(openssl rand -base64 32)|" \ -e "s|^TDEEMON_BASE_URL=.*|TDEEMON_BASE_URL=$url|" .env.example > .env) docker compose up -d --wait docker compose exec tdeemon /tdeemon user create --admin --email [email protected]
The last command prints your password once. Open the base URL and sign in; the first steps on the day take you to a plan.
tdeemon then listens on 127.0.0.1:8080. For HTTPS, put your reverse
proxy in front of it, or let Caddy do it: uncomment COMPOSE_FILE in
.env and run docker compose up -d --wait again
(Docker Compose).
- Features: a tour of the app, with screenshots.
- Self-hosting: configuration, users, devices, backups and upgrades.
- AI coach: connecting an MCP client, the tools and the coaching sessions.
- Methodology: how the numbers come about.
- Limits: the limits of a plan and their sources.
- Design: the design and why it is so.
- Discussions: questions, ideas, and setups to show.
- Contributing, and security: report a vulnerability privately.
tdeemon is stable and runs every day for its author. Each release says what changed in its notes, and a change that needs something of you raises the major version.
tdeemon is not medical advice. Talk to a professional before making significant changes to your diet or training.
AGPL-3.0-only. Contributions come under the same licence, with no CLA to sign (CONTRIBUTING.md).