Repository avatar
Monitoring
v1.0.0
active

peakfade

com.peakfade/peakfade

Log and read GLP-1 and other medication doses, estimated levels, weight, side effects and body data.

Documentation

Peakfade

Peakfade is a free web app for people on GLP-1 medicines such as semaglutide and tirzepatide, and for any other medication or supplement. Log your doses, plan ahead and see an estimated level over time, next to your weight, side effects, how you feel and body data such as resting heart rate, HRV and sleep.

It runs at peakfade.com. This repository holds the source code of the app at app.peakfade.com.

Connect an AI assistant

Peakfade has a hosted MCP server. In Claude, ChatGPT or another compatible assistant, add a custom connector with this address:

https://api.peakfade.com/mcp

Sign in at app.peakfade.com when prompted (OAuth), then choose the permissions: Read lets the assistant answer questions about your records, Write lets it log entries or change plans, and Delete lets it remove individual items. Peakfade never calls the AI on its own. You can review or disconnect the connection in Settings at any time. Full guide: peakfade.com/connect.

What's here

  • app/server/: the Cloudflare Worker (accounts and sign-in, logs, plans, reminders, coach sharing, the REST API and the MCP server for Claude, ChatGPT and other AI assistants, Garmin and Intervals.icu connections).
  • app/migrations/: the D1 (SQLite) database schema, applied in numeric order.
  • app/public/: the web app. Plain JavaScript modules, no framework and no build step.
  • app/mcp-ui/: the level chart shown inside AI assistants.
  • app/test/ and app/scripts/: the test suite and the static preview generator.
  • app/README.md: the technical reference (data model, scheduling rules, level model, API and MCP).
  • app/DEPLOY.md: deployment notes, including release history from Peakfade's own deployment.

The website's calculators and pages are not in this repository yet.

Run the tests

You need Node.js 22.13 or later (tested with 24.20). There are no npm dependencies.

cd app
node scripts/preview.mjs   # writes static previews to ../preview
node scripts/test.mjs      # runs the full suite and writes ../TEST_LOG.txt

Running your own copy

app/wrangler.jsonc is a template with placeholders. Keep your filled-in configuration in a private wrangler.deploy.jsonc next to it (it is ignored by git) and follow app/DEPLOY.md. Create the D1 database with EU jurisdiction if you keep the app's "stored in the EU" text.

Related

Peakfade's wellness signals and body weight trend follow the rules of Section 11, an open protocol for AI endurance coaching by the same author (section11.net).

Licence

Copyright (C) 2026 CrankAddict.

The code is licensed under the GNU Affero General Public License v3.0 (AGPL-3.0); see LICENSE. If you run a modified version as a network service, you must offer its source code to its users.

Name and logo

The name "Peakfade" and the Peakfade logo are not covered by the licence. If you run your own copy, please give it a different name and logo.

Feedback

Bug reports and ideas are welcome as GitHub issues or at support@peakfade.com. Code contributions are not accepted yet.

Medicine levels in Peakfade are model estimates from published values, not medical advice.

No installation packages available.

Remote