MyFitnessGuide MCP Server
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
MyFitnessGuide
A household nutrition and training tracker. It shows whether your current choices are moving you in the direction you want, while leaving every decision to you.
It runs as a Cloudflare Worker with D1, reached through an MCP server, with a phone web app. A household is the unit of tenancy: members share meals and a kitchen, train at their own gyms, and each member's health data is visible only to its owner.
Part | Where | Does |
Remote MCP |
| Member access from ChatGPT and other OAuth-capable MCP clients |
Privileged MCP adapter |
| Local administration and unattended jobs (README) |
Coaching skills |
| Optional Claude Code guidance for privileged workflows |
Worker API and D1 |
| Every rule, check and computation, behind Cloudflare Access (ACCESS.md) |
Domain rules |
| Pure TypeScript rules: loads, progression, nutrition, body |
Importer |
| A one-time Sheets → D1 import, with rulings and a parity report |
Web app |
| The phone PWA (README) |
Legacy skills |
| The Sheets-era skill package, kept while the archives are frozen |
Run it locally
npm install
npx playwright install chromium # once per machine, for the browser suite
npm test # every workspace's unit tests, then the browser suite's fast subset
npm run test:e2e -w @myfitnessguide/web # the full browser suite (about 30 minutes)The Worker tests run against a local D1. npm test copies the example configs
(app/worker/wrangler.example.jsonc, app/worker/wrangler.oauth.example.jsonc)
into place when the real ones are missing, so a fresh clone needs no Cloudflare
account. The local browser suite seeds a sample household on a fixed clock.
Each browser-suite run leaves its summary (verdict, counts, timings, layout
findings) in $TMPDIR/myfitnessguide-e2e-last/<mode>.json; see
app/web/README.md.
The layout gate (npm run test:layout -w @myfitnessguide/web, about five
minutes) checks every screen at eight widths in light and dark. It is a manual
step here; there are no repository hooks.
Related MCP server: set-and-signal
Deploying your own
Deployment identifiers live in local-only files that are gitignored:
app/worker/wrangler.jsonc and app/worker/wrangler.oauth.jsonc. Copy the
.example.jsonc templates and fill in your account, D1 database, Access
application and service tokens. app/worker/ACCESS.md
is the runbook: D1 creation, Access policies, service tokens, and the deploy
gate.
Connect a member
A deployed instance exposes its OAuth MCP endpoint at the Worker's origin plus
/mcp:
https://<your-worker>.workers.dev/mcpThe browser sign-in identifies the member and the server exposes the tools that member may use. No repository checkout, Node installation, service token, or local MCP process is needed.
The privileged adapter is separate: it talks to the Worker with a Cloudflare
Access service token from ~/.config/myfitnessguide/access-service-token.json
and is documented in app/mcp/README.md.
Docs
CONTEXT.md: the domain glossarydocs/design/PRODUCT.md: product truths and anti-goalsdocs/design/DESIGN.md: the design systemdocs/design/: screen mockups for the redesign and the food proposalsDECISIONS.mdin each package: the numbered rulings behind the code
A note on names
The project is MyFitnessGuide / myfitnessguide. A few deployed resource
names still say gym-tracker (the D1 database, the OAuth Worker, one service
token, and the local backup job). They are kept because renaming live Cloudflare
resources would break existing clients for no user-visible gain. New code uses
myfitnessguide.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Connect AI agents to Filepad workspaces through OAuth MCP.
Hosted MCP server with managed OAuth for 15+ toolkits: Google Workspace, Fitbit, Oura, Kalshi, etc.
OAuth MCP for Google, Meta, X, LinkedIn, Reddit, TikTok, GSC, GA4, WordPress and GHL.
Remote MCP server for training, nutrition, wellness, and performance data with OAuth 2.0.
Related MCP Servers
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients like Codex and Claude Code to securely read and manage a personal Cronometer account, including food logs, nutrient summaries with missing-data awareness, food search, biometrics, and export analysis.MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to connect to a privacy-first, self-hostable workout planning and training log, allowing coaching agents to preview and apply program changes while accessing training data through OAuth-protected endpoints.AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables existing apps to expose their users and data to external AI agents via MCP with OAuth 2.1 authentication and scoped tools.29 npmMIT
- AlicenseNot gradedqualityCmaintenanceEnables ChatGPT and other MCP clients to securely read Health Connect-derived health and training history, retrieve daily readiness and workout briefs, save schema-validated coach reports, and trigger email delivery through OAuth-protected tools.1MIT